diff options
| author | Tim Foley <tim.foley.is@gmail.com> | 2017-07-25 18:22:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-25 18:22:12 -0700 |
| commit | 155693a61011fa082433b9329570c375310db5bd (patch) | |
| tree | 7ca17a6655621a11eaa4806e0d9e11b011803dc5 /source/slang/slang.cpp | |
| parent | 29fb1d781a763a8ca3369d03a75dbe1976571368 (diff) | |
| parent | 941b834f3ba15eba9bfa80eb370077ec9c845efd (diff) | |
Merge pull request #146 from tfoleyNV/output-path-option
Add a `-o` option to command-line `slangc`
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 65f12fe59..bb83eb8af 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -684,6 +684,12 @@ SLANG_API void spSetLineDirectiveMode( REQ(request)->lineDirectiveMode = Slang::LineDirectiveMode(mode); } +SLANG_API void spSetCommandLineCompilerMode( + SlangCompileRequest* request) +{ + REQ(request)->isCommandLineCompile = true; + +} SLANG_API void spSetCodeGenTarget( SlangCompileRequest* request, |
