xref: /phasta/phSolver/CMakeLists.txt (revision 96040df829d9dc51fd7a97d28ea5d8fb6af07398)
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")
8
9add_subdirectory(common)
10option(PHASTA_INCOMPRESSIBLE "Build the incompressible solver" OFF)
11option(PHASTA_COMPRESSIBLE "Build the compressible solver" ON)
12if(PHASTA_INCOMPRESSIBLE)
13add_subdirectory(incompressible)
14endif(PHASTA_INCOMPRESSIBLE)
15if(PHASTA_COMPRESSIBLE)
16add_subdirectory(compressible)
17endif(PHASTA_COMPRESSIBLE)
18