Skip to content

Commit

Permalink
Added __APPTYPE__ preprocessor variable (gui/console/wasm/asmjs/wasm+…
Browse files Browse the repository at this point in the history
…asmjs)

Signed-off-by: D-a-n-i-l-o <D-a-n-i-l-o@users.noreply.github.com>
  • Loading branch information
D-a-n-i-l-o committed Jun 5, 2021
1 parent 17b8049 commit dd355c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wake/builder.wx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Class BuilderInstance
ppsyms["__TARGET__"]="~q"+opts.target+"~q"
ppsyms["__CONFIG__"]="~q"+opts.config+"~q"
ppsyms["__ARCH__"]="~q"+opts.arch+"~q"
ppsyms["__APPTYPE__"]="~q"+opts.appType+"~q"
ppsyms["__COMPILER__"]="~q"+opts.toolchain+"~q" '//new! maybe '__TOOL_CHAIN__' ? = 'msvc' or 'gcc'

Select opts.target
Expand Down

0 comments on commit dd355c5

Please sign in to comment.