@@ -16,6 +16,7 @@ set(ASMJIT_STATIC ON CACHE BOOL "" FORCE)
1616set(DYNAMIC_LOADER ON CACHE BOOL "" FORCE) # OpenXR
1717set(BUILD_TOOLS OFF CACHE BOOL "" FORCE) # DirectXTK
1818set(SAFETYHOOK_FETCH_ZYDIS ON)
19+ set(FT_DISABLE_HARFBUZZ ON CACHE BOOL "" FORCE) # Freetype
1920
2021if ("${CMAKE_BUILD_TYPE}" MATCHES "Release")
2122 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MT")
@@ -48,6 +49,7 @@ REF_BUILD_MHRISE_SDK = false
4849REF_BUILD_SF6_SDK = false
4950REF_BUILD_DD2_SDK = false
5051REF_BUILD_MHWILDS_SDK = false
52+ REF_BUILD_PRAGMATA_SDK = false
5153REF_BUILD_FRAMEWORK = { value = true }
5254REF_BUILD_DEPENDENCIES = { value = true }
5355
@@ -67,6 +69,7 @@ build-mhrise-sdk = "REF_BUILD_MHRISE_SDK OR REF_BUILD_FRAMEWORK"
6769build-sf6-sdk = " REF_BUILD_SF6_SDK OR REF_BUILD_FRAMEWORK"
6870build-dd2-sdk = " REF_BUILD_DD2_SDK OR REF_BUILD_FRAMEWORK"
6971build-mhwilds-sdk = " REF_BUILD_MHWILDS_SDK OR REF_BUILD_FRAMEWORK"
72+ build-pragmata-sdk = " REF_BUILD_PRAGMATA_SDK OR REF_BUILD_FRAMEWORK"
7073build-framework-dependencies = " REF_BUILD_DEPENDENCIES AND CMAKE_SIZEOF_VOID_P EQUAL 8"
7174
7275[fetch-content .asmjit ]
@@ -128,13 +131,26 @@ condition = "build-framework-dependencies"
128131git = " https://github.com/cursey/safetyhook"
129132tag = " b046e123dc69821f2c375161e0adef3c6d9c9db4"
130133
134+ [fetch-content .freetype ]
135+ git = " https://github.com/freetype/freetype"
136+ tag = " f1cd6dbfa0c98f352b698448f40ac27e8fb3832e"
137+
131138[target .imgui ]
132139type = " static"
133- sources = [" dependencies/imgui/*.cpp" ]
134- include-directories = [" dependencies/imgui" , " src/re2-imgui" ]
140+ sources = [
141+ " dependencies/imgui/*.cpp" ,
142+ " dependencies/imgui/misc/freetype/imgui_freetype.cpp" ,
143+ ]
144+ include-directories = [
145+ " dependencies/imgui" ,
146+ " dependencies/imgui/misc/freetype" ,
147+ " src/re2-imgui" ]
135148compile-definitions = [
136149 " IMGUI_USER_CONFIG=\" ${CMAKE_CURRENT_SOURCE_DIR}/src/re2-imgui/re2_imconfig.hpp\" " ,
137150]
151+ link-libraries = [
152+ " freetype"
153+ ]
138154condition = " build-framework"
139155
140156[target .imguizmo ]
@@ -187,7 +203,7 @@ tag = "v1.34.10"
187203
188204[fetch-content .kananlib ]
189205git = " https://github.com/cursey/kananlib"
190- tag = " d659e3b8312e26ba19329f96b73ba88d1211bfdb "
206+ tag = " 3a2448d5b12afd607f02af231571ec76443cb545 "
191207
192208[target .utility ]
193209type = " static"
@@ -374,6 +390,14 @@ condition = "build-mhwilds-sdk"
374390[target .MHWILDS ]
375391type = " game"
376392
393+ [target .PRAGMATASDK ]
394+ type = " sdk"
395+ compile-definitions = [" PRAGMATA" , " REENGINE_PACKED" , " REENGINE_AT" ]
396+ condition = " build-pragmata-sdk"
397+
398+ [target .PRAGMATA ]
399+ type = " game"
400+
377401[template .plugin ]
378402type = " shared"
379403include-directories = [" include/" ]
0 commit comments