Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
60a1de67
Commit
60a1de67
authored
Jun 19, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplified the cmake files by putting the stuff to make Release
the default build into a single file.
parent
7dfea35c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
23 deletions
+13
-23
release_build_by_default
dlib/release_build_by_default
+9
-0
CMakeLists.txt
examples/CMakeLists.txt
+1
-5
CMakeLists.txt
tools/htmlify/CMakeLists.txt
+1
-5
CMakeLists.txt
tools/imglab/CMakeLists.txt
+1
-7
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