Newer
Older

Soeren Peters
committed
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
committed
set (CMAKE_PATH "${CMAKE_SOURCE_DIR}/CMake")

Soeren Peters
committed
option(BUILD_VF_CPU "Build VirtualFluids cpu variant" OFF)
option(BUILD_VF_GPU "Build VirtualFluids gpu variant" ON)

Soeren Peters
committed
#if (BUILD_VF_CPU)
# add_subdirectory(cpu)
#endif()
#if(BUILD_VF_GPU)

Soeren Peters
committed
add_subdirectory(gpu)