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