RGBEPP/CMakeLists.txt

20 lines
626 B
Text
Raw Normal View History

2024-07-03 10:09:16 +08:00
cmake_minimum_required(VERSION 3.0)
project(RGB_EPP)
2024-07-05 17:29:53 +08:00
set(CMAKE_EXPORT_COMPILE_COMMANDS ON )
2024-07-03 10:09:16 +08:00
set(CMAKE_CXX_STANDARD 17)
2024-07-05 17:29:53 +08:00
set(EXECUTABLE_INSTALL_PATH "/usr/bin")
set(SCRIPT_INSTALL_PATH "/usr/bin")
2024-07-03 10:09:16 +08:00
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)
2024-07-05 13:18:59 +08:00
2024-07-05 17:29:53 +08:00
install(FILES RGBEPP.sh DESTINATION ${SCRIPT_INSTALL_PATH})
install(TARGETS splitfasta DESTINATION ${EXECUTABLE_INSTALL_PATH})
install(TARGETS sortdiamond DESTINATION ${EXECUTABLE_INSTALL_PATH})