We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cdf591 commit 2154b64Copy full SHA for 2154b64
CMakeLists.txt
@@ -4,6 +4,8 @@ project("UnityHubNative")
4
set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR})
5
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/$<CONFIGURATION>)
6
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/$<CONFIGURATION>)
7
+# link time optimization
8
+set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE TRUE CACHE INTERNAL "") # only enable on release
9
10
option(BUILD_SHARED_LIBS OFF "Build static")
11
0 commit comments