Skip to content
Snippets Groups Projects
Commit 4414f325 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Swap the order of compilation, first tests, then examples

parent 2fc9d621
No related branches found
No related tags found
1 merge request!104Ctest configuration
......@@ -481,12 +481,6 @@ INSTALL(DIRECTORY ${SPDLOG_INCLUDE_DIRS} DESTINATION "include/iri-algorithms/")
export(PACKAGE ${PROJECT_NAME})
IF(BUILD_EXAMPLES)
#Build examples & tests
MESSAGE("Building examples.")
ADD_SUBDIRECTORY(examples)
ENDIF(BUILD_EXAMPLES)
#############
## Testing ##
#############
......@@ -498,3 +492,9 @@ if(BUILD_TESTS)
endif()
IF(BUILD_EXAMPLES)
#Build examples & tests
MESSAGE("Building examples.")
ADD_SUBDIRECTORY(examples)
ENDIF(BUILD_EXAMPLES)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment