Touchup to cmake project file to prevent error msg in OS X
This commit is contained in:
parent
7cc6a3cab9
commit
4713325877
@ -2,13 +2,13 @@ cmake_minimum_required(VERSION 2.6)
|
|||||||
|
|
||||||
project(chaiscript)
|
project(chaiscript)
|
||||||
|
|
||||||
SET (CMAKE_BUILD_TYPE gdb)
|
#SET (CMAKE_BUILD_TYPE gdb)
|
||||||
SET (CMAKE_C_FLAGS_GDB " -Wall -ggdb")
|
#SET (CMAKE_C_FLAGS_GDB " -Wall -ggdb")
|
||||||
SET (CMAKE_CXX_FLAGS_GDB " -Wall -ggdb")
|
#SET (CMAKE_CXX_FLAGS_GDB " -Wall -ggdb")
|
||||||
|
|
||||||
#SET (CMAKE_BUILD_TYPE rel)
|
SET (CMAKE_BUILD_TYPE rel)
|
||||||
#SET (CMAKE_C_FLAGS_REL " -Wall -O3")
|
SET (CMAKE_C_FLAGS_REL " -Wall -O3")
|
||||||
#SET (CMAKE_CXX_FLAGS_REL " -Wall -O3")
|
SET (CMAKE_CXX_FLAGS_REL " -Wall -O3")
|
||||||
|
|
||||||
include_directories(include)
|
include_directories(include)
|
||||||
|
|
||||||
@ -19,7 +19,8 @@ if (Boost_FOUND)
|
|||||||
#add_executable(dispatchkit_test contrib/test/dispatchkit_test.cpp)
|
#add_executable(dispatchkit_test contrib/test/dispatchkit_test.cpp)
|
||||||
target_link_libraries(chaiscript_eval dl ${Boost_LIBRARIES})
|
target_link_libraries(chaiscript_eval dl ${Boost_LIBRARIES})
|
||||||
|
|
||||||
add_library(test MODULE src/test_module.cpp)
|
add_library(test MODULE src/test_module.cpp)
|
||||||
|
target_link_libraries(test ${Boost_LIBRARIES})
|
||||||
|
|
||||||
install(TARGETS chaiscript_eval DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/bin)
|
install(TARGETS chaiscript_eval DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/bin)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user