From c91e935c62b8e254b9daadf37b915c983518bff4 Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Fri, 18 Apr 2025 16:25:35 +0000
Subject: [PATCH] add dynamic module load, more escape seq
---
CMakeLists.txt | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ddc26dc..968ad4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -110,10 +110,8 @@
# PACKAGING PROPERTIES END
configure_file("cmake/options.h.in" "include/options.h" @ONLY)
-configure_file("test_scripts/test1.vs" "test_scripts/test1.vs" @ONLY)
-configure_file("test_scripts/test2.vs" "test_scripts/test2.vs" @ONLY)
-configure_file("test_scripts/test2.vs" "test_scripts/test2.vs" @ONLY)
-configure_file("test_scripts/function_test.vs" "test_scripts/function_test.vs" @ONLY)
+ configure_file("test_scripts/variables.vs" "test_scripts/variables.vs" @ONLY)
+ configure_file("test_scripts/expressions.vs" "test_scripts/expressions.vs" @ONLY)
@@ -157,6 +155,13 @@
set(CPACK_DEBIAN_BIN_PACKAGE_DEPENDS "libvoidscript (= ${CMAKE_PROJECT_VERSION})")
endif()
+# Plugin modules options
+option(BUILD_MODULE_CURL "Enable building CurlModule" OFF)
+
+if (BUILD_MODULE_CURL)
+ add_subdirectory(Modules/CurlModule)
+endif()
+
# CPACK CONFIGURATION
set(CPACK_DEB_COMPONENT_INSTALL ON)
--
Gitblit v1.9.3