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
72cc9398
Commit
72cc9398
authored
Jun 18, 2014
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed unit test program to avoid warnings from cmake
parent
082f05ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
dlib/test/CMakeLists.txt
+3
-3
makefile
dlib/test/makefile
+1
-1
No files found.
dlib/test/CMakeLists.txt
View file @
72cc9398
...
...
@@ -140,13 +140,13 @@ set (tests
vectorstream.cpp
)
# create a variable called target_name and set it to the string "test"
set
(
target_name test
)
# create a variable called target_name and set it to the string "
d
test"
set
(
target_name
d
test
)
PROJECT
(
${
target_name
}
)
# add all the cpp files we want to compile to this list. This tells
# cmake that they are part of our target (which is the executable named test)
# cmake that they are part of our target (which is the executable named
d
test)
ADD_EXECUTABLE
(
${
target_name
}
main.cpp tester.cpp
${
tests
}
)
# Turn on all warnings when using gcc.
...
...
dlib/test/makefile
View file @
72cc9398
...
...
@@ -2,7 +2,7 @@
# on Debian Linux using the gcc compiler.
# this is the name of the output executable
TARGET
=
test
TARGET
=
d
test
# these are the compile time flags passed to gcc
CFLAGS
=
-ggdb
-DDEBUG
-DDLIB_NO_GUI_SUPPORT
-I
../..
-Wall
...
...
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