Commit 72cc9398 authored by Davis King's avatar Davis King

Renamed unit test program to avoid warnings from cmake

parent 082f05ea
...@@ -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 "dtest"
set (target_name test) set (target_name dtest)
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 dtest)
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.
......
...@@ -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 = dtest
# 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment