File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,27 @@ if(POLICY CMP0141)
15
15
endif ()
16
16
cmake_minimum_required (VERSION 3.22)
17
17
18
+
19
+ message ("${CMAKE_SOURCE_DIR} " )
20
+ message ("${PROJECT_SOURCE_DIR} " )
21
+
22
+
23
+ get_cmake_property (_variableNames CACHE_VARIABLES )
24
+ list (SORT _variableNames)
25
+ foreach (_variableName ${_variableNames} )
26
+ message (STATUS "${_variableName} =${${_variableName} }" )
27
+ endforeach ()
28
+
29
+
30
+ # return()
31
+
32
+ if (NOT INTERNAL_BUILD)
33
+ string (RANDOM internal_binary_dir )
34
+ execute_process (COMMAND ${CMAKE_COMMAND} -S ${CMAKE_SOURCE_DIR} -B ${CMAKE_BINARY_DIR} /${internal_binary_dir} ] -DINTERNAL_BUILD=ON )
35
+ endif ()
36
+ return ()
37
+
38
+
18
39
#=============================
19
40
# Project / Package metadata
20
41
#=============================
@@ -57,6 +78,27 @@ set(CMAKE_CXX_EXTENSIONS OFF)
57
78
58
79
list (APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR} /cmake/module)
59
80
81
+
82
+
83
+
84
+ get_cmake_property (_variableNames CACHE_VARIABLES )
85
+ list (SORT _variableNames)
86
+ foreach (_variableName ${_variableNames} )
87
+ message (STATUS "${_variableName} =${${_variableName} }" )
88
+ endforeach ()
89
+
90
+
91
+ return ()
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
60
102
#=============================
61
103
# Configurable options
62
104
#=============================
You can’t perform that action at this time.
0 commit comments