xref: /phasta/phSolver/CMakeLists.txt (revision 41f582925dd9e500cf7fd84d7a79470d906f14cf)
1project(phSolver)
2set(CMAKE_Fortran_MODULE_DIRECTORY ${phSolver_BINARY_DIR}/modules)
3include_directories(${CMAKE_Fortran_MODULE_DIRECTORY})
4
5add_subdirectory(common)
6option(PHASTA_INCOMPRESSIBLE "Build the incompressible solver" OFF)
7option(PHASTA_COMPRESSIBLE "Build the compressible solver" ON)
8if(PHASTA_INCOMPRESSIBLE)
9add_subdirectory(incompressible)
10endif(PHASTA_INCOMPRESSIBLE)
11if(PHASTA_COMPRESSIBLE)
12add_subdirectory(compressible)
13endif(PHASTA_COMPRESSIBLE)
14