change name of build file to treender
This commit is contained in:
parent
2b2dfe751e
commit
cc61a98c2b
10
.gitignore
vendored
10
.gitignore
vendored
@ -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
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user