September 2018
Intermediate to advanced
606 pages
14h 32m
English
We will introduce small modifications in the CMake code, as shown here:
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
add_executable(cpp_test test.cpp)target_link_libraries(cpp_test sum_integers)include(testing)add_catch_test( NAME short LABELS short cpp_test COST 1.5 )add_catch_test( NAME long LABELS long cpp_test COST 2.5 )
function(add_catch_test) set(options) ...
Read now
Unlock full access