change name of build file to treender

This commit is contained in:
Nikola Petrov 2024-04-01 23:17:01 +02:00
parent 2b2dfe751e
commit cc61a98c2b
2 changed files with 7 additions and 6 deletions

10
.gitignore vendored
View File

@ -1,9 +1,9 @@
main
obj/
rl/
obj_web/
raylib/
emsdk/
build
main.html
main.js
main.wasm
treender
treender.html
treender.js
treender.wasm

View File

@ -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);