mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Enable whole program optimization for naveditor
Libs use them under the same PCH.
This commit is contained in:
parent
fdfc0a748b
commit
f22504f095
@ -86,9 +86,14 @@ add_sources( SOURCE_GROUP "Utils/Include"
|
|||||||
)
|
)
|
||||||
|
|
||||||
end_sources()
|
end_sources()
|
||||||
|
whole_program_optimization()
|
||||||
|
|
||||||
target_compile_definitions( ${PROJECT_NAME} PRIVATE WIN32 )
|
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
||||||
target_precompile_headers( ${PROJECT_NAME} PRIVATE ${ENGINE_SOURCE_DIR}/thirdparty/recast/Pch.h )
|
"WIN32"
|
||||||
|
)
|
||||||
|
target_precompile_headers( ${PROJECT_NAME} PRIVATE
|
||||||
|
"${ENGINE_SOURCE_DIR}/thirdparty/recast/Pch.h"
|
||||||
|
)
|
||||||
target_link_libraries( ${PROJECT_NAME} PRIVATE
|
target_link_libraries( ${PROJECT_NAME} PRIVATE
|
||||||
"navdebugutils"
|
"navdebugutils"
|
||||||
"libsdl2"
|
"libsdl2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user