mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06:00
Adapt to CMake-based build system.
Specifically,
- #include <config.h> where appropriate (all .cpp files)
- Adjust include statements to account for sub-directory locations
of .hpp files.
This commit is contained in:
1 parent
d2f412e27a
commit
e0c85a2fdb
18 files changed
+43
-23
No files matched your search
@@ -33,7 +33,9 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "AutoDiff.hpp"
|
||||
#include <config.h>
|
||||
|
||||
#include <opm/autodiff/AutoDiff.hpp>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
||||
@@ -18,7 +18,9 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "ImpesTPFAAD.hpp"
|
||||
#include <config.h>
|
||||
|
||||
#include <opm/autodiff/ImpesTPFAAD.hpp>
|
||||
|
||||
#include <opm/core/grid.h>
|
||||
#include <opm/core/grid/GridManager.hpp>
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "AutoDiffVec.hpp"
|
||||
#include <config.h>
|
||||
|
||||
#include <opm/autodiff/AutoDiffVec.hpp>
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
|
||||
@@ -17,13 +17,15 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#if HAVE_DYNAMIC_BOOST_TEST
|
||||
#define BOOST_TEST_DYN_LINK
|
||||
#endif
|
||||
|
||||
#define BOOST_TEST_MODULE AutoDiffBlockTest
|
||||
|
||||
#include "AutoDiffBlock.hpp"
|
||||
#include <opm/autodiff/AutoDiffBlock.hpp>
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
|
||||
@@ -18,13 +18,15 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#if HAVE_DYNAMIC_BOOST_TEST
|
||||
#define BOOST_TEST_DYN_LINK
|
||||
#endif
|
||||
|
||||
#define BOOST_TEST_MODULE FluidPropertiesTest
|
||||
|
||||
#include "BlackoilPropsAd.hpp"
|
||||
#include <opm/autodiff/BlackoilPropsAd.hpp>
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
#include <config.h>
|
||||
|
||||
#if HAVE_DYNAMIC_BOOST_TEST
|
||||
#define BOOST_TEST_DYN_LINK
|
||||
#endif
|
||||
|
||||
#define BOOST_TEST_MODULE SyntaxTest
|
||||
|
||||
#include "AutoDiff.hpp"
|
||||
#include <opm/autodiff/AutoDiff.hpp>
|
||||
|
||||
#include <cmath>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
Reference in new issue
Block a user