Skip to content
Snippets Groups Projects
Commit b08d52d1 authored by Soeren Peters's avatar Soeren Peters
Browse files

Adds top level CMakeList.txt, which refers to the vf cpu and/or gpu version.

parent cce11e35
No related branches found
No related tags found
No related merge requests found
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()
project(VirtualFluids)
option(BUILD_VF_CPU "Build VirtualFluids cpu variant" ON)
option(BUILD_VF_GPU "Build VirtualFluids gpu variant" OFF)
if (BUILD_VF_CPU)
add_subdirectory(cpu)
endif()
if(BUILD_VF_GPU)
add_subdirectory(gpu)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment