1 include(SourcesList.txt)
2 include(AddFileDependencies)
4 include_directories(${SYLPH_SOURCE_DIR}/src)
6 link_directories(${SYLPH_BINARY_DIR}/src ${SYLPH_SOURCE_DIR}/deps/gc)
9 add_definitions(${SYLPH_CONFIG_DEFS} -DSYLPH_DEBUG)
11 add_definitions(${SYLPH_CONFIG_DEFS})
14 add_executable( SylphTestExe EXCLUDE_FROM_ALL ${STEST_ALL_SRC})
15 target_link_libraries( SylphTestExe Sylph gtest )
16 add_custom_target(test SylphTestExe DEPENDS SylphTestExe)
18 set_target_properties(SylphTestExe PROPERTIES COMPILE_FLAGS
19 "-std=c++0x -Wno-main")