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/
|
obj/
|
||||||
rl/
|
obj_web/
|
||||||
raylib/
|
raylib/
|
||||||
emsdk/
|
emsdk/
|
||||||
build
|
build
|
||||||
main.html
|
treender
|
||||||
main.js
|
treender.html
|
||||||
main.wasm
|
treender.js
|
||||||
|
treender.wasm
|
@ -5,7 +5,7 @@ std::filesystem::path INC_DIR = "inc";
|
|||||||
std::filesystem::path SRC_DIR = "src";
|
std::filesystem::path SRC_DIR = "src";
|
||||||
std::filesystem::path RAYLIB_DIR = "raylib";
|
std::filesystem::path RAYLIB_DIR = "raylib";
|
||||||
std::filesystem::path EMSDK_DIR = "emsdk";
|
std::filesystem::path EMSDK_DIR = "emsdk";
|
||||||
std::filesystem::path BUILD_FILE = "main";
|
std::filesystem::path BUILD_FILE = "treender";
|
||||||
|
|
||||||
bool web_build = false;
|
bool web_build = false;
|
||||||
bool build = false;
|
bool build = false;
|
||||||
@ -227,6 +227,7 @@ int main(int argc, char const *argv[])
|
|||||||
opt_flags = "-Os";
|
opt_flags = "-Os";
|
||||||
RAYINCLUDE.push_back("-DPLATFORM_WEB");
|
RAYINCLUDE.push_back("-DPLATFORM_WEB");
|
||||||
BUILD_FILE = BUILD_FILE.replace_extension(".html");
|
BUILD_FILE = BUILD_FILE.replace_extension(".html");
|
||||||
|
OBJ_DIR = "obj_web";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::filesystem::create_directory(OBJ_DIR);
|
std::filesystem::create_directory(OBJ_DIR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user