forked from harperic/hoomd-blue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMake_src_setup.cmake
28 lines (25 loc) · 1.18 KB
/
CMake_src_setup.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: joaander
#################################
## Setup include directories and file lists for sub directories
include_directories(${HOOMD_SOURCE_DIR}/libhoomd/utils
${HOOMD_SOURCE_DIR}/libhoomd/data_structures
${HOOMD_SOURCE_DIR}/libhoomd/computes
${HOOMD_SOURCE_DIR}/libhoomd/updaters
${HOOMD_SOURCE_DIR}/libhoomd/cuda
${HOOMD_SOURCE_DIR}/libhoomd/analyzers
${HOOMD_SOURCE_DIR}/libhoomd/potentials
${HOOMD_SOURCE_DIR}/libhoomd/computes_gpu
${HOOMD_SOURCE_DIR}/libhoomd/updaters_gpu
${HOOMD_SOURCE_DIR}/libhoomd/system
${HOOMD_SOURCE_DIR}/libhoomd/extern
${HOOMD_SOURCE_DIR}/libhoomd/communication
${CUDA_INCLUDE}
${HOOMD_BINARY_DIR}/include)
#######################
## Configure the version info header file
# handle linux/mac and windows dates differently
if (NOT WIN32)
exec_program("date +%x" OUTPUT_VARIABLE COMPILE_DATE)
else(NOT WIN32)
exec_program("cmd" ARGS "/c date /T" OUTPUT_VARIABLE COMPILE_DATE)
endif (NOT WIN32)