use LTO to improve load time
This commit is contained in:
parent
7b82aa62aa
commit
9900c09483
@ -13,6 +13,8 @@ add_executable(${PROJECT_NAME} WIN32
|
||||
Textractor.rc
|
||||
Textractor.ico
|
||||
)
|
||||
target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE $<$<CONFIG:RelWithDebInfo>:/GL>)
|
||||
target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp $<$<CONFIG:RelWithDebInfo>:-LTCG>)
|
||||
|
||||
|
||||
install_qt5_libs(${PROJECT_NAME}) # can be commented out for consecutive builds
|
||||
|
Loading…
Reference in New Issue
Block a user