This required many time related include files, functions, and variables to be tested for via CMake, and converted to macros via #cmakedefine, so that they would be automatically set for the test-mktime.cxx file.
21 lines
314 B
CMake
21 lines
314 B
CMake
# Add each unit test category.
|
|
foreach( unit_test_category
|
|
general
|
|
Scripting
|
|
)
|
|
|
|
add_subdirectory(${unit_test_category})
|
|
|
|
endforeach( unit_test_category )
|
|
|
|
|
|
set(TESTSUITE_SOURCES
|
|
${TESTSUITE_SOURCES}
|
|
PARENT_SCOPE
|
|
)
|
|
|
|
|
|
set(TESTSUITE_HEADERS
|
|
${TESTSUITE_HEADERS}
|
|
PARENT_SCOPE
|
|
)
|