2 # This sets the preprocessor definitinos after all build options have been set appropriately
5 add_definitions(-DENABLE_ZLIB)
9 add_definitions(-DENABLE_STATIC)
13 add_definitions (-DSINGLE_PRECISION)
14 else(SINGLE_PRECISION)
15 add_definitions (-Dkiss_fft_scalar=double)
16 endif(SINGLE_PRECISION)
19 add_definitions (-DENABLE_CUDA)
22 add_definitions(-DENABLE_NVTOOLS)
26 ################################
27 ## thread safe compiling
29 add_definitions(-D_MT)
31 add_definitions(-D_REENTRANT)
35 add_definitions (-DENABLE_MPI)
38 add_definitions (-DENABLE_MPI_CUDA)
39 endif(ENABLE_MPI_CUDA)
42 # define this as a main hoomd build (as opposed to a plugin build)
43 add_definitions(-DBUILDING_HOOMD)