xlnt/build/cmake/xlnt.test/CMakeLists.txt

17 lines
427 B
CMake
Raw Normal View History

project(xlnt.test)
2015-10-27 04:26:47 +08:00
include_directories(../../../include)
include_directories(../../../third-party/pugixml/src)
include_directories(../../../third-party/cxxtest)
2015-10-27 04:26:47 +08:00
add_executable(xlnt.test ../../../tests/runner-autogen.cpp)
2015-10-27 04:26:47 +08:00
target_link_libraries(xlnt.test xlnt)
2015-10-27 04:26:47 +08:00
add_custom_target (generate
COMMAND ../generate-tests.sh
COMMENT "Generating test runner tests/runner-autogen.cpp"
)
add_dependencies(xlnt.test generate)