aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Typo fixJeroen van Rijn2025-06-011-1/+1
|
* Also clean up .dSym on DarwinJeroen van Rijn2025-06-011-10/+18
|
* Allow overriding object extension in `-build-mode:obj`Feoramund2025-05-301-7/+35
|
* Remove trailing whitespaceFeoramund2025-05-301-1/+1
|
* Always provide /PDB option to linker if generating debug info.Jeroen van Rijn2025-05-291-4/+12
| | | | | | | radlink by default places the .PDB file in the working directory, even if /OUT says to place it elsewhere, unlike link.exe, which places it next to the executable by default. So, if compiling using -debug, we generate a PDB path even if -pdb-name wasn't used to override it.
* Add comments to `builtin.odin`, documenting ODIN_* constants. (#5218)Jeroen van Rijn2025-05-261-67/+68
| | | And document constants not previously listed.
* Rename -keep-test-executable to -keep-executableJeroen van Rijn2025-05-231-1/+1
|
* Tweak #5202Jeroen van Rijn2025-05-231-1/+0
| | | | Back out the new `-build-only` for tests in favor of the more established `-build-mode:test`, but retain the new `-keep-test-executable` option and default cleanup of test executables.
* Enable all sanitizers on FreeBSDFeoramund2025-05-221-6/+6
|
* Delete test executable after running, add `-keep-test-executable`Feoramund2025-05-221-0/+1
|
* Add `-build-only` for `odin test` commandFeoramund2025-05-221-0/+1
| | | | This allows test executables to be only built, not run too.
* Only trim `.odin` from build filenamesFeoramund2025-05-221-3/+26
|
* -dynamic-literalsJeroen van Rijn2025-05-191-0/+1
|
* Re-enable static map calls on AMD64 SysVFeoramund2025-05-181-6/+0
|
* Support subtargets in build tags: `#build darwin:generic` and `#build ↵gingerBill2025-04-101-4/+30
| | | | linux:android, darwin:ios`
* Fix `init_android_values` SDK check for `odin check`gingerBill2025-04-101-1/+1
|
* android bundling improvementsIllusionMan12122025-04-051-17/+0
| | | | | | | | | | | | | | replace `jarsigner` with build tools' `apksigner` which is capable of using newer signature schemes remove the `android-manifest` flag and assume the file exists in the directory we're bundling make `android-keystore-alias` and `android-keystore-password` optional. The former is not needed if there's only one key in the keystore, and the latter will be prompted by `apksigner` if missing don't change the working directory to the bundled directory to prevent confusion when passing a relative path to `android-keystore` add the `res`, `assets`, and `lib` directories to the bundle if they exist in the bundled directory
* fix: cross-compilation for android on linuxIllusionMan12122025-04-051-24/+24
| | | | | | | add `-nodefaultlibs` when cross-linking for android to prevent clang from linking with libgcc check build mode first before calling `init_android_values` to prevent printing a message that tells the user to set `-android-keystore` if its not set and build mode is exe
* feat: added a `-android-keystore-password` option to pass a password for the ↵IllusionMan12122025-04-041-0/+5
| | | | keystore instead of hardcoding it as `android`
* fix: strip trailing slashes for android keystore and jarsigner pathsIllusionMan12122025-04-041-0/+2
| | | | The `system()` call on linux was failing to execute the `jarsigner` command because its path had a trailing slash
* Command `package` -> `bundle`gingerBill2025-03-281-2/+8
|
* Use working directory for `aapt` commandsgingerBill2025-03-271-4/+0
|
* Use `u64` for the command kind just in casegingerBill2025-03-271-1/+1
|
* `odin package android`gingerBill2025-03-271-2/+2
|
* Begin work on `odin package-android` commandgingerBill2025-03-261-106/+111
|
* Disable `-build-mode:exe` for `-subtarget:android`gingerBill2025-03-261-2/+2
|
* Really bodgy android packing system for `odin build`gingerBill2025-03-261-3/+33
|
* Remove `_PATH` on android environment variablesgingerBill2025-03-261-38/+58
|
* Migrate `ODIN_ANDROID_*` constants to `build_settings.cpp`; ↵gingerBill2025-03-261-0/+71
| | | | `-minimum-os-version:<int>` for `-subtarget:android`
* Fix typosgingerBill2025-03-261-2/+2
|
* Allow `check` for `-subtarget:android`gingerBill2025-03-261-6/+12
|
* Very very rudimentary support for `-target:linux_arm64 -subtarget:android`gingerBill2025-03-261-1/+38
|
* few llvm 20 changesLaytan Laats2025-03-191-6/+6
|
* Add `-use-single-module`gingerBill2025-01-221-0/+5
|
* Enable `-use-separate-modules` as default for all platformsgingerBill2025-01-221-2/+0
|
* Error if -no-thread-local is used in presence of -no-crt on Unixflysand72025-01-171-5/+10
|
* Added compile-time checks for thread locals with -no-crtflysand72025-01-171-1/+15
| | | | | | | | Now using any thread-local variables with -no-crt enabled will cause a compiler error, unless -no-thread-local is given. Also fixed a minor typo in a comment.
* Make `-no-dynamic-literals` the default nowgingerBill2025-01-051-6/+0
|
* Add `#+feature dynamic-literals`gingerBill2025-01-051-0/+12
|
* fix #4547 - wasm -out without file extensionLaytan Laats2024-12-061-1/+1
|
* ABI change: for indirect parameters size_of <= 16, do callee stack copygingerBill2024-12-051-0/+1
|
* Fix typogingerBill2024-11-141-1/+1
|
* Add `-linker:<string>` to replace `-lld` and `-radlink`gingerBill2024-11-141-3/+19
|
* Add `-radlink`gingerBill2024-11-141-1/+2
|
* Suggest `-microarch:native` if `popcnt` instruction is missing.Jeroen van Rijn2024-11-071-0/+1
| | | | Fixes #4453.
* Simplify use of pie0dminnimda2024-11-041-7/+0
|
* Add support for linking as pie0dminnimda2024-11-041-1/+8
|
* Disable exe path testgingerBill2024-10-081-13/+13
|
* Add `-vet-unused-procedures`gingerBill2024-09-171-0/+3
|
* Add `-vet-packages:<comma-separated-string-array>`gingerBill2024-09-171-2/+1
|