We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a82616a commit 3e2d111Copy full SHA for 3e2d111
CMakeLists.txt
@@ -24,6 +24,12 @@ include(ProjectConfig) # For centralized project configuration
24
include(VersionChecks) # For compiler and tool version checking
25
include(ArchitectureDetection) # For CPU architecture and feature detection
26
27
+# Profilers option
28
+option(UE4SS_PROFILERS "Enable UE4SS profiling features" OFF)
29
+if(UE4SS_PROFILERS)
30
+ add_compile_definitions(UE4SS_PROFILERS)
31
+endif()
32
+
33
# Check IPO/LTO support
34
check_ipo_supported(RESULT IPO_SUPPORTED OUTPUT IPO_ERROR)
35
message("IPO/LTO support: ${IPO_SUPPORTED}; ${IPO_ERROR}")
0 commit comments