Skip to content
Snippets Groups Projects
Commit 995d8fa2 authored by LEGOLAS\lenz's avatar LEGOLAS\lenz
Browse files

new target for TGV 3D

parent 1a0d12b0
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,9 @@ IF (HULC.BUILD_VF_GPU)
add_subdirectory(targets/libs/VirtualFluids_GPU)
add_subdirectory(targets/apps/LBM/lbmTest)
add_subdirectory(targets/apps/LBM/metisTest)
#add_subdirectory(targets/apps/LBM/metisTest)
add_subdirectory(targets/apps/LBM/TGV_3D)
ELSE()
MESSAGE( STATUS "exclude Virtual Fluids GPU." )
ENDIF()
......
include (${CMAKE_SOURCE_DIR}/${cmakeMacroPath}/MPI/Link.cmake)
linkMPI(${targetName})
include (${CMAKE_SOURCE_DIR}/${cmakeMacroPath}/Cuda/Link.cmake)
linkCuda(${targetName})
include (${CMAKE_SOURCE_DIR}/${cmakeMacroPath}/Boost/Link.cmake)
linkBoost(${targetName} "serialization")
include (${CMAKE_SOURCE_DIR}/${cmakeMacroPath}/Metis/Link.cmake)
linkMetis(${targetName})
if(HULC.BUILD_JSONCPP)
include (${CMAKE_SOURCE_DIR}/${cmakeMacroPath}/JsonCpp/Link.cmake)
linkJsonCpp(${targetName})
endif()
\ No newline at end of file
setTargetNameToFolderName(${CMAKE_CURRENT_LIST_DIR})
set(linkDirectories "")
set(libsToLink VirtualFluids_GPU GridGenerator)
set(includeDirectories "${CMAKE_SOURCE_DIR}/src" "${CMAKE_SOURCE_DIR}/src/VirtualFluids_GPU" "${CMAKE_SOURCE_DIR}/src/GridGenerator" "${CMAKE_SOURCE_DIR}/src/VirtualFluidsBasics")
#glob files and save in MY_SRCS
include(CMakePackage.cmake)
buildExe(${targetName} "${MY_SRCS}" "${linkDirectories}" "${libsToLink}" "${includeDirectories}")
groupTarget(${targetName} ${lbmAppFolder})
# Specify the linking to 3rdParty libs
include(3rdPartyLinking.cmake)
\ No newline at end of file
#FILE ENDINGS
resetFileEndingsToCollect()
addCAndCPPFileTypes()
addFileEndingToCollect("*.cu")
addFileEndingToCollect("*.cuh")
#GLOB SOURCE FILES IN MY_SRCS
unset(MY_SRCS)
includeRecursiveAllFilesFrom(${targetName} ${CMAKE_CURRENT_LIST_DIR})
\ No newline at end of file
This diff is collapsed.
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