build45.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Build configuration
  2. # List all C or C++ files here. Wildcards, relative and absolute paths are allowed
  3. SOURCE_FILES = [
  4. "*.cpp"
  5. ]
  6. # List any extra include directories for clang. Relative and absolute paths are allowed
  7. INCLUDE_DIRS = [
  8. ]
  9. # Path to the Jukebox SDK directory. A relative or an absolute path is allowed
  10. JUKEBOX_SDK_DIR = "C:\\Users\\jkolp\\Desktop\\Imperf\\JukeboxSDK\\SDK"
  11. # Other compiler flags - please avoid any flag which affects the output for your universal45 builds
  12. OTHER_COMPILER_FLAGS = "-Wall"
  13. # End of build configuration
  14. # Add the build directory to the python path to be able to find the imports below
  15. import os
  16. import sys
  17. importPath = os.path.abspath(os.path.join(JUKEBOX_SDK_DIR, "Tools", "Build"))
  18. sys.path.append(importPath)
  19. # Propagate variables to the main build script
  20. import buildconfig
  21. buildconfig.SOURCE_FILES = SOURCE_FILES
  22. buildconfig.JUKEBOX_SDK_DIR = os.path.normpath(JUKEBOX_SDK_DIR)
  23. buildconfig.INCLUDE_DIRS = INCLUDE_DIRS
  24. buildconfig.OTHER_COMPILER_FLAGS = OTHER_COMPILER_FLAGS
  25. # Clang's static code analysis is turned on by default. Uncomment to temporarily turn off.
  26. # buildconfig.STATIC_ANALYSIS = False
  27. # Default is low verbosity during builds. All errors and warnings are still visible though.
  28. # buildconfig.VERBOSE_BUILD = True
  29. # Start the main build script
  30. import build
  31. build.doBuild(sys.argv)