Created
August 26, 2014 18:14
-
-
Save nikhilRP/d2a21e3258f37b750b2b to your computer and use it in GitHub Desktop.
cmake file for including nvbio as library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include(ExternalProject) | |
ExternalProject_Add( | |
nvbio | |
GIT_REPOSITORY https://github.com/NVlabs/nvbio.git | |
GIT_TAG v0.9.7 | |
BUILD_COMMAND make nvbio | |
INSTALL_COMMAND "" | |
) | |
# I'm successfull in generating Static library here (libnvbio.a) | |
add_subdirectory(src) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CMakeLists.txt in subdirectory src | |
set(idr_srcs | |
idr.cu | |
processPeaks.cpp | |
) | |
ExternalProject_Get_Property(nvbio binary_dir) | |
include_directories(${binary_dir}/nvbio) | |
cuda_add_executable(idr ${idr_srcs}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment