RGBEPP/CMakeLists.txt
2024-07-05 19:29:53 +10:00

19 lines
626 B
CMake

cmake_minimum_required(VERSION 3.0)
project(RGB_EPP)
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 ${SCRIPT_INSTALL_PATH})
install(TARGETS splitfasta DESTINATION ${EXECUTABLE_INSTALL_PATH})
install(TARGETS sortdiamond DESTINATION ${EXECUTABLE_INSTALL_PATH})