mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 04:26:55 -06:00
Support compiling files that are in the attic
Since these files are not actively maintained, we don't assume that the project actually has any, nor are they part of the default build.
This commit is contained in:
parent
522acace31
commit
78118e21e3
@ -65,6 +65,9 @@ macro (opm_sources opm)
|
||||
foreach (_file IN LISTS PROGRAM_SOURCE_FILES)
|
||||
list (APPEND examples_SOURCES_DIST ${PROJECT_SOURCE_DIR}/${_file})
|
||||
endforeach (_file)
|
||||
foreach (_file IN LISTS ATTIC_FILES)
|
||||
list (APPEND attic_SOURCES ${PROJECT_SOURCE_DIR}/${_file})
|
||||
endforeach (_file)
|
||||
|
||||
# identify pre-compile header; if the project is called opm-foobar,
|
||||
# then it should be in opm/foobar/opm-foobar-pch.hpp
|
||||
|
@ -179,6 +179,11 @@ if (BUILD_EXAMPLES)
|
||||
opm_compile_satellites (${project} examples "" "")
|
||||
endif (BUILD_EXAMPLES)
|
||||
|
||||
# attic are programs which are not quite abandoned yet; however, they
|
||||
# are not actively maintained, so they should not be a part of the
|
||||
# default compile
|
||||
opm_compile_satellites (${project} attic EXCLUDE_FROM_ALL "")
|
||||
|
||||
# infrastructure for testing
|
||||
enable_testing ()
|
||||
include (CTest)
|
||||
|
Loading…
Reference in New Issue
Block a user