Skip to content
Snippets Groups Projects
Commit ab32d3c4 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

CMake: rm quotes

parent 415993a5
No related branches found
No related tags found
1 merge request!222Prepare Beam for refactoring of distribution handling
......@@ -2,7 +2,7 @@ include(GoogleTest) # provides gtest_discover_tests
set(test TestMinimizers)
file(GLOB source_files "*.cpp")
file(GLOB source_files *.cpp)
add_executable(${test} ${source_files} ${CMAKE_SOURCE_DIR}/Tests/GTestWrapper/TestAll.cpp)
target_include_directories(${test}
......
......@@ -2,7 +2,7 @@ include(GoogleTest) # provides gtest_discover_tests
set(test TestCoreConsistence)
file(GLOB source_files "*.cpp")
file(GLOB source_files *.cpp)
add_executable(${test} ${source_files} ${CMAKE_SOURCE_DIR}/Tests/GTestWrapper/TestAll.cpp)
......
......@@ -2,7 +2,7 @@ include(GoogleTest) # provides gtest_discover_tests
set(test TestCoreFitting)
file(GLOB source_files "*.cpp")
file(GLOB source_files *.cpp)
add_executable(${test} ${source_files} ${CMAKE_SOURCE_DIR}/Tests/GTestWrapper/TestAll.cpp)
target_include_directories(${test}
......
......@@ -5,10 +5,10 @@
set(OUTPUT_DIR ${TEST_OUTPUT_DIR_PY_CORE})
file(MAKE_DIRECTORY ${OUTPUT_DIR})
file(GLOB tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.py")
file(GLOB tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.py)
list(REMOVE_ITEM tests utils.py)
if(NOT BORNAGAIN_TIFF_SUPPORT)
list(REMOVE_ITEM tests "intensitydata_io_tiff.py")
list(REMOVE_ITEM tests intensitydata_io_tiff.py)
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/utils.py ${OUTPUT_DIR}/utils.py @ONLY)
......
......@@ -2,7 +2,7 @@ include(GoogleTest) # provides gtest_discover_tests
set(test TestPyEmbedded)
file(GLOB source_files "*.cpp")
file(GLOB source_files *.cpp)
add_executable(${test} ${source_files} ${CMAKE_SOURCE_DIR}/Tests/GTestWrapper/TestAll.cpp)
target_include_directories(${test}
......
......@@ -5,7 +5,7 @@
set(output_dir ${TEST_OUTPUT_DIR_PY_FIT})
file(MAKE_DIRECTORY ${output_dir})
file(GLOB tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.py")
file(GLOB tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.py)
foreach(_test ${tests})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${_test} ${output_dir}/${_test} COPYONLY)
......
......@@ -2,7 +2,7 @@ include(GoogleTest)
set(test UnitTestGUI)
file(GLOB source_files "*.cpp")
file(GLOB source_files *.cpp)
find_package(Qt5Core REQUIRED)
find_package(Qt5Test REQUIRED)
......
......@@ -21,5 +21,5 @@ install(CODE "MESSAGE(\"${after_install_text}\")")
endif()
# to show files in Qt creator
FILE(GLOB_RECURSE ScriptFiles "configurables/*.*")
FILE(GLOB_RECURSE ScriptFiles configurables/*.*)
add_custom_target(scripts SOURCES ${ScriptFiles})
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