# MakeIt.toml - Build configuration for ratsvscatsgame using MakeIt build system # To build the project, run: makeit build # Ensure you have MakeIt installed. # MakeIt is a Rastisoft project [project] name = "cyrusengine_imperial" version = "0.1.0" cc = "clang" cxx = "clang++" pre-build = "echo 'Starting build process...'" # post-build = "cp build/debug/furryinlove3 build/debug/libcyrusengine.a Games/FurryInLove3/final" post-build = "cp build/debug/playground build/debug/libcyrusengine.a examples/playground" # Build the cyrusengine library first [target.cyrusengine] type = "static_library" sources = [ "src/CyrusEngine.cpp", # "src/**/*.cpp", "src/*.cpp", "src/graphics/**/*.cpp", "src/graphics/**/*.h", "src/ecs/**/*.cpp", "src/ecs/**/*.h", "src/physics/**/*.cpp", "src/physics/**/*.h", "src/3rdparty/Box2D/**/*.cpp", "src/3rdparty/freetype2/freetype_amalgam.c", "src/3rdparty/stb_collection/*.c", # "src/3rdparty/microui/*.cpp", # "src/3rdparty/microui/*.h" ] include_dirs = [ "src/3rdparty", "src", "src/3rdparty/glm", "src/3rdparty/freetype2/include", "src/3rdparty/entt", # "src/3rdparty/microui" ] cxxflags = ["-std=c++23", "-g", "-w", "-Wall"] defines = [] # # Build the game executable that depends on cyrusengine # [target.furryinlove3] # type = "executable" # sources = [ # "Games/FurryInLove3/*.cpp" # ] # include_dirs = [ # "CyrusEngine/include", # "CyrusEngine", # "CyrusEngine/3rdparty/freetype2/include", # "CyrusEngine/3rdparty/entt" # ] # Build the game executable that depends on cyrusengine [target.playground] type = "executable" sources = [ "examples/playground/*.cpp" ] include_dirs = [ "src", "src/3rdparty", "src/3rdparty/freetype2/include", "src/3rdparty/entt", "src/3rdparty/microui", "src/glm" ] cxxflags = ["-std=c++23", "-g", "-w", "-Wall"] dependencies = ["cyrusengine"] libraries = [ "GL", "GLEW", "glfw", "sndfile", "vorbisfile", "portaudio", "pthread", "stdc++", "m", "dl", "Xinerama", "Xrandr", "Xi", "Xcursor", "X11", "Xxf86vm", "Xext", "rt", "c++" ] ldflags = ["-static-libgcc", "-static-libstdc++"] # Note: Full static linking may require static versions of libraries # installed on your system (e.g., libfreetype-dev, libglfw3-dev, etc.)