Enable parallel tests.
[hoomd-blue.git] / CMake_install_options.cmake
blobd964e324581cbd149767fc6c91a62906902bcd69
1 # Maintainer: joaander
3 # option to build Mac OS X .app packages
4 if (APPLE)
5 option(ENABLE_APP_BUNDLE_INSTALL "Enable installation of an app bundle installation" OFF)
6 mark_as_advanced(ENABLE_APP_BUNDLE_INSTALL)
7 endif(APPLE)
9 option(ENABLE_EMBED_CUDA "Enable embedding of the CUDA libraries into lib/hoomd" OFF)
10 mark_as_advanced(ENABLE_EMBED_CUDA)
12 # setup flags to specify installation directories for files, these differ in
13 # linux and windows
14 if (WIN32)
15     # The "." needs to be there to install to the root directory of
16     # the specified install path, "" doesn't work
17     set(DATA_INSTALL_DIR ".")
18     set(LIB_INSTALL_DIR "bin")
19     set(LIB_BASE_INSTALL_DIR "bin")
20     set(BIN_INSTALL_DIR "bin")
21     set(INC_INSTALL_DIR "include/hoomd")
22 elseif (ENABLE_APP_BUNDLE_INSTALL)
23     set(DATA_INSTALL_DIR "HOOMD-blue.app/Contents/share/hoomd")
24     set(LIB_INSTALL_DIR "HOOMD-blue.app/Contents/lib/hoomd")
25     set(LIB_BASE_INSTALL_DIR "HOOMD-blue.app/Contents/lib")
26     set(BIN_INSTALL_DIR "HOOMD-blue.app/Contents/MacOS")
27     set(INC_INSTALL_DIR "HOOMD-blue.app/Contents/include/hoomd")
28 else (WIN32)
29     set(DATA_INSTALL_DIR "share/hoomd")
30     set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}/hoomd")
31     set(LIB_BASE_INSTALL_DIR "lib${LIB_SUFFIX}")
32     set(BIN_INSTALL_DIR "bin")
33     set(INC_INSTALL_DIR "include/hoomd")
34 endif (WIN32)