2013-05-15 03:24:52 -05:00
|
|
|
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
|
|
|
|
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
|
|
|
|
|
|
|
|
# This file sets up five lists:
|
|
|
|
# MAIN_SOURCE_FILES List of compilation units which will be included in
|
|
|
|
# the library. If it isn't on this list, it won't be
|
|
|
|
# part of the library. Please try to keep it sorted to
|
|
|
|
# maintain sanity.
|
|
|
|
#
|
|
|
|
# TEST_SOURCE_FILES List of programs that will be run as unit tests.
|
|
|
|
#
|
|
|
|
# TEST_DATA_FILES Files from the source three that should be made
|
|
|
|
# available in the corresponding location in the build
|
|
|
|
# tree in order to run tests there.
|
|
|
|
#
|
|
|
|
# EXAMPLE_SOURCE_FILES Other programs that will be compiled as part of the
|
|
|
|
# build, but which is not part of the library nor is
|
|
|
|
# run as tests.
|
|
|
|
#
|
|
|
|
# PUBLIC_HEADER_FILES List of public header files that should be
|
|
|
|
# distributed together with the library. The source
|
|
|
|
# files can of course include other files than these;
|
|
|
|
# you should only add to this list if the *user* of
|
|
|
|
# the library needs it.
|
|
|
|
|
|
|
|
# originally generated with the command:
|
|
|
|
# find opm -name '*.c*' -printf '\t%p\n' | sort
|
|
|
|
list (APPEND MAIN_SOURCE_FILES
|
2013-05-22 03:56:14 -05:00
|
|
|
opm/autodiff/BlackoilPropsAdInterface.cpp
|
2015-01-28 08:37:07 -06:00
|
|
|
opm/autodiff/ExtractParallelGridInformationToISTL.cpp
|
2014-05-12 04:06:42 -05:00
|
|
|
opm/autodiff/NewtonIterationBlackoilCPR.cpp
|
2015-06-01 06:33:37 -05:00
|
|
|
opm/autodiff/NewtonIterationBlackoilInterleaved.cpp
|
2015-06-16 03:10:05 -05:00
|
|
|
opm/autodiff/NewtonIterationBlackoilSimple.cpp
|
|
|
|
opm/autodiff/NewtonIterationUtilities.cpp
|
2014-02-20 06:08:10 -06:00
|
|
|
opm/autodiff/GridHelpers.cpp
|
2013-05-22 08:49:55 -05:00
|
|
|
opm/autodiff/ImpesTPFAAD.cpp
|
2014-02-20 06:17:18 -06:00
|
|
|
opm/autodiff/SimulatorFullyImplicitBlackoilOutput.cpp
|
2013-09-19 07:52:39 -05:00
|
|
|
opm/autodiff/SimulatorIncompTwophaseAd.cpp
|
2013-05-15 08:49:48 -05:00
|
|
|
opm/autodiff/TransportSolverTwophaseAd.cpp
|
2013-06-09 13:40:57 -05:00
|
|
|
opm/autodiff/BlackoilPropsAdFromDeck.cpp
|
2015-05-24 10:33:06 -05:00
|
|
|
opm/autodiff/BlackoilModelParameters.cpp
|
2014-01-24 08:54:01 -06:00
|
|
|
opm/autodiff/WellDensitySegmented.cpp
|
2014-05-23 06:40:44 -05:00
|
|
|
opm/autodiff/LinearisedBlackoilResidual.cpp
|
2015-06-19 05:49:21 -05:00
|
|
|
opm/autodiff/VFPProperties.cpp
|
2013-05-15 03:24:52 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
# originally generated with the command:
|
|
|
|
# find tests -name '*.cpp' -a ! -wholename '*/not-unit/*' -printf '\t%p\n' | sort
|
|
|
|
list (APPEND TEST_SOURCE_FILES
|
2015-03-24 03:50:34 -05:00
|
|
|
tests/test_autodiffhelpers.cpp
|
2013-05-15 09:08:56 -05:00
|
|
|
tests/test_block.cpp
|
|
|
|
tests/test_boprops_ad.cpp
|
2014-07-03 06:30:47 -05:00
|
|
|
tests/test_rateconverter.cpp
|
2013-05-24 09:07:51 -05:00
|
|
|
tests/test_span.cpp
|
2013-05-15 09:08:56 -05:00
|
|
|
tests/test_syntax.cpp
|
2013-08-01 08:43:21 -05:00
|
|
|
tests/test_scalar_mult.cpp
|
2014-07-24 09:01:06 -05:00
|
|
|
tests/test_transmissibilitymultipliers.cpp
|
2014-01-24 08:54:01 -06:00
|
|
|
tests/test_welldensitysegmented.cpp
|
2015-06-17 05:47:38 -05:00
|
|
|
tests/test_vfpproperties.cpp
|
2013-11-26 08:07:54 -06:00
|
|
|
)
|
2013-11-26 05:55:41 -06:00
|
|
|
|
2013-05-15 03:24:52 -05:00
|
|
|
list (APPEND TEST_DATA_FILES
|
2013-05-15 08:49:48 -05:00
|
|
|
tests/fluid.data
|
2013-05-15 03:24:52 -05:00
|
|
|
)
|
|
|
|
|
2013-11-26 08:15:35 -06:00
|
|
|
# Note, these two files are not included in the repo.
|
|
|
|
# If enabling INCLUDE_NON_PUBLIC_TESTS, please add add symlink to the folder
|
|
|
|
# "non_public" containing these two files.
|
2013-11-26 05:55:41 -06:00
|
|
|
if (INCLUDE_NON_PUBLIC_TESTS)
|
2013-11-26 08:07:54 -06:00
|
|
|
list (APPEND TEST_DATA_FILES
|
|
|
|
tests/non_public/SPE1_opm.DATA
|
|
|
|
tests/non_public/spe1.xml
|
|
|
|
)
|
2013-11-26 05:55:41 -06:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
2013-05-15 03:24:52 -05:00
|
|
|
# originally generated with the command:
|
|
|
|
# find tutorials examples -name '*.c*' -printf '\t%p\n' | sort
|
|
|
|
list (APPEND EXAMPLE_SOURCE_FILES
|
2013-05-15 08:49:48 -05:00
|
|
|
examples/find_zero.cpp
|
2015-02-20 03:34:18 -06:00
|
|
|
examples/flow.cpp
|
2013-09-19 07:52:39 -05:00
|
|
|
examples/sim_2p_incomp_ad.cpp
|
2013-05-15 08:49:48 -05:00
|
|
|
examples/sim_simple.cpp
|
2015-02-11 05:46:11 -06:00
|
|
|
examples/opm_init_check.cpp
|
2013-05-15 03:24:52 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
# programs listed here will not only be compiled, but also marked for
|
|
|
|
# installation
|
|
|
|
list (APPEND PROGRAM_SOURCE_FILES
|
2013-09-19 07:52:39 -05:00
|
|
|
examples/sim_2p_incomp_ad.cpp
|
2015-02-20 03:34:18 -06:00
|
|
|
examples/flow.cpp
|
2014-11-26 07:54:20 -06:00
|
|
|
examples/opm_init_check.cpp
|
2013-05-15 03:24:52 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
# originally generated with the command:
|
|
|
|
# find opm -name '*.h*' -a ! -name '*-pch.hpp' -printf '\t%p\n' | sort
|
|
|
|
list (APPEND PUBLIC_HEADER_FILES
|
2013-05-15 08:49:48 -05:00
|
|
|
opm/autodiff/AutoDiffBlock.hpp
|
|
|
|
opm/autodiff/AutoDiffHelpers.hpp
|
|
|
|
opm/autodiff/AutoDiff.hpp
|
2015-02-11 05:46:11 -06:00
|
|
|
opm/autodiff/BackupRestore.hpp
|
2015-05-18 07:18:03 -05:00
|
|
|
opm/autodiff/BlackoilModel.hpp
|
2015-05-24 02:59:40 -05:00
|
|
|
opm/autodiff/BlackoilModelBase.hpp
|
|
|
|
opm/autodiff/BlackoilModelBase_impl.hpp
|
2015-05-25 16:06:03 -05:00
|
|
|
opm/autodiff/BlackoilModelEnums.hpp
|
2015-05-24 10:33:06 -05:00
|
|
|
opm/autodiff/BlackoilModelParameters.hpp
|
2013-06-09 13:40:57 -05:00
|
|
|
opm/autodiff/BlackoilPropsAdFromDeck.hpp
|
2013-05-22 03:56:14 -05:00
|
|
|
opm/autodiff/BlackoilPropsAdInterface.hpp
|
2014-05-14 08:52:01 -05:00
|
|
|
opm/autodiff/CPRPreconditioner.hpp
|
2014-12-17 04:39:51 -06:00
|
|
|
opm/autodiff/fastSparseProduct.hpp
|
2014-09-26 08:03:59 -05:00
|
|
|
opm/autodiff/DuneMatrix.hpp
|
2015-02-11 03:53:37 -06:00
|
|
|
opm/autodiff/ExtractParallelGridInformationToISTL.hpp
|
2013-05-22 08:16:24 -05:00
|
|
|
opm/autodiff/GeoProps.hpp
|
2014-02-20 06:08:10 -06:00
|
|
|
opm/autodiff/GridHelpers.hpp
|
2013-05-15 08:49:48 -05:00
|
|
|
opm/autodiff/ImpesTPFAAD.hpp
|
2014-05-12 04:06:42 -05:00
|
|
|
opm/autodiff/NewtonIterationBlackoilCPR.hpp
|
2014-04-08 09:11:08 -05:00
|
|
|
opm/autodiff/NewtonIterationBlackoilInterface.hpp
|
2015-06-01 06:33:37 -05:00
|
|
|
opm/autodiff/NewtonIterationBlackoilInterleaved.hpp
|
2014-04-08 09:11:08 -05:00
|
|
|
opm/autodiff/NewtonIterationBlackoilSimple.hpp
|
2015-06-16 03:10:05 -05:00
|
|
|
opm/autodiff/NewtonIterationUtilities.hpp
|
2015-05-19 06:05:22 -05:00
|
|
|
opm/autodiff/NewtonSolver.hpp
|
|
|
|
opm/autodiff/NewtonSolver_impl.hpp
|
2014-04-08 08:59:14 -05:00
|
|
|
opm/autodiff/LinearisedBlackoilResidual.hpp
|
2014-07-03 06:30:47 -05:00
|
|
|
opm/autodiff/RateConverter.hpp
|
2014-12-23 02:40:00 -06:00
|
|
|
opm/autodiff/RedistributeDataHandles.hpp
|
2015-05-29 09:18:56 -05:00
|
|
|
opm/autodiff/SimulatorBase.hpp
|
|
|
|
opm/autodiff/SimulatorBase_impl.hpp
|
2013-05-24 04:40:58 -05:00
|
|
|
opm/autodiff/SimulatorFullyImplicitBlackoil.hpp
|
2013-09-19 07:52:39 -05:00
|
|
|
opm/autodiff/SimulatorIncompTwophaseAd.hpp
|
2013-05-15 08:49:48 -05:00
|
|
|
opm/autodiff/TransportSolverTwophaseAd.hpp
|
2014-01-24 08:54:01 -06:00
|
|
|
opm/autodiff/WellDensitySegmented.hpp
|
2014-03-18 05:23:05 -05:00
|
|
|
opm/autodiff/WellStateFullyImplicitBlackoil.hpp
|
2015-03-25 06:17:13 -05:00
|
|
|
opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp
|
2013-05-15 03:24:52 -05:00
|
|
|
)
|
2015-03-25 06:17:13 -05:00
|
|
|
|