matrix tests
This commit is contained in:
@@ -185,7 +185,7 @@ set(PIP_MAIN_FOLDERS)
|
||||
foreach(F ${PIP_FOLDERS})
|
||||
list(APPEND PIP_MAIN_FOLDERS "\"${PROJECT_SOURCE_DIR}/${PIP_SRC_MAIN}/${F}\"")
|
||||
include_directories("${PIP_SRC_MAIN}/${F}")
|
||||
gather_src("${PIP_SRC_MAIN}/${F}" CPP_LIB_MAIN HDRS PHDRS)
|
||||
gather_src("${PIP_SRC_MAIN}/${F}" CPP_LIB_MAIN HDRS PHDRS)
|
||||
endforeach(F)
|
||||
# Crypt lib
|
||||
gather_src("${PIP_SRC_CRYPT}" CPP_LIB_CRYPT HDRS PHDRS)
|
||||
@@ -216,6 +216,9 @@ gather_src("${PIP_SRC_CONCURRENT_TEST}" CPP_CONCURRENT_TEST HDRS PHDRS)
|
||||
# Cloud lib
|
||||
gather_src("${PIP_SRC_CLOUD}" CPP_LIB_CLOUD HDRS PHDRS)
|
||||
|
||||
#Math test lib
|
||||
gather_src("${PIP_SRC_MATH_TEST}" CPP_MATH_TEST HDRS PHDRS)
|
||||
|
||||
if(PIP_FREERTOS)
|
||||
add_definitions(-DPIP_FREERTOS)
|
||||
set(ICU OFF)
|
||||
@@ -605,13 +608,13 @@ if (NOT CROSSTOOLS)
|
||||
target_link_libraries(pip_concurrent_test gtest_main gmock_main pip_concurrent)
|
||||
add_test(NAME pip_concurrent_test COMMAND tests)
|
||||
add_custom_target(pip_concurrent_test_perform ALL COMMAND pip_concurrent_test)
|
||||
endif()
|
||||
if(MATH_TESTS)
|
||||
add_executable(pip_math_test ${CPP_MATH_TEST})
|
||||
target_link_libraries(pip_math_test gtest_main gmock_main pip_math)
|
||||
add_test(NAME pip_math_test COMMAND tests)
|
||||
add_custom_target(pip_math_test_perform ALL COMMAND pip_math_test)
|
||||
endif()
|
||||
endif()
|
||||
if(MATH_TESTS)
|
||||
add_executable(pip_math_test ${CPP_MATH_TEST})
|
||||
target_link_libraries(pip_math_test gtest_main gmock_main PIP)
|
||||
add_test(NAME pip_math_test COMMAND tests)
|
||||
#add_custom_target(pip_math_test_perform ALL COMMAND pip_math_test)
|
||||
endif()
|
||||
|
||||
# Build cloud library if crypt enabled
|
||||
if(sodium_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user