Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b0c110b9 authored by hhakim's avatar hhakim
Browse files

Temporarily disable tests building on Windows.

parent 0184446f
Branches
No related tags found
No related merge requests found
...@@ -65,13 +65,15 @@ if(EIGEN3_INCLUDE_DIR) ...@@ -65,13 +65,15 @@ if(EIGEN3_INCLUDE_DIR)
set(GM_SCALAR_FILE build/test_gm_${GM_SCALAR}.cpp) set(GM_SCALAR_FILE build/test_gm_${GM_SCALAR}.cpp)
set(TEST_PROG test_gm_${GM_SCALAR}) set(TEST_PROG test_gm_${GM_SCALAR})
configure_file(test/test_gm.cpp.in ${GM_SCALAR_FILE}) configure_file(test/test_gm.cpp.in ${GM_SCALAR_FILE})
add_executable(${TEST_PROG} ${GM_SCALAR_FILE})
if(WIN32) if(WIN32)
target_link_libraries(${TEST_PROG} PRIVATE gm) # add_executable(${TEST_PROG} ${GM_SCALAR_FILE})
# target_link_libraries(${TEST_PROG} PRIVATE gm)
# target_include_directories(${TEST_PROG} PRIVATE src ${EIGEN3_INCLUDE_DIR} ${Eigen3_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR} test)
else() else()
add_executable(${TEST_PROG} ${GM_SCALAR_FILE})
target_link_libraries(${TEST_PROG} PRIVATE gm dl) target_link_libraries(${TEST_PROG} PRIVATE gm dl)
target_include_directories(${TEST_PROG} PRIVATE src ${EIGEN3_INCLUDE_DIR} ${Eigen3_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR} test)
endif() endif()
target_include_directories(${TEST_PROG} PRIVATE src ${EIGEN3_INCLUDE_DIR} ${Eigen3_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR} test)
# ${EIGEN3_INCLUDE_DIR} is available if Eigen3 is installed on the system in the standard way (for example: headers in /usr/include) # ${EIGEN3_INCLUDE_DIR} is available if Eigen3 is installed on the system in the standard way (for example: headers in /usr/include)
# ${Eigen3_DIR} is available if the eigen sources were built on the systme (with cmake) # ${Eigen3_DIR} is available if the eigen sources were built on the systme (with cmake)
endforeach() endforeach()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment