mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 22:28:45 +00:00
Adding CMAKE_INTERPROCEDURAL_OPTIMIZATION
This commit is contained in:
parent
6d0a763145
commit
7481945993
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue