Skip to content
Snippets Groups Projects
CMakeLists.txt 476 B
Newer Older
cmake_minimum_required(VERSION 3.9..3.17 FATAL_ERROR)

if(${CMAKE_VERSION} VERSION_LESS 3.12)
    cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()

Soeren Peters's avatar
Soeren Peters committed
project(VirtualFluids CXX)
set (CMAKE_PATH "${CMAKE_SOURCE_DIR}/CMake")
option(BUILD_VF_CPU "Build VirtualFluids cpu variant" OFF)
option(BUILD_VF_GPU "Build VirtualFluids gpu variant" ON)
#if (BUILD_VF_CPU)
#    add_subdirectory(cpu)
#endif()
#if(BUILD_VF_GPU)