-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
170 additions
and
218 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
cmake_minimum_required(VERSION 3.12) | ||
project( | ||
Mirage | ||
VERSION 1.0.0 | ||
HOMEPAGE_URL https://github.com/TravisWheelerLab/Mirage | ||
) | ||
|
||
set(CMAKE_C_STANDARD 17) | ||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY build) | ||
|
||
add_executable( | ||
MultiSeqNW | ||
|
||
src/MultiSeqNW.c | ||
) | ||
target_link_libraries(MultiSeqNW m) | ||
install(TARGETS MultiSeqNW RUNTIME) | ||
|
||
add_executable( | ||
ExonWeaver | ||
|
||
src/ExonWeaver.c | ||
src/BasicBio.c | ||
) | ||
target_link_libraries(ExonWeaver m) | ||
install(TARGETS ExonWeaver RUNTIME) | ||
|
||
add_executable( | ||
FastMap2 | ||
|
||
src/FastMap2.c | ||
src/BasicBio.c | ||
) | ||
target_link_libraries(FastMap2 m) | ||
install(TARGETS FastMap2 RUNTIME) | ||
|
||
# Custom target for handling dependencies, Perl scripts, and shell scripts. We | ||
# just move all these files to the build directory to aid in distribution and | ||
# installation. These will be automatically run by the build. | ||
|
||
add_custom_target( | ||
build-perl ALL | ||
COMMAND cp | ||
${CMAKE_SOURCE_DIR}/src/*.pl | ||
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ | ||
COMMAND cp | ||
${CMAKE_SOURCE_DIR}/src/*.pm | ||
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ | ||
) | ||
|
||
add_custom_target( | ||
build-shell ALL | ||
COMMAND cp | ||
${CMAKE_SOURCE_DIR}/src/*.sh | ||
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ | ||
) | ||
|
||
add_custom_target( | ||
build-dependencies ALL | ||
COMMAND ./install-dependencies.sh | ||
VERBATIM | ||
) |
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
Oops, something went wrong.