Skip to content

Commit

Permalink
cmake: add separate versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
bramoosterhuis committed Jun 21, 2024
1 parent f14dd48 commit 5b35a97
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
9 changes: 5 additions & 4 deletions definitions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@

cmake_minimum_required(VERSION 3.15)

project(Definitions)
project(Definitions
VERSION 5.0.0
DESCRIPTION "Shared lookup tables associated with interface enums."
LANGUAGES CXX)

find_package(Thunder)

project_version(${Thunder_VERSION})

find_package(CompileSettingsDebug REQUIRED)
find_package(JsonGenerator REQUIRED)
find_package(${NAMESPACE}Core REQUIRED)
Expand Down Expand Up @@ -123,7 +124,7 @@ install(

InstallPackageConfig(
TARGETS ${Target}
DESCRIPTION "Share lookup tables associated with interface enums."
DESCRIPTION "${PROJECT_DESCRIPTION}"
)

InstallCMakeConfig(TARGETS ${Target})
7 changes: 4 additions & 3 deletions interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@

cmake_minimum_required(VERSION 3.15)

project(Marshalling)
project(Marshalling
VERSION 5.0.0
DESCRIPTION "Component that abstracts the logic to transfer and receive COM-RPC objects"
LANGUAGES CXX)

find_package(Thunder)

project_version(${Thunder_VERSION})

find_package(CompileSettingsDebug REQUIRED)
find_package(ProxyStubGenerator REQUIRED)
find_package(${NAMESPACE}Core REQUIRED)
Expand Down
7 changes: 4 additions & 3 deletions qa_interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@

cmake_minimum_required(VERSION 3.15)

project(QAMarshalling)
project(QAMarshalling
VERSION 5.0.0
DESCRIPTION "Component that abstracts the logic to transfer and receive QA specific COM-RPC objects"
LANGUAGES CXX)

find_package(Thunder)

project_version(${Thunder_VERSION})

find_package(CompileSettingsDebug REQUIRED)
find_package(ProxyStubGenerator REQUIRED)
find_package(${NAMESPACE}Core REQUIRED)
Expand Down

0 comments on commit 5b35a97

Please sign in to comment.