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)
|
||||
ENDIF ()
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
engine/src/core
|
||||
)
|
||||
INCLUDE_DIRECTORIES(engine/)
|
||||
|
||||
SET(EngineSources
|
||||
engine/src/core/ICEngine.cpp
|
||||
engine/src/core/test.cpp
|
||||
)
|
||||
|
||||
IF (BUILD_ENGINE_AS_SHARED_LIBRARY)
|
||||
|
@ -2,12 +2,6 @@
|
||||
|
||||
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
|
||||
Find more info about building the project in the `docs/Building.md` file.
|
||||
|
||||
@ -24,7 +18,7 @@ include(FetchContent)
|
||||
# Fetch the external repository
|
||||
FetchContent_Declare(
|
||||
ICEngine
|
||||
GIT_REPOSITORY http://proudcricle:3001/illyum/ICEngine.git
|
||||
GIT_REPOSITORY http://proudcricle/illyum/ICEngine.git
|
||||
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