Commit c8ab8cb8 authored by Samuel Debionne's avatar Samuel Debionne
Browse files

Merge branch '113-build-with-lto-only-in-release-builds' into 'develop'

Resolve "Build with LTO only in Release builds"

Closes #113

See merge request !111
parents 6f273012 35405a19
Pipeline #71778 passed with stages
in 14 minutes and 59 seconds
......@@ -11,7 +11,7 @@ add_library(simulator SHARED
# Set compile and link properties
set_target_properties(simulator PROPERTIES
INTERPROCEDURAL_OPTIMIZATION ON
INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
CXX_VISIBILITY_PRESET hidden
VISIBLITY_INLINES_HIDDEN hidden
)
......@@ -53,7 +53,7 @@ target_link_libraries(simulator_ctrl
)
set_target_properties(simulator_ctrl PROPERTIES
INTERPROCEDURAL_OPTIMIZATION ON
INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
CXX_VISIBILITY_PRESET hidden
VISIBLITY_INLINES_HIDDEN hidden
)
......@@ -78,7 +78,7 @@ target_link_libraries(simulator_recv
)
set_target_properties(simulator_recv PROPERTIES
INTERPROCEDURAL_OPTIMIZATION ON
INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
CXX_VISIBILITY_PRESET hidden
VISIBLITY_INLINES_HIDDEN hidden
)
......
......@@ -10,7 +10,7 @@ add_library(pipeline_cuda SHARED
# Set compile and link properties
set_target_properties(pipeline_cuda PROPERTIES
INTERPROCEDURAL_OPTIMIZATION ON
INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
CXX_VISIBILITY_PRESET hidden
VISIBLITY_INLINES_HIDDEN hidden
)
......
......@@ -10,7 +10,7 @@ add_library(pipeline_legacy SHARED
# Set compile and link properties
set_target_properties(pipeline_legacy PROPERTIES
INTERPROCEDURAL_OPTIMIZATION ON
INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
CXX_VISIBILITY_PRESET hidden
VISIBLITY_INLINES_HIDDEN hidden
)
......
......@@ -10,7 +10,7 @@ add_library(pipeline_smx SHARED
# Set compile and link properties
set_target_properties(pipeline_smx PROPERTIES
INTERPROCEDURAL_OPTIMIZATION ON
INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
CXX_VISIBILITY_PRESET hidden
VISIBLITY_INLINES_HIDDEN hidden
)
......@@ -49,4 +49,4 @@ install(
)
set (PROJECT_LIBRARIES lima_core pipeline_smx)
include(PackageConfig)
\ No newline at end of file
include(PackageConfig)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment