File tree Expand file tree Collapse file tree 4 files changed +16
-5
lines changed
Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -52,3 +52,6 @@ CTestTestfile.cmake
5252
5353# JetBrains
5454.idea /
55+
56+ # Intercept library
57+ vendor /intercept /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ project (template-plugin)
99#Enabling this results in better performance when handling strings to SQF commands.
1010option (USE_ENGINE_TYPES "USE_ENGINE_TYPES" OFF )
1111
12+ #Which version of Intercept to build against, branch/commit/tag
13+ set (INTERCEPT_VERSION "f283e2fd3ce1024e496c6c17eb27f81693f05ca8" )
14+
1215#----Don't change anything below this line
1316
1417option (USE_64BIT_BUILD "USE_64BIT_BUILD" OFF )
@@ -38,4 +41,13 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
3841
3942set (CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)
4043
41- add_subdirectory (src)
44+ add_subdirectory (src)
45+
46+ include (ExternalProject)
47+
48+ # Download Intercept library to vendor folder
49+ ExternalProject_Add(
50+ intercept
51+ PREFIX ${CMAKE_CURRENT_LIST_DIR} /vendor/intercept
52+ URL https://github.com/intercept/intercept/archive/${INTERCEPT_VERSION} .tar.gz
53+ )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments