mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
commit
5791ca80bf
|
@ -1,6 +1,10 @@
|
|||
cmake_minimum_required(VERSION 3.1)
|
||||
project(xlnt_all)
|
||||
|
||||
# CTest setup
|
||||
# include (CTest) # Add this for valgrind support; CTest works without it
|
||||
enable_testing()
|
||||
|
||||
# This indicates to CMakeLists in subdirectories that they are part of a larger project
|
||||
set(COMBINED_PROJECT TRUE)
|
||||
|
||||
|
|
|
@ -78,3 +78,6 @@ if(MSVC AND NOT STATIC)
|
|||
$<TARGET_FILE:xlnt>
|
||||
$<TARGET_FILE_DIR:xlnt.test>)
|
||||
endif()
|
||||
|
||||
# Use add_test() for CTest support
|
||||
add_test(NAME xlnt_test COMMAND xlnt.test)
|
Loading…
Reference in New Issue
Block a user