@@ -17,6 +17,7 @@ set(ASMJIT_STATIC ON CACHE BOOL "" FORCE)
1717set(DYNAMIC_LOADER ON CACHE BOOL "" FORCE) # OpenXR
1818set(BUILD_TOOLS OFF CACHE BOOL "" FORCE) # DirectXTK
1919set(SAFETYHOOK_FETCH_ZYDIS ON)
20+ set(FT_DISABLE_HARFBUZZ ON CACHE BOOL "" FORCE) # Freetype
2021
2122if ("${CMAKE_BUILD_TYPE}" MATCHES "Release")
2223 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MT")
@@ -61,6 +62,7 @@ REF_BUILD_MHRISE_SDK = false
6162REF_BUILD_SF6_SDK = false
6263REF_BUILD_DD2_SDK = false
6364REF_BUILD_MHWILDS_SDK = false
65+ REF_BUILD_PRAGMATA_SDK = false
6466REF_BUILD_FRAMEWORK = { value = true }
6567REF_BUILD_DEPENDENCIES = { value = true }
6668
@@ -80,6 +82,7 @@ build-mhrise-sdk = "REF_BUILD_MHRISE_SDK OR REF_BUILD_FRAMEWORK"
8082build-sf6-sdk = " REF_BUILD_SF6_SDK OR REF_BUILD_FRAMEWORK"
8183build-dd2-sdk = " REF_BUILD_DD2_SDK OR REF_BUILD_FRAMEWORK"
8284build-mhwilds-sdk = " REF_BUILD_MHWILDS_SDK OR REF_BUILD_FRAMEWORK"
85+ build-pragmata-sdk = " REF_BUILD_PRAGMATA_SDK OR REF_BUILD_FRAMEWORK"
8386build-framework-dependencies = " REF_BUILD_DEPENDENCIES AND CMAKE_SIZEOF_VOID_P EQUAL 8"
8487
8588[fetch-content .asmjit ]
@@ -132,13 +135,26 @@ condition = "build-framework-dependencies"
132135git = " https://github.com/cursey/safetyhook"
133136tag = " b046e123dc69821f2c375161e0adef3c6d9c9db4"
134137
138+ [fetch-content .freetype ]
139+ git = " https://github.com/freetype/freetype"
140+ tag = " f1cd6dbfa0c98f352b698448f40ac27e8fb3832e"
141+
135142[target .imgui ]
136143type = " static"
137- sources = [" dependencies/imgui/*.cpp" ]
138- include-directories = [" dependencies/imgui" , " src/re2-imgui" ]
144+ sources = [
145+ " dependencies/imgui/*.cpp" ,
146+ " dependencies/imgui/misc/freetype/imgui_freetype.cpp" ,
147+ ]
148+ include-directories = [
149+ " dependencies/imgui" ,
150+ " dependencies/imgui/misc/freetype" ,
151+ " src/re2-imgui" ]
139152compile-definitions = [
140153 " IMGUI_USER_CONFIG=\" ${CMAKE_CURRENT_SOURCE_DIR}/src/re2-imgui/re2_imconfig.hpp\" " ,
141154]
155+ link-libraries = [
156+ " freetype"
157+ ]
142158condition = " build-framework"
143159
144160[target .imguizmo ]
@@ -191,7 +207,7 @@ tag = "v1.34.10"
191207
192208[fetch-content .kananlib ]
193209git = " https://github.com/cursey/kananlib"
194- tag = " d659e3b8312e26ba19329f96b73ba88d1211bfdb "
210+ tag = " 3a2448d5b12afd607f02af231571ec76443cb545 "
195211
196212[target .utility ]
197213type = " static"
@@ -378,6 +394,14 @@ condition = "build-mhwilds-sdk"
378394[target .MHWILDS ]
379395type = " game"
380396
397+ [target .PRAGMATASDK ]
398+ type = " sdk"
399+ compile-definitions = [" PRAGMATA" , " REENGINE_PACKED" , " REENGINE_AT" ]
400+ condition = " build-pragmata-sdk"
401+
402+ [target .PRAGMATA ]
403+ type = " game"
404+
381405[template .plugin ]
382406type = " shared"
383407include-directories = [" include/" ]
0 commit comments