mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-03 08:40:27 -06:00
added: hook for conditionally compiled files
backport from opm-upscaling PR#100
This commit is contained in:
parent
c5bbf19fce
commit
132657e478
@ -63,6 +63,9 @@ endmacro (sources_hook)
|
||||
macro (fortran_hook)
|
||||
endmacro (fortran_hook)
|
||||
|
||||
macro (files_hook)
|
||||
endmacro (files_hook)
|
||||
|
||||
macro (tests_hook)
|
||||
endmacro (tests_hook)
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
# fortran_hook Determine whether Fortran support is necessary or not
|
||||
# sources_hook Do special processing before sources are compiled
|
||||
# tests_hook Do special processing before tests are compiled
|
||||
# files_hook Do special processing before final targets are added
|
||||
|
||||
# include special
|
||||
if (CMAKE_VERSION VERSION_LESS "2.8.3")
|
||||
@ -108,6 +109,9 @@ include (UseDynamicBoost)
|
||||
# needed for Debian installation scheme
|
||||
include (UseMultiArch)
|
||||
|
||||
# Run conditional file hook
|
||||
files_hook()
|
||||
|
||||
# this module contains code to figure out which files is where
|
||||
include (OpmFiles)
|
||||
opm_auto_dirs ()
|
||||
|
Loading…
Reference in New Issue
Block a user