Skip to content
Snippets Groups Projects
Commit 66dfd488 authored by Martin Nolte's avatar Martin Nolte Committed by Robert K
Browse files

[cmake][cleanup] remove SUBDIRS variable from autotools conversion

parent 1febdccd
No related branches found
No related tags found
No related merge requests found
set(SUBDIRS callback dgf loadbalance backuprestore communication testEfficiency)
add_subdirectory(backuprestore)
add_subdirectory(callback)
add_subdirectory(communication)
add_subdirectory(dgf)
add_subdirectory(loadbalance)
add_subdirectory(testEfficiency)
set(examplesdir ${CMAKE_INSTALL_INCLUDEDIR}/examples)
set(examples_HEADERS adaptation.hh
......@@ -38,11 +43,3 @@ foreach( variant ball euler transport )
endforeach()
install(FILES ${examples_HEADERS} DESTINATION ${examplesdir})
foreach(i ${SUBDIRS})
if(${i} STREQUAL "test")
set(opt EXCLUDE_FROM_ALL)
endif(${i} STREQUAL "test")
add_subdirectory(${i} ${opt})
unset(opt)
endforeach(i ${SUBDIRS})
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