5
5
6
6
cmake_minimum_required(VERSION 3.25...3.31)
7
7
8
- project(beman_execution26 VERSION 0.0.1 LANGUAGES CXX)
8
+ project(beman_execution VERSION 0.0.1 LANGUAGES CXX)
9
9
10
10
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
11
11
message(FATAL_ERROR "In-source builds are not allowed!")
12
12
endif()
13
13
14
- set(TARGET_NAME execution26 )
14
+ set(TARGET_NAME execution )
15
15
set(TARGET_NAMESPACE beman)
16
16
set(TARGET_PREFIX ${TARGET_NAMESPACE}.${TARGET_NAME})
17
17
set(TARGET_LIBRARY ${PROJECT_NAME})
@@ -20,27 +20,27 @@ set(TARGET_PACKAGE_NAME ${PROJECT_NAME}-config)
20
20
set(TARGETS_EXPORT_NAME ${PROJECT_NAME}-targets)
21
21
22
22
option(
23
- BEMAN_EXECUTION26_ENABLE_TESTING
23
+ BEMAN_EXECUTION_ENABLE_TESTING
24
24
"Enable building tests and test infrastructure. Values : { ON, OFF }."
25
25
${PROJECT_IS_TOP_LEVEL}
26
26
)
27
27
28
28
option(
29
- BEMAN_EXECUTION26_BUILD_EXAMPLES
29
+ BEMAN_EXECUTION_BUILD_EXAMPLES
30
30
"Enable building examples. Values : { ON, OFF }."
31
31
${PROJECT_IS_TOP_LEVEL}
32
32
)
33
33
34
34
option(
35
- BEMAN_EXECUTION26_ENABLE_INSTALL
35
+ BEMAN_EXECUTION_ENABLE_INSTALL
36
36
"Install the project components. Values : { ON, OFF }."
37
37
${PROJECT_IS_TOP_LEVEL}
38
38
)
39
39
40
40
include (GNUInstallDirs)
41
41
set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
42
42
43
- if(NOT BEMAN_EXECUTION26_ENABLE_INSTALL OR CMAKE_SKIP_INSTALL_RULES)
43
+ if(NOT BEMAN_EXECUTION_ENABLE_INSTALL OR CMAKE_SKIP_INSTALL_RULES)
44
44
include (FetchContent)
45
45
46
46
# Add project_options from https://github.com/aminya/project_options
@@ -89,19 +89,19 @@ if(NOT BEMAN_EXECUTION26_ENABLE_INSTALL OR CMAKE_SKIP_INSTALL_RULES)
89
89
)
90
90
endif()
91
91
92
- add_subdirectory(src/beman/execution26 )
92
+ add_subdirectory(src/beman/execution )
93
93
94
- if(BEMAN_EXECUTION26_ENABLE_TESTING )
94
+ if(BEMAN_EXECUTION_ENABLE_TESTING )
95
95
enable_testing()
96
96
97
- add_subdirectory(tests/beman/execution26 )
97
+ add_subdirectory(tests/beman/execution )
98
98
endif()
99
99
100
- if(BEMAN_EXECUTION26_BUILD_EXAMPLES )
100
+ if(BEMAN_EXECUTION_BUILD_EXAMPLES )
101
101
add_subdirectory(examples)
102
102
endif()
103
103
104
- if(NOT BEMAN_EXECUTION26_ENABLE_INSTALL OR CMAKE_SKIP_INSTALL_RULES)
104
+ if(NOT BEMAN_EXECUTION_ENABLE_INSTALL OR CMAKE_SKIP_INSTALL_RULES)
105
105
return()
106
106
endif()
107
107
0 commit comments