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:
Bård Skaflestad
2013-05-15 16:10:20 +02:00
parent d2f412e27a
commit e0c85a2fdb
18 changed files with 43 additions and 23 deletions

View File

@@ -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>
#include <cmath>

View File

@@ -44,7 +44,7 @@
#include <opm/core/simulator/TwophaseState.hpp>
#include <opm/core/simulator/WellState.hpp>
#include "SimulatorIncompTwophaseAdfi.hpp"
#include <opm/autodiff/SimulatorIncompTwophaseAdfi.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/filesystem.hpp>

View File

@@ -17,8 +17,10 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#include "AutoDiffBlock.hpp"
#include "AutoDiffHelpers.hpp"
#include <config.h>
#include <opm/autodiff/AutoDiffBlock.hpp>
#include <opm/autodiff/AutoDiffHelpers.hpp>
#include <opm/core/grid.h>
#include <opm/core/grid/GridManager.hpp>
#include <opm/core/props/IncompPropertiesBasic.hpp>