Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
60a1de67
Commit
60a1de67
authored
Jun 19, 2011
by
Davis King
Browse files
Simplified the cmake files by putting the stuff to make Release
the default build into a single file.
parent
7dfea35c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
23 deletions
+13
-23
dlib/release_build_by_default
dlib/release_build_by_default
+9
-0
examples/CMakeLists.txt
examples/CMakeLists.txt
+1
-5
tools/htmlify/CMakeLists.txt
tools/htmlify/CMakeLists.txt
+1
-5
tools/imglab/CMakeLists.txt
tools/imglab/CMakeLists.txt
+1
-7
tools/mltool/CMakeLists.txt
tools/mltool/CMakeLists.txt
+1
-6
No files found.
dlib/release_build_by_default
0 → 100644
View file @
60a1de67
#set default build type to Release
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel." FORCE)
endif()
examples/CMakeLists.txt
View file @
60a1de67
...
...
@@ -13,11 +13,7 @@ endif()
#set default build type to Release
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE
"Release"
CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel."
FORCE
)
endif
()
include
(
../dlib/release_build_by_default
)
...
...
tools/htmlify/CMakeLists.txt
View file @
60a1de67
...
...
@@ -41,9 +41,5 @@ INSTALL(TARGETS ${target_name}
#set default build type to Release
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE
"Release"
CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel."
FORCE
)
endif
()
include
(
../../dlib/release_build_by_default
)
tools/imglab/CMakeLists.txt
View file @
60a1de67
...
...
@@ -39,11 +39,5 @@ INSTALL(TARGETS ${target_name}
RUNTIME DESTINATION bin
)
#set default build type to Release
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE
"Release"
CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel."
FORCE
)
endif
()
include
(
../../dlib/release_build_by_default
)
tools/mltool/CMakeLists.txt
View file @
60a1de67
...
...
@@ -41,11 +41,6 @@ INSTALL(TARGETS ${target_name}
RUNTIME DESTINATION bin
)
#set default build type to Release
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE
"Release"
CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel."
FORCE
)
endif
()
include
(
../../dlib/release_build_by_default
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment