Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LoadStaticSharedTargets
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CMake
LoadStaticSharedTargets
Commits
06956657
Unverified
Commit
06956657
authored
1 year ago
by
Tim Kaune
Browse files
Options
Downloads
Patches
Plain Diff
Remove setting of build type
LoadStaticSharedTargets is completely build type agnostic.
parent
af9fd8e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+0
-11
0 additions, 11 deletions
CMakeLists.txt
with
0 additions
and
11 deletions
CMakeLists.txt
+
0
−
11
View file @
06956657
...
@@ -41,17 +41,6 @@ if (IS_TOP_LEVEL)
...
@@ -41,17 +41,6 @@ if (IS_TOP_LEVEL)
set
(
CMAKE_CTEST_ARGUMENTS
"--verbose"
)
set
(
CMAKE_CTEST_ARGUMENTS
"--verbose"
)
endif
()
endif
()
# LoadStaticSharedTargets is a CMake script, which we never want to debug
# If using a multi config generator
get_property
(
_IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG
)
if
(
_IS_MULTI_CONFIG
)
set
(
CMAKE_CONFIGURATION_TYPES
"Release"
)
set
(
CMAKE_DEFAULT_BUILD_TYPE
"Release"
)
# If using a single config generator
else
()
set
(
CMAKE_BUILD_TYPE
"Release"
)
endif
()
add_subdirectory
(
src
)
add_subdirectory
(
src
)
if
(
IS_TOP_LEVEL AND BUILD_TESTING
)
if
(
IS_TOP_LEVEL AND BUILD_TESTING
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment