Skip to content

Commit

Permalink
ignore the file with official CEC22 code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Rusin committed Nov 8, 2023
1 parent 55cb9c9 commit 0a784cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ endfunction()
# Add all tests in single executable
file(GLOB SOURCES cpp/*/*.cpp)

# Remove set_cec_problems.cpp as we don't want to compile it
set(CEC_PROBLEMS_CPP "${CMAKE_CURRENT_SOURCE_DIR}/cpp/problem/set_cec_problems.cpp")
list(REMOVE_ITEM SOURCES "${CEC_PROBLEMS_CPP}")

# Remove MKLandscape if it is not enablecd
if(NOT ENABLE_MKLANDSCAPE_PROBLEMS)
get_filename_component(MKLANDSCAPE_CPP ${CMAKE_CURRENT_SOURCE_DIR}/cpp/problem/test_mklandscape_problem.cpp ABSOLUTE)
Expand Down

0 comments on commit 0a784cf

Please sign in to comment.