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
d1c0e27d
Commit
d1c0e27d
authored
Jun 20, 2011
by
Davis King
Browse files
Simplified the CMakeLists.txt file for the unit tests. Also made it
use Release mode by default.
parent
395b1524
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
dlib/test/CMakeLists.txt
dlib/test/CMakeLists.txt
+4
-6
No files found.
dlib/test/CMakeLists.txt
View file @
d1c0e27d
...
@@ -3,12 +3,7 @@
...
@@ -3,12 +3,7 @@
# information about it at http://www.cmake.org
# information about it at http://www.cmake.org
#
#
# setting this makes CMake allow normal looking IF ELSE statements
cmake_minimum_required
(
VERSION 2.6
)
SET
(
CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true
)
cmake_minimum_required
(
VERSION 2.4
)
if
(
COMMAND cmake_policy
)
cmake_policy
(
SET CMP0003 NEW
)
endif
(
COMMAND cmake_policy
)
# This variable contains a list of all the tests we are building
# This variable contains a list of all the tests we are building
# into the regression test suite.
# into the regression test suite.
...
@@ -138,3 +133,6 @@ endif()
...
@@ -138,3 +133,6 @@ endif()
# library.
# library.
TARGET_LINK_LIBRARIES
(
${
target_name
}
dlib
)
TARGET_LINK_LIBRARIES
(
${
target_name
}
dlib
)
# make the default build be in "Release" mode
include
(
../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