chore(build): improve include paths

This commit is contained in:
fallenoak 2020-11-01 17:45:45 -06:00
parent 3d5794ed7c
commit 118d20c49d
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
30 changed files with 54 additions and 55 deletions

View file

@ -1,5 +1,5 @@
#include "Array.hpp"
#include "Test.hpp"
#include "storm/Array.hpp"
#include "test/Test.hpp"
TEST_CASE("TSBaseArray", "[list]") {
SECTION("constructs correctly") {

View file

@ -27,8 +27,7 @@ endif()
target_include_directories(StormTest
PRIVATE
${CMAKE_SOURCE_DIR}/storm
${CMAKE_SOURCE_DIR}/test
${PROJECT_SOURCE_DIR}
)
install(TARGETS StormTest DESTINATION "bin")

View file

@ -1,5 +1,5 @@
#include "List.hpp"
#include "Test.hpp"
#include "storm/List.hpp"
#include "test/Test.hpp"
struct TestListNode : TSLinkedNode<TestListNode> {
uint32_t index = 0;

View file

@ -1,5 +1,5 @@
#include "Memory.hpp"
#include "Test.hpp"
#include "storm/Memory.hpp"
#include "test/Test.hpp"
TEST_CASE("SMemAlloc", "[memory]") {
SECTION("allocates memory") {

View file

@ -1,2 +1,2 @@
#define CATCH_CONFIG_MAIN
#include "Test.hpp"
#include "test/Test.hpp"

View file

@ -1 +1 @@
#include "catch.hpp"
#include "test/catch.hpp"