PCH fix
This commit is contained in:
parent
2cce381afe
commit
1cf2d3c145
@ -45,6 +45,7 @@ endif()
|
|||||||
# targets declarations
|
# targets declarations
|
||||||
add_executable(${PROJECT_NAME})
|
add_executable(${PROJECT_NAME})
|
||||||
target_precompile_headers(${PROJECT_NAME} PRIVATE
|
target_precompile_headers(${PROJECT_NAME} PRIVATE
|
||||||
|
"$<$<COMPILE_LANGUAGE:CXX>:<iostream$<ANGLE-R>>"
|
||||||
"$<$<COMPILE_LANGUAGE:CXX>:<string$<ANGLE-R>>"
|
"$<$<COMPILE_LANGUAGE:CXX>:<string$<ANGLE-R>>"
|
||||||
"$<$<COMPILE_LANGUAGE:CXX>:<stdexcept$<ANGLE-R>>"
|
"$<$<COMPILE_LANGUAGE:CXX>:<stdexcept$<ANGLE-R>>"
|
||||||
"$<$<COMPILE_LANGUAGE:CXX>:<vector$<ANGLE-R>>"
|
"$<$<COMPILE_LANGUAGE:CXX>:<vector$<ANGLE-R>>"
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
#include <SFML/Graphics/RenderTexture.hpp>
|
#include <SFML/Graphics/RenderTexture.hpp>
|
||||||
|
|
||||||
#include "Camera.hpp"
|
#include "Camera.hpp"
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
#include <SFML/Graphics/Font.hpp>
|
#include <SFML/Graphics/Font.hpp>
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
#include <SFML/Graphics/RenderTexture.hpp>
|
#include <SFML/Graphics/RenderTexture.hpp>
|
||||||
#include <SFML/Graphics/RenderWindow.hpp>
|
#include <SFML/Graphics/RenderWindow.hpp>
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
#include <SFML/Graphics/Color.hpp>
|
#include <SFML/Graphics/Color.hpp>
|
||||||
|
|
||||||
//#include "../Utils/3DMaths.hpp" // Using PCH instead
|
//#include "../Utils/3DMaths.hpp" // Using PCH instead
|
||||||
@ -28,7 +26,7 @@ struct Vertex {
|
|||||||
}
|
}
|
||||||
|
|
||||||
M3D_F3 pos = {0.0f, 0.0f, 0.0f};
|
M3D_F3 pos = {0.0f, 0.0f, 0.0f};
|
||||||
sf::Color color = {255, 255, 255, 255};
|
sf::Color color = sf::Color::White;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#include "DbgCube.hpp"
|
#include "DbgCube.hpp"
|
||||||
|
|
||||||
#include <stdexcept>
|
|
||||||
|
|
||||||
|
|
||||||
ObjectDbgCube::ObjectDbgCube() {
|
ObjectDbgCube::ObjectDbgCube() {
|
||||||
try {
|
try {
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
#include "../Utils/MeshHelper.hpp"
|
#include "../Utils/MeshHelper.hpp"
|
||||||
|
|
||||||
|
|
||||||
|
1
Game.cpp
1
Game.cpp
@ -1,7 +1,6 @@
|
|||||||
#include "Game.hpp"
|
#include "Game.hpp"
|
||||||
#include "icon.h"
|
#include "icon.h"
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|
||||||
#include <SFML/System.hpp>
|
#include <SFML/System.hpp>
|
||||||
|
2
Game.hpp
2
Game.hpp
@ -1,7 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
#include <memory>
|
|
||||||
#include <SFML/Graphics/RenderWindow.hpp>
|
#include <SFML/Graphics/RenderWindow.hpp>
|
||||||
|
|
||||||
#include "Engine/Graphics/UI.hpp"
|
#include "Engine/Graphics/UI.hpp"
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
#include <iostream>
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <stdexcept>
|
|
||||||
#include <vector>
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
#include "Game.hpp"
|
#include "Game.hpp"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user