Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Commit

Permalink
Merge pull request #48 from SirRade/development
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
janhohenheim authored Sep 22, 2016
2 parents 5f7a32b + a64dfae commit 0f825fe
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
9 changes: 5 additions & 4 deletions Tests/EvenNumbers/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
file(GLOB SOURCES Sources/Headers/*.h Sources/Implementations/*.cpp Sources/*.cpp ../TestingUtilities/Sources/Headers/*.h ../TestingUtilities/Sources/Implementations/*.cpp)
file(GLOB SOURCES Sources/Implementations/*.cpp)

add_executable(Evenness ${SOURCES})
target_link_libraries(Evenness Hippocrates)
add_executable(EvenNumbers_EXAMPLE ${SOURCES})
target_link_libraries(EvenNumbers_EXAMPLE Hippocrates)
target_include_directories(EvenNumbers_EXAMPLE PUBLIC ../TestingUtilities/Sources/Headers)

add_test(EvenNumbers ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Evenness)
add_test(EvenNumbers ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/EvenNumbers_EXAMPLE)
4 changes: 1 addition & 3 deletions Tests/EvenNumbers/Sources/Implementations/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// TODO: Replace with library import
#include "../../../TestingUtilities/Sources/Headers/testing_utilities.h"

#include "testing_utilities.h"

using namespace std;
using namespace Hippocrates;
Expand Down
3 changes: 2 additions & 1 deletion Tests/XOR/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
file(GLOB SOURCES Sources/Headers/*.h Sources/Implementations/*.cpp Sources/*.cpp ../TestingUtilities/Sources/Headers/*.h ../TestingUtilities/Sources/Implementations/*.cpp)
file(GLOB SOURCES Sources/Implementations/*.cpp)

add_executable(XOR_EXAMPLE ${SOURCES})
target_link_libraries(XOR_EXAMPLE Hippocrates)
target_include_directories(XOR_EXAMPLE PUBLIC ../TestingUtilities/Sources/Headers)

add_test(XOR ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/XOR_EXAMPLE)
4 changes: 1 addition & 3 deletions Tests/XOR/Sources/Implementations/main.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include <fstream>

// TODO: Replace with library import
#include "../../../TestingUtilities/Sources/Headers/testing_utilities.h"
#include "testing_utilities.h"

using namespace std;
using namespace Hippocrates;
Expand Down

0 comments on commit 0f825fe

Please sign in to comment.