Not sure if I'm a huge fan that I have to specify the folders in the includes now

master
MitchellHansen 8 years ago
parent afa6ce463a
commit 0047db0a65

@ -64,7 +64,6 @@ foreach (source IN ITEMS ${SOURCES})
string(REGEX MATCHALL "src(.*)" substrings ${filename}) string(REGEX MATCHALL "src(.*)" substrings ${filename})
list(GET substrings 0 substring) list(GET substrings 0 substring)
SOURCE_GROUP(${substring} FILES ${source}) SOURCE_GROUP(${substring} FILES ${source})
endif() endif()
@ -80,7 +79,6 @@ foreach (source IN ITEMS ${HEADERS})
string(REGEX MATCHALL "include(.*)" substrings ${filename}) string(REGEX MATCHALL "include(.*)" substrings ${filename})
list(GET substrings 0 substring) list(GET substrings 0 substring)
SOURCE_GROUP(${substring} FILES ${source}) SOURCE_GROUP(${substring} FILES ${source})
endif() endif()
@ -96,7 +94,6 @@ foreach (source IN ITEMS ${KERNELS})
string(REGEX MATCHALL "kernels(.*)" substrings ${filename}) string(REGEX MATCHALL "kernels(.*)" substrings ${filename})
list(GET substrings 0 substring) list(GET substrings 0 substring)
SOURCE_GROUP(${substring} FILES ${source}) SOURCE_GROUP(${substring} FILES ${source})
endif() endif()
@ -112,7 +109,6 @@ foreach (source IN ITEMS ${SHADERS})
string(REGEX MATCHALL "shaders(.*)" substrings ${filename}) string(REGEX MATCHALL "shaders(.*)" substrings ${filename})
list(GET substrings 0 substring) list(GET substrings 0 substring)
SOURCE_GROUP(${substring} FILES ${source}) SOURCE_GROUP(${substring} FILES ${source})
endif() endif()

@ -3,7 +3,7 @@
#include <SFML/System/Vector2.hpp> #include <SFML/System/Vector2.hpp>
#include "util.hpp" #include "util.hpp"
#include "Pub_Sub.h" #include "Pub_Sub.h"
#include "RayCaster.h" #include "raycaster/RayCaster.h"
#include "LightHandle.h" #include "LightHandle.h"

@ -1,5 +1,5 @@
#pragma once #pragma once
#include <RayCaster.h> #include <raycaster/RayCaster.h>
#include <vector> #include <vector>
#include <iostream> #include <iostream>
#include "util.hpp" #include "util.hpp"

@ -28,11 +28,11 @@
#include <SFML/Network.hpp> #include <SFML/Network.hpp>
#include "Old_Map.h" #include "Old_Map.h"
#include "util.hpp" #include "util.hpp"
#include "RayCaster.h" #include "raycaster/RayCaster.h"
#include "Hardware_Caster.h" #include "raycaster/Hardware_Caster.h"
#include "Vector4.hpp" #include "Vector4.hpp"
#include "Camera.h" #include "Camera.h"
#include "Software_Caster.h" #include "raycaster/Software_Caster.h"
#include "Input.h" #include "Input.h"
#include "Pub_Sub.h" #include "Pub_Sub.h"
#include "NetworkInput.h" #include "NetworkInput.h"

@ -1,5 +1,4 @@
#include "Hardware_Caster.h" #include "raycaster/Hardware_Caster.h"
Hardware_Caster::Hardware_Caster() { Hardware_Caster::Hardware_Caster() {

@ -1,4 +1,4 @@
#include "RayCaster.h" #include "raycaster/RayCaster.h"
RayCaster::RayCaster() { RayCaster::RayCaster() {
} }

@ -1,4 +1,4 @@
#include "Software_Caster.h" #include "raycaster/Software_Caster.h"

Loading…
Cancel
Save