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