2013-05-15 10:24:52 +02: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-15 15:49:48 +02:00
|
|
|
opm/autodiff/BlackoilPropsAd.cpp
|
2013-05-22 10:56:14 +02:00
|
|
|
opm/autodiff/BlackoilPropsAdInterface.cpp
|
2014-05-12 11:06:42 +02:00
|
|
|
opm/autodiff/NewtonIterationBlackoilCPR.cpp
|
2014-04-08 16:11:08 +02:00
|
|
|
opm/autodiff/NewtonIterationBlackoilSimple.cpp
|
2014-02-20 13:08:10 +01:00
|
|
|
opm/autodiff/GridHelpers.cpp
|
2013-05-22 15:49:55 +02:00
|
|
|
opm/autodiff/ImpesTPFAAD.cpp
|
2013-05-22 22:53:40 +02:00
|
|
|
opm/autodiff/SimulatorCompressibleAd.cpp
|
2014-02-20 13:17:18 +01:00
|
|
|
opm/autodiff/SimulatorFullyImplicitBlackoilOutput.cpp
|
2013-09-19 14:52:39 +02:00
|
|
|
opm/autodiff/SimulatorIncompTwophaseAd.cpp
|
2013-05-15 15:49:48 +02:00
|
|
|
opm/autodiff/TransportSolverTwophaseAd.cpp
|
2013-06-09 20:40:57 +02:00
|
|
|
opm/autodiff/BlackoilPropsAdFromDeck.cpp
|
2014-01-24 15:54:01 +01:00
|
|
|
opm/autodiff/WellDensitySegmented.cpp
|
2014-05-23 13:40:44 +02:00
|
|
|
opm/autodiff/LinearisedBlackoilResidual.cpp
|
2013-05-15 10:24:52 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# originally generated with the command:
|
|
|
|
|
# find tests -name '*.cpp' -a ! -wholename '*/not-unit/*' -printf '\t%p\n' | sort
|
|
|
|
|
list (APPEND TEST_SOURCE_FILES
|
2013-05-15 16:08:56 +02:00
|
|
|
tests/test_block.cpp
|
|
|
|
|
tests/test_boprops_ad.cpp
|
2014-07-03 13:30:47 +02:00
|
|
|
tests/test_rateconverter.cpp
|
2013-05-24 16:07:51 +02:00
|
|
|
tests/test_span.cpp
|
2013-05-15 16:08:56 +02:00
|
|
|
tests/test_syntax.cpp
|
2013-08-01 15:43:21 +02:00
|
|
|
tests/test_scalar_mult.cpp
|
2014-07-24 16:01:06 +02:00
|
|
|
tests/test_transmissibilitymultipliers.cpp
|
2014-01-24 15:54:01 +01:00
|
|
|
tests/test_welldensitysegmented.cpp
|
2013-11-26 15:07:54 +01:00
|
|
|
)
|
2013-11-26 12:55:41 +01:00
|
|
|
|
2013-05-15 10:24:52 +02:00
|
|
|
list (APPEND TEST_DATA_FILES
|
2013-05-15 15:49:48 +02:00
|
|
|
tests/fluid.data
|
2013-05-15 10:24:52 +02:00
|
|
|
)
|
|
|
|
|
|
2013-11-26 15:15:35 +01: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 12:55:41 +01:00
|
|
|
if (INCLUDE_NON_PUBLIC_TESTS)
|
2013-11-26 15:07:54 +01:00
|
|
|
list (APPEND TEST_DATA_FILES
|
|
|
|
|
tests/non_public/SPE1_opm.DATA
|
|
|
|
|
tests/non_public/spe1.xml
|
|
|
|
|
)
|
2013-11-26 12:55:41 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
2013-05-15 10:24:52 +02:00
|
|
|
# originally generated with the command:
|
|
|
|
|
# find tutorials examples -name '*.c*' -printf '\t%p\n' | sort
|
|
|
|
|
list (APPEND EXAMPLE_SOURCE_FILES
|
2013-05-15 15:49:48 +02:00
|
|
|
examples/find_zero.cpp
|
2013-05-24 12:32:28 +02:00
|
|
|
examples/sim_fibo_ad.cpp
|
2013-05-22 22:53:40 +02:00
|
|
|
examples/sim_2p_comp_ad.cpp
|
2013-09-19 14:52:39 +02:00
|
|
|
examples/sim_2p_incomp_ad.cpp
|
2013-05-15 15:49:48 +02:00
|
|
|
examples/sim_simple.cpp
|
2014-11-26 14:54:20 +01:00
|
|
|
examples/opm_init_check.cpp
|
2013-05-15 10:24:52 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# programs listed here will not only be compiled, but also marked for
|
|
|
|
|
# installation
|
|
|
|
|
list (APPEND PROGRAM_SOURCE_FILES
|
2013-09-19 14:52:39 +02:00
|
|
|
examples/sim_2p_incomp_ad.cpp
|
2013-05-24 12:32:28 +02:00
|
|
|
examples/sim_fibo_ad.cpp
|
2014-11-26 14:54:20 +01:00
|
|
|
examples/opm_init_check.cpp
|
2013-05-15 10:24:52 +02: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 15:49:48 +02:00
|
|
|
opm/autodiff/AutoDiffBlock.hpp
|
|
|
|
|
opm/autodiff/AutoDiffHelpers.hpp
|
|
|
|
|
opm/autodiff/AutoDiff.hpp
|
|
|
|
|
opm/autodiff/BlackoilPropsAd.hpp
|
2013-06-09 20:40:57 +02:00
|
|
|
opm/autodiff/BlackoilPropsAdFromDeck.hpp
|
2013-05-22 10:56:14 +02:00
|
|
|
opm/autodiff/BlackoilPropsAdInterface.hpp
|
2014-05-14 15:52:01 +02:00
|
|
|
opm/autodiff/CPRPreconditioner.hpp
|
2014-12-02 10:38:21 +01:00
|
|
|
opm/autodiff/ConservativeSparseSparseProduct.h
|
2014-09-26 15:03:59 +02:00
|
|
|
opm/autodiff/DuneMatrix.hpp
|
2013-05-22 15:16:24 +02:00
|
|
|
opm/autodiff/GeoProps.hpp
|
2014-02-20 13:08:10 +01:00
|
|
|
opm/autodiff/GridHelpers.hpp
|
2013-05-15 15:49:48 +02:00
|
|
|
opm/autodiff/ImpesTPFAAD.hpp
|
2013-05-24 10:49:59 +02:00
|
|
|
opm/autodiff/FullyImplicitBlackoilSolver.hpp
|
2014-02-20 13:17:18 +01:00
|
|
|
opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp
|
2014-05-12 11:06:42 +02:00
|
|
|
opm/autodiff/NewtonIterationBlackoilCPR.hpp
|
2014-04-08 16:11:08 +02:00
|
|
|
opm/autodiff/NewtonIterationBlackoilInterface.hpp
|
|
|
|
|
opm/autodiff/NewtonIterationBlackoilSimple.hpp
|
2014-04-08 15:59:14 +02:00
|
|
|
opm/autodiff/LinearisedBlackoilResidual.hpp
|
2014-07-03 13:30:47 +02:00
|
|
|
opm/autodiff/RateConverter.hpp
|
2013-05-22 22:53:40 +02:00
|
|
|
opm/autodiff/SimulatorCompressibleAd.hpp
|
2013-05-24 11:40:58 +02:00
|
|
|
opm/autodiff/SimulatorFullyImplicitBlackoil.hpp
|
2014-02-20 13:17:18 +01:00
|
|
|
opm/autodiff/SimulatorFullyImplicitBlackoil_impl.hpp
|
2013-09-19 14:52:39 +02:00
|
|
|
opm/autodiff/SimulatorIncompTwophaseAd.hpp
|
2013-05-15 15:49:48 +02:00
|
|
|
opm/autodiff/TransportSolverTwophaseAd.hpp
|
2014-01-24 15:54:01 +01:00
|
|
|
opm/autodiff/WellDensitySegmented.hpp
|
2014-03-18 11:23:05 +01:00
|
|
|
opm/autodiff/WellStateFullyImplicitBlackoil.hpp
|
2013-05-15 10:24:52 +02:00
|
|
|
)
|