-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
23 lines (17 loc) · 798 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
23 lines (17 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cmake_minimum_required(VERSION 3.14)
project(pboman3 LANGUAGES CXX)
set(PBOM_BUILD_NUMBER "build \(ver\)" CACHE STRING "App build number")
set(PBOM_VERSION "0.0.1" CACHE STRING "App release version")
add_definitions(-DPBOM_PROJECT_NAME="PBO Manager")
add_definitions(-DPBOM_BUILD_NUMBER="${PBOM_BUILD_NUMBER}")
add_definitions(-DPBOM_VERSION="${PBOM_VERSION}")
add_definitions(-DPBOM_PROJECT_SITE="https://github.com/winseros/pboman3")
add_definitions(-DPBOM_API_SITE="https://api.github.com/repos/winseros/pboman3")
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_subdirectory(pbom)
add_subdirectory(pboe)
add_subdirectory(__lib__/cli11)
set(INSTALL_GTEST OFF)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
add_subdirectory(__lib__/googletest)