mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 17:26:55 +08:00
16 lines
415 B
CMake
16 lines
415 B
CMake
cmake_minimum_required(VERSION 2.6)
|
|
|
|
project(langkit)
|
|
|
|
SET (CMAKE_BUILD_TYPE gdb)
|
|
SET (CMAKE_C_FLAGS_GDB " -Wall -ggdb")
|
|
SET (CMAKE_CXX_FLAGS_GDB " -Wall -ggdb")
|
|
|
|
find_package( Boost 1.36.0 COMPONENTS regex)
|
|
if(Boost_FOUND)
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
|
|
add_executable(langkit_test langkit/main.cpp langkit/langkit_lexer.cpp)
|
|
target_link_libraries(langkit_test ${Boost_LIBRARIES})
|
|
endif()
|