8000 TARGET_GROUP made into a cache variable · itamavig/cmake-unity-tutorial@2c5e7a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c5e7a2

Browse files
committed
TARGET_GROUP made into a cache variable
1 parent a13789c commit 2c5e7a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
project("Sample Project" C)
22
cmake_minimum_required(VERSION 3.0)
33

4+
set(TARGET_GROUP production CACHE STRING "Group to build")
5+
46
add_subdirectory(module_a)
57

68
if(TARGET_GROUP STREQUAL production)

0 commit comments

Comments
 (0)
0