orderly/CMakeLists.txt
2020-03-31 23:52:46 +08:00

25 lines
439 B
CMake

cmake_minimum_required(VERSION 3.5.0)
project(orderly VERSION 0.1.0)
include(CTest)
enable_testing()
include(GoogleTest)
include_directories(
${CMAKE_CURRENT_LIST_DIR}/src
/usr/include
/usr/local/include
)
link_directories(
/usr/lib/
/usr/local/lib/
)
add_subdirectory(gtest)
add_executable(orderly src/main.cpp)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)