Allow packages to add source code to the project

By returning a ${package}_SOURCES variable with the names of the code,
it will be propagated to ${project}_SOURCES and subsequently compiled
into the library.

AGMG (Algebraic Multigrid) uses this functionality.
This commit is contained in:
Roland Kaufmann 2013-08-07 00:08:43 +02:00
parent a2d4a32736
commit 6b5ce2e5a5

View File

@ -36,6 +36,7 @@ include (Duplicates)
# list of suffixes for all the project variables
set (_opm_proj_vars
SOURCES
LINKER_FLAGS
LIBRARIES
DEFINITIONS