mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-30 14:04:55 +00:00
Adding CMAKE_INTERPROCEDURAL_OPTIMIZATION
This commit is contained in:
parent
6d0a763145
commit
7481945993
@ -36,6 +36,10 @@ function(create_target_directory_groups target_name)
|
|||||||
endforeach()
|
endforeach()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
# enable link time optimization for release builds
|
||||||
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
|
||||||
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO ON)
|
||||||
|
|
||||||
# Setup a custom clang-format target (if clang-format can be found) that will run
|
# Setup a custom clang-format target (if clang-format can be found) that will run
|
||||||
# against all the src files. This should be used before making a pull request.
|
# against all the src files. This should be used before making a pull request.
|
||||||
if (CLANG_FORMAT)
|
if (CLANG_FORMAT)
|
||||||
|
Loading…
Reference in New Issue
Block a user