aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/vlpp/fix-tool-build.patch
blob: e7bf29357c39203a668bb70dffff1d4b9b0eec40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/Import/CMakeLists.txt b/Import/CMakeLists.txt
index c65ab65..2101e86 100644
--- a/Import/CMakeLists.txt
+++ b/Import/CMakeLists.txt
@@ -10,6 +10,7 @@ cmake_dependent_option(WORKFLOW_COMPILER "Use VlppWorkflowCompiler" ON "WORKFLOW
 cmake_dependent_option(GACUI_CORE "Use GacUI" ON "GLR_PARSER;WORKFLOW_LIBRARY" OFF)
 cmake_dependent_option(GACUI_REFLECTION "Use GacUIReflection" ON "GACUI_CORE;WORKFLOW_RUNTIME;REFLECTION" OFF)
 cmake_dependent_option(GACUI_COMPILER "Use GacUICompiler" ON "GACUI_REFLECTION;WORKFLOW_COMPILER" OFF)
+option(BUILD_TOOLS "Build tools" OFF)
 
 # core library
 set(CORE_HDRS
@@ -144,6 +145,11 @@ if (GACUI_CORE)
     list(APPEND EXPORT_TARGETS gacui_core)
 endif()
 
+if (BUILD_TOOLS)
+    add_subdirectory(gacgen/Tools/GacGen)
+    add_subdirectory(workflow/Tools/CppMerge)
+endif()
+
 # Install targets
 install(
   TARGETS ${EXPORT_TARGETS}