xref: /phasta/phSolver/CMakeLists.txt (revision 16223cb9c3f88b34f2cb94151b5cf5ffc1aac5e2)
1project(phSolver)
2set(CMAKE_Fortran_MODULE_DIRECTORY ${phSolver_BINARY_DIR}/modules)
3include_directories(${CMAKE_Fortran_MODULE_DIRECTORY})
4
5set(CASES "/path/to/test/cases/"
6  CACHE string
7  "path to the test cases")
8option(PHASTA_TESTING "enable tests" OFF)
9
10add_subdirectory(common)
11option(PHASTA_INCOMPRESSIBLE "Build the incompressible solver" OFF)
12option(PHASTA_COMPRESSIBLE "Build the compressible solver" ON)
13if(PHASTA_INCOMPRESSIBLE)
14add_subdirectory(incompressible)
15endif(PHASTA_INCOMPRESSIBLE)
16if(PHASTA_COMPRESSIBLE)
17add_subdirectory(compressible)
18endif(PHASTA_COMPRESSIBLE)
19