Remove individual cuda libraries
authorRoland Schulz <roland@utk.edu>
Mon, 7 Jul 2014 01:14:45 +0000 (21:14 -0400)
committerSzilárd Páll <pall.szilard@gmail.com>
Sun, 27 Jul 2014 18:40:13 +0000 (20:40 +0200)
commit4be35c673c274442ba1c9e35db5c56c8458217d7
tree7b938b85092e5f67d4332898eca9c3ab02c49eee
parentaa8d7727dfadd0404f76753f045dc6b0879139ff
Remove individual cuda libraries

Instead use CUDA_ADD_LIBRARY to build libgromacs. It builds all
non CUDA files using the standard build rules. Thus this should not
have any effect on non CUDA files. All CUDA files were compiled
with the same nvcc OPTIONS, and thus nothing should have changed
for them either.

This also removes the requirement for gmxManageNvccConfig to set
fPIC manually because now CUDA_ADD_LIBRARY knows when the library
is shared.

Change-Id: I23fe6b7a9766a39c525cdc1abfa3922ec24058d9
cmake/gmxManageNvccConfig.cmake
src/gromacs/CMakeLists.txt
src/gromacs/gmxlib/CMakeLists.txt
src/gromacs/gmxlib/cuda_tools/CMakeLists.txt
src/gromacs/gmxlib/gpu_utils/CMakeLists.txt
src/gromacs/mdlib/CMakeLists.txt
src/gromacs/mdlib/nbnxn_cuda/CMakeLists.txt