chore(cmake): fix bad cmake
This commit is contained in:
parent
66866387f1
commit
fe2270c539
@ -42,12 +42,10 @@ ELSE ()
|
|||||||
ADD_COMPILE_OPTIONS(-Wall -Wextra -Werror -Wpedantic)
|
ADD_COMPILE_OPTIONS(-Wall -Wextra -Werror -Wpedantic)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(engine/)
|
||||||
engine/src/core
|
|
||||||
)
|
|
||||||
|
|
||||||
SET(EngineSources
|
SET(EngineSources
|
||||||
engine/src/core/ICEngine.cpp
|
engine/src/core/test.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
IF (BUILD_ENGINE_AS_SHARED_LIBRARY)
|
IF (BUILD_ENGINE_AS_SHARED_LIBRARY)
|
||||||
|
@ -2,12 +2,6 @@
|
|||||||
|
|
||||||
Smol little game engine since I have no idea what I'm doing
|
Smol little game engine since I have no idea what I'm doing
|
||||||
|
|
||||||
# Notice:
|
|
||||||
|
|
||||||
Since this uses the newer cpp modules, you need to make sure your compiler + build system + IDE supports this. You can
|
|
||||||
find more
|
|
||||||
info [on this stack overflow post](https://stackoverflow.com/questions/57300495/how-to-use-c20-modules-with-cmake).
|
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
Find more info about building the project in the `docs/Building.md` file.
|
Find more info about building the project in the `docs/Building.md` file.
|
||||||
|
|
||||||
@ -24,7 +18,7 @@ include(FetchContent)
|
|||||||
# Fetch the external repository
|
# Fetch the external repository
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
ICEngine
|
ICEngine
|
||||||
GIT_REPOSITORY http://proudcricle:3001/illyum/ICEngine.git
|
GIT_REPOSITORY http://proudcricle/illyum/ICEngine.git
|
||||||
GIT_TAG main
|
GIT_TAG main
|
||||||
)
|
)
|
||||||
|
|
||||||
|
10
engine/ICEngine.hpp
Normal file
10
engine/ICEngine.hpp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
//
|
||||||
|
// Created by illyum on 9/15/2024.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef ICENGINE_HPP
|
||||||
|
#define ICENGINE_HPP
|
||||||
|
|
||||||
|
#include "src/core/Logger.hpp"
|
||||||
|
|
||||||
|
#endif //ICENGINE_HPP
|
Loading…
x
Reference in New Issue
Block a user