From cc61a98c2b8338317091aa8dd1313caa7429d565 Mon Sep 17 00:00:00 2001 From: Nikola Petrov Date: Mon, 1 Apr 2024 23:17:01 +0200 Subject: [PATCH] change name of build file to treender --- .gitignore | 10 +++++----- build.cpp | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 10a627a..f6badad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ -main obj/ -rl/ +obj_web/ raylib/ emsdk/ build -main.html -main.js -main.wasm \ No newline at end of file +treender +treender.html +treender.js +treender.wasm \ No newline at end of file diff --git a/build.cpp b/build.cpp index 60864d6..13e655a 100644 --- a/build.cpp +++ b/build.cpp @@ -5,7 +5,7 @@ std::filesystem::path INC_DIR = "inc"; std::filesystem::path SRC_DIR = "src"; std::filesystem::path RAYLIB_DIR = "raylib"; std::filesystem::path EMSDK_DIR = "emsdk"; -std::filesystem::path BUILD_FILE = "main"; +std::filesystem::path BUILD_FILE = "treender"; bool web_build = false; bool build = false; @@ -227,6 +227,7 @@ int main(int argc, char const *argv[]) opt_flags = "-Os"; RAYINCLUDE.push_back("-DPLATFORM_WEB"); BUILD_FILE = BUILD_FILE.replace_extension(".html"); + OBJ_DIR = "obj_web"; } std::filesystem::create_directory(OBJ_DIR);