Files
fall-fever/src/CMakeLists.txt

41 lines
675 B
CMake

add_library(fever_engine
main.cpp
Controller.cpp
Window.cpp
scene.cpp
FrameBuffer.cpp
Helper.cpp
util/Log.cpp
image.cpp
mesh.cpp
gltf_loader.cpp
material.cpp
camera.cpp
shader.cpp
transform.cpp
light.cpp
)
target_compile_features(fever_engine PUBLIC cxx_std_20)
target_compile_definitions(fever_engine PRIVATE SPDLOG_FMT_EXTERNAL)
target_link_libraries(
fever_engine PUBLIC
glad
glfw
EnTT::EnTT
fmt
pthread
spdlog
fx-gltf::fx-gltf
nlohmann_json::nlohmann_json
stb
sail
)
add_executable(Fall-Fever
main.cpp
)
target_link_libraries(Fall-Fever PRIVATE fever_engine)