c73ee8d998
Makefile: Add build target for release
...
Fixes T77353
2020-06-11 17:28:01 -04:00
cbd6c5735d
GNUmakefile: remove style checking targets
...
This has been removed since clang-format now enforces code-style.
2020-04-17 12:33:40 +10:00
6669eca820
Build: use clang-format from precompiled libraries for make format on Linux
...
Ref T73747
2020-02-15 13:44:20 +01:00
2ff1919b45
Fix make BUILD_CMAKE_ARGS not combining with targets like ninja and lite
...
Previously make BUILD_CMAKE_ARGS="" on Linux and macOS would override any cmake
arguments that come from the targets. Now they are concatenated.
2019-11-22 17:38:15 +01:00
99640d0622
Fix building on NetBSD
2019-11-18 16:27:06 +11:00
60d0446db3
GNUmakefile: use tar.xz instead of tar.gz
...
Also rename "make tgz" to "make source_archive" as it wasn't clear
this only archived the source, not binaries.
D6153 by @JRottm with minor edits
2019-10-31 00:19:05 +11:00
64c8e9a219
macOS: don't require python3 to be installed to run "make update"
...
And fall back to python3 from our libraries for other commands, once checked
out with make update.
2019-09-30 10:51:17 +02:00
6472662d66
Build: add "make test" command for Windows, output log file
...
Differential Revision: https://developer.blender.org/D5715
2019-09-12 20:23:03 +02:00
464e545c72
Tests: move "make test" on macOS and Linux to Python script
2019-08-30 17:57:18 +02:00
018fe9e006
Build: move "make update" on macOS and Linux to Python script
...
Differential Revision: https://developer.blender.org/D5545
2019-08-30 17:57:18 +02:00
410cde82e3
Fix "make deps" error when building deps with make and Blender with ninja
2019-08-30 17:57:18 +02:00
4815bd7748
Fix wrong detection in recent ninja build change
2019-08-12 17:28:01 +02:00
102035373a
Build: automatically detect ninja build system when running "make"
...
So that you don't have to specify "make ninja" every time.
2019-08-12 15:24:23 +02:00
afff94f09f
Build: add ninja target to make wrapper
...
To use the ninja build tool which is typically faster than make, especially
for quick rebuilds.
2019-08-05 15:25:36 +02:00
2d60a54649
Build: add config for developers
...
This has faster builds, error checks and tests. The number of cmake options
for this type of thing has grown over the years and it's convenient to be
able to point new developers to a single target.
Previously the combination of all these options did not work correctly, now
all tests should pass.
The easiest way to use this is with the make wrapper, for example:
make full developer debug
Or set it manually with CMake:
cmake -C ../blender/build_files/cmake/config/blender_developer.cmake .
Differential Revision: https://developer.blender.org/D5149
2019-08-05 15:25:36 +02:00
760dbd1cbf
Cleanup: misc spelling fixes
...
T68035 by @luzpaz
2019-08-01 14:02:41 +10:00
c553b790fc
macOS: rename blender.app to Blender.app
...
Using a capitalized app name fits the platform guidelines. Since macOS file
systems are case insensitive by default this should not break scripts that
assume lowercase.
2019-06-21 23:37:40 +02:00
Dmitriy Efimov
8efc781ddc
GNUMakeFile: Fix bad command line to generate QTCreator project.
...
Report with fix in D5035 by Dmitriy Efimov (@DarkDemiurg), thanks.
2019-06-07 14:27:46 +02:00
6b9ce24338
GNUMakefile: disable tab expansion for 'make format'
...
This was only needed for initial migration.
2019-04-21 04:36:16 +10:00
65aebd0c11
GNUmakefile: move clang format utility
...
Makes more sense to place in 'utils_maintenance'.
2019-04-16 16:49:32 +02:00
d5a76451c0
GNUmakefile: add 'make format'
...
Convenience access to clang_format_paths.py utility.
2019-04-16 15:43:42 +02:00
b1c3d91aed
Makefile: icons target now uses make variables
...
Add examples in help text.
2019-02-28 10:37:49 +11:00
c6681c65dd
Makefile: use BLENDER_BIN variable if passed in
...
When the default build path isn't used,
it's still handy to be able to run utility commands.
2019-02-28 10:35:38 +11:00
c702e57b3c
Makefile: move help text to string literal
...
Editing text in @echo commands wasn't convenient.
2019-02-28 10:12:24 +11:00
ade4017293
GNUmakefile: fix deps directory
...
`uname -p` is unknown on some distros, use posix standard `uname -m`.
2019-02-09 17:00:57 +11:00
c9df453ce7
Update for moving blender2.8 to master.
2018-12-21 12:15:21 +01:00
8e183a83b7
Fix "make update" on macOS/Linux not updating addons to the blender2.8 branch.
...
This will need to be removed once we merge into master.
2018-10-30 14:43:09 +01:00
8f51308dba
Build: allow overriding DEPS_BUILD_DIR and DEPS_INSTALL_DIR for make deps.
2018-09-24 15:48:50 +02:00
0a23d39b9f
Merge branch 'master' into blender2.8
2018-09-13 16:21:56 +10:00
99e06af9c8
Cleanup: move 'make help_features' into own file
2018-09-13 16:20:02 +10:00
a4e4dc1b75
Merge branch 'master' into blender2.8
2018-09-13 15:39:21 +10:00
ffe5b92325
PyDoc: disable ASAN exit code for doc building
...
Prevented docs from building on any minor issue when ASAN was enabled.
2018-09-13 15:37:30 +10:00
8926aa6f67
Merge branch 'master' into blender2.8
2018-08-21 20:28:28 +10:00
45721499b3
Correct recent makefile OSX check
2018-08-21 20:27:36 +10:00
15acbbdc1e
Merge branch 'master' into blender2.8
2018-08-21 19:25:49 +10:00
122ef17ab2
GNUmakefile: correct blender binary for macOS
2018-08-21 19:20:01 +10:00
12acf1e4f8
Cleanup: Update some links to new wiki
2018-08-13 21:55:30 -04:00
57e6359920
PyDoc: Remove hack to rename main doc from 'contents' to 'index'
2018-08-13 20:51:33 -04:00
5e2804a40b
Merge branch 'master' into blender2.8
2018-07-13 18:20:10 +02:00
87535dd73d
Makefile: add note about environment vars
2018-07-13 18:16:05 +02:00
Dalai Felinto
dfd82b18df
Merge remote-tracking branch 'origin/master' into blender2.8
2018-04-25 09:31:25 +02:00
Dalai Felinto
5285de16f3
Fix string comparison in GNUMakefile for linux systems
2018-04-25 09:30:55 +02:00
24bde1ca43
Add "make icons_geom" convenience target
...
Generates icons from the blend file in lib.
2018-04-24 12:09:31 +02:00
6b3d85fa51
Build: auto detection of libraries built by "make deps" on Linux.
...
Use the libraries if they exist in ../lib/linux_x86_64 or similar, so
that you can run "make deps && make full" to get a full static build.
Note that install_deps.sh is still the only officially supported way to
build Blender dependencies on Linux, but this may be useful to some.
Differential Revision: https://developer.blender.org/D2980
2018-01-11 22:30:31 +01:00
04e8a09662
GNUmakefile: add back 'git pull'
...
Seems this was removed by accident.
2017-09-29 19:02:20 +10:00
c10ac1bb5c
macOS: officially upgrade to 10.9 libraries from lib/darwin.
...
This removes a bunch of code that is no longer needed, and running
"make update" will now automatically download the new libraries.
Differential Revision: https://developer.blender.org/D2861
2017-09-28 20:53:06 +02:00
05be2a8c45
Cleanup: de-duplicate makefile OS checks
2017-08-10 22:37:35 +10:00
3c14f02eac
Build: add scripts to build dependencies for Windows and macOS.
...
Note these are intended for platform maintainers, we do not intend to
support users making their own builds with these. For that precompiled
libraries from lib/ should be used.
Implemented by Martijn Berger, Ray Molenkamp and Brecht Van Lommel.
Differential Revision: https://developer.blender.org/D2753
2017-08-07 17:54:26 +02:00
b796ce0f26
CMake: Only set CMAKE_BUILD_TYPE_INIT when not set
...
Convenience makefile now uses CMAKE_BUILD_TYPE_INIT,
this means you can change the build type of an existing build
and it won't be overwritten when running `make`.
Useful if you want to add debug info to a release build for profiling.
2017-06-27 09:50:35 +10:00
5be8adf8c0
Makefile: set tab width=4
2017-03-11 20:48:12 +11:00