fix: build system
This commit is contained in:
parent
9e7602de4b
commit
5bfc8c0361
2 changed files with 7 additions and 4 deletions
|
@ -5,12 +5,15 @@ set( CMAKE_EXPORT_COMPILE_COMMANDS ON )
|
|||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
set(EXECUTABLE_INSTALL_PATH "/usr/bin")
|
||||
set(SCRIPT_INSTALL_PATH "/usr/bin")
|
||||
|
||||
add_executable(splitfasta splitfasta.cpp)
|
||||
add_executable(sortdiamond sortdiamond.cpp)
|
||||
|
||||
target_compile_options(splitfasta PRIVATE -Wall -Wextra -pedantic -O3)
|
||||
target_compile_options(sortdiamond PRIVATE -Wall -Wextra -pedantic -O3)
|
||||
|
||||
install(FILES RGBEPP.sh DESTINATION /usr/bin/RGBEPP.sh)
|
||||
install(FILES splitfasta DESTINATION /usr/bin/splitfasta)
|
||||
install(FILES sortdiamond DESTINATION /usr/bin/sortdiamond)
|
||||
install(FILES RGBEPP.sh DESTINATION ${SCRIPT_INSTALL_PATH})
|
||||
install(TARGETS splitfasta DESTINATION ${EXECUTABLE_INSTALL_PATH})
|
||||
install(TARGETS sortdiamond DESTINATION ${EXECUTABLE_INSTALL_PATH})
|
||||
|
|
0
RGBEPP.sh
Normal file → Executable file
0
RGBEPP.sh
Normal file → Executable file
Loading…
Reference in a new issue