Skip to content

Instantly share code, notes, and snippets.

View lefticus's full-sized avatar

Jason Turner lefticus

View GitHub Profile
@lucidguppy
lucidguppy / CMakeLists.txt
Created August 17, 2014 18:20
Create a chaiscript shared module and use it in the chaiscript repl
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)