mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Added CTest support
This commit is contained in:
parent
8f39375f4c
commit
bd84c7f576
|
@ -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)
|
||||
|
||||
|
|
|
@ -73,3 +73,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