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-15 08:49:48 -05:00
|
|
|
opm/autodiff/BlackoilPropsAd.cpp
|
|
|
|
opm/autodiff/SimulatorIncompTwophaseAdfi.cpp
|
|
|
|
opm/autodiff/TransportSolverTwophaseAd.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
|
2013-05-15 09:08:56 -05:00
|
|
|
tests/test_block.cpp
|
|
|
|
tests/test_boprops_ad.cpp
|
|
|
|
tests/test_syntax.cpp
|
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
|
|
|
)
|
|
|
|
|
|
|
|
# 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
|
|
|
|
examples/sim_2p_incomp_adfi.cpp
|
|
|
|
examples/sim_simple.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-05-15 08:49:48 -05:00
|
|
|
examples/sim_2p_incomp_adfi.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
|
|
|
|
opm/autodiff/AutoDiffVec.hpp
|
|
|
|
opm/autodiff/BlackoilPropsAd.hpp
|
|
|
|
opm/autodiff/ImpesTPFAAD.hpp
|
|
|
|
opm/autodiff/SimulatorIncompTwophaseAdfi.hpp
|
|
|
|
opm/autodiff/TransportSolverTwophaseAd.hpp
|
2013-05-15 03:24:52 -05:00
|
|
|
)
|