# Copyright (c) 2019-2021 Péter Magyar # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all # copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # Rename this file to build.config to use it # Lines starting with # are comments. (Only works at the start of the line!) # Note: # ~ will be converted to %userprofile% on windows # / will be converted to \ on windows # so you don't have to worry about it # Visual studio related setup: visual_studio_call_vcvarsall True visual_studio_vcvarsall_path C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvarsall.bat visual_studio_arch amd64 # You can export variables with the export keyword # You can run commands with the run keywords # <export/run> <target platform> <exported variable/command> # available export/run targets: global, linux, windows, android, javascript export global SCONS_CACHE=~/.scons_cache export global SCONS_CACHE_LIMIT=5000 export android ANDROID_HOME=~/SDKs/Android/SDK run javascript source ~/SDKs/emsdk/emsdk_env.sh