Fix potential problem in Messenger related to MPI window
[hoomd-blue.git] / CMake_src_setup.cmake
blobb242aea6b0e754fd8abdd690912f3602e76f618c
1 # Maintainer: joaander
3 #################################
4 ## Setup include directories and file lists for sub directories
5 include_directories(${HOOMD_SOURCE_DIR}/libhoomd/utils
6                     ${HOOMD_SOURCE_DIR}/libhoomd/data_structures
7                     ${HOOMD_SOURCE_DIR}/libhoomd/computes
8                     ${HOOMD_SOURCE_DIR}/libhoomd/updaters
9                     ${HOOMD_SOURCE_DIR}/libhoomd/cuda
10                     ${HOOMD_SOURCE_DIR}/libhoomd/analyzers
11                     ${HOOMD_SOURCE_DIR}/libhoomd/potentials
12                     ${HOOMD_SOURCE_DIR}/libhoomd/computes_gpu
13                     ${HOOMD_SOURCE_DIR}/libhoomd/updaters_gpu
14                     ${HOOMD_SOURCE_DIR}/libhoomd/system
15                     ${HOOMD_SOURCE_DIR}/libhoomd/extern
16                     ${HOOMD_SOURCE_DIR}/libhoomd/communication
17                     ${CUDA_INCLUDE}
18                     ${HOOMD_BINARY_DIR}/include)
20 #######################
21 ## Configure the version info header file
23 # handle linux/mac and windows dates differently
24 if (NOT WIN32)
25     exec_program("date +%x" OUTPUT_VARIABLE COMPILE_DATE)
26 else(NOT WIN32)
27     exec_program("cmd" ARGS "/c date /T" OUTPUT_VARIABLE COMPILE_DATE)
28 endif (NOT WIN32)