Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the build system #171

Merged
merged 1 commit into from
Aug 17, 2018
Merged

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Aug 17, 2018

  • The SCons option system is now used for validation
  • An help message can now be displayed using scons -h
  • New use_mingw option to compile using MinGW on Windows
  • Removed arch in favor of bits
  • Renamed headers to headers_dir
  • Built libraries now contain the target in the file name

Help message preview:

❯ scons -h
scons: Reading SConscript files ...
scons: done reading SConscript files.

platform: Target platform (linux|osx|windows)
    default: linux
    actual: linux

bits: Target platform bits (default|32|64)
    default: default
    actual: default

use_llvm: Use the LLVM compiler - only effective when targeting Linux (yes|no)
    default: False
    actual: False

use_mingw: Use the MinGW compiler - only effective on Windows (yes|no)
    default: False
    actual: False

target: Compilation target (debug|release)
    default: debug
    actual: debug

headers_dir: Path to the directory containing Godot headers ( /path/to/headers_dir )
    default: godot_headers
    actual: godot_headers

Use scons -H for help about command-line options.

Note that the p and a aliases were removed. I can re-add the former for consistency with the Godot build system if desired.

- The SCons option system is now used for validation
- An help message can now be displayed using `scons -h`
- New `use_mingw` option to compile using MinGW on Windows
- Removed `arch` in favor of `bits`
- Renamed `headers` to `headers_dir`
- Built libraries now contain the target in the file name
@Calinou Calinou force-pushed the improve-buildsystem branch from bcb8539 to 46fe7ad Compare August 17, 2018 10:01
@karroffel karroffel merged commit 72d227d into godotengine:master Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants