Skip to content
Snippets Groups Projects
Commit a097e23f authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Merge branch 'BuildWithoutTest' into 'master'

Fix building without tests

Closes #54

See merge request !70
parents b25e0a6a 7aa8fb51
No related branches found
No related tags found
1 merge request!70Fix building without tests
Pipeline #4456 failed
......@@ -111,6 +111,10 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
endif()
endif()
#------------------------------------------------------------------------------
# Generate config.h file
configure_file(${CMAKE_SOURCE_DIR}/CMake/config.h.in ${CMAKE_BINARY_DIR}/config.h)
#------------------------------------------------------------------------------
# Documentation
find_package(Doxygen)
......
......@@ -8,8 +8,6 @@ set(VLA_MOCK_MS ${CMAKE_SOURCE_DIR}/test_data/VLA_MOCK.ms CACHE PATH "")
set(MWA_MOCK_MS ${CMAKE_SOURCE_DIR}/test_data/MWA_MOCK.ms CACHE PATH "")
set(MWA_COEFF_PATH ${CMAKE_SOURCE_DIR}/test_data/mwa_full_embedded_element_pattern.h5 CACHE PATH "")
configure_file(${CMAKE_SOURCE_DIR}/CMake/config.h.in ${CMAKE_BINARY_DIR}/config.h)
#------------------------------------------------------------------------------
set(TEST_FILENAMES
runtests.cc
......@@ -71,4 +69,4 @@ add_test(
set_tests_properties(
unittests PROPERTIES LABELS unit
FIXTURES_REQUIRED "unittests;mocks"
)
\ No newline at end of file
)
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