Skip to content

Commit 237ddb5

Browse files
at my wits end, adding arg debug
1 parent eb87442 commit 237ddb5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/nsc/main.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ class ShaderCompiler final : public system::IApplicationFramework
2929

3030
auto argc = argv.size();
3131

32+
#ifndef NBL_DEBUG
33+
std::string str = argv[0];
34+
for (auto i=1; i<argc; i++)
35+
str += " "+argv[i];
36+
m_logger->log("Arguments Received: %s", ILogger::ELL_DEBUG, str.c_str());
37+
#endif
38+
3239
// expect the first argument to be nsc.exe
3340
// second argument should be input: filename of a shader to compile
3441
if (argc < 2) {

0 commit comments

Comments
 (0)