Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Turner lefticus

View GitHub Profile
@lucidguppy
lucidguppy / CMakeLists.txt
Created Aug 17, 2014
Create a chaiscript shared module and use it in the chaiscript repl
View CMakeLists.txt
cmake_minimum_required (VERSION 2.8)
add_definitions(-std=c++11)
project (ChaiTutorial)
add_library(myModule SHARED myModule.cpp)
list(APPEND LIBS ${READLINE_LIB})
include_directories(/usr/local/include)
install(TARGETS myModule DESTINATION /usr/local/lib/chaiscript)
You can’t perform that action at this time.