0
0
forked from blender/blender
blender/build_files/windows
Sergey Sharybin a99d9ba635 Blender 3.6: Switch SVN to Git submodules using Git-LFS
This change makes it so build system and update utilities for Blender builds
are using pre-compiled libraries and other resources attached as Git modules
instead of using checkout of SVN repositories in the parent folder.

The directory layout:
```
  * release/datafiles/
    * assets/        -> blender-assets.git
      * publish/
      * ...
      * README.txt
  * lib/
    * darwin_x64/    -> lib-darwin_x64.git
    * darwin_arm64/  -> lib-darwin_arm64.git
    * linux_x64/     -> lib-linux_x64.git
    * windows_x64/   -> lib-windows_x64.git
  * tests/
    * data/         -> blender-test-data.git
```

The changes about configuring the actual Git sub-modules are not included
into this patch, as those require repository to actually exist before it
can be used.

The assets submodule is enabled by default, and the rest of them are
disabled. This means that if someone runs `git submodule update --init`
they will not get heavy libraries. The platform-specific and tests
related submodules are enabled when using `make update` or `make test`.

All the submodules are tracked: this means that when new commits are
done to the submodule, the blender.git repository is to be updated to
point them to the new hash. This causes some extra manual work, but it
allows to more easily update Blender and its dependencies to known good
state when performing operations like bisect.

Ref #108978

Pull Request: blender/blender#117946

Co-authored-by: Brecht Van Lommel <brecht@blender.org>
Co-authored-by: Ray Molenkamp <github@lazydodo.com>
Pull Request: blender/blender#118628
2024-02-22 19:57:43 +01:00
..
autodetect_msvc.cmd Windows: Retire MSVC 2017 support 2022-01-26 17:56:38 -07:00
build_msbuild.cmd make.bat : Fix builtime.txt being written in the wrong folder. 2018-05-26 19:20:07 -06:00
build_ninja.cmd make.bat : add support for building with ninja and clang together. 2018-05-28 19:56:17 -06:00
check_libraries.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
check_spaces_in_path.cmd
configure_msbuild.cmd Windows: Retire MSVC 2017 support 2022-01-26 17:56:38 -07:00
configure_ninja.cmd Windows: Retire MSVC 2017 support 2022-01-26 17:56:38 -07:00
detect_architecture.cmd Cleanup/windows: Remove 32 bit support from make.bat helper script 2019-08-05 10:31:51 -06:00
detect_msvc2019.cmd make.bat: Preliminary Visual Studio 2019 support. 2019-02-22 20:54:27 -07:00
detect_msvc2022.cmd Build/Windows: Preliminary VS 2022 support. 2021-06-21 18:11:30 -06:00
detect_msvc_vswhere.cmd make.bat: Improve messaging when not detecting MSVC 2020-03-31 13:14:16 -06:00
doc_py.cmd Windows: Add support to compile python api docs from make file 2021-08-06 13:55:14 -04:00
find_blender.cmd Windows: Add icons and icons_geom to make.bat 2021-08-04 19:32:24 -06:00
find_dependencies.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
find_inkscape.cmd Windows: Add icons and icons_geom to make.bat 2021-08-04 19:32:24 -06:00
find_sphinx.cmd Windows: Add support to compile python api docs from make file 2021-08-06 13:55:14 -04:00
format.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
icons_geom.cmd make.bat: unify python detection 2022-01-25 09:19:03 -07:00
icons.cmd make.bat: unify python detection 2022-01-25 09:19:03 -07:00
lib_update.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
parse_arguments.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
reset_variables.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
set_build_dir.cmd Cleanup/Win: Fix build folder name if no target is set 2019-08-02 08:25:18 -06:00
show_hashes.cmd Re-design of submodules used in blender.git 2023-02-21 16:39:58 +01:00
show_help.cmd Windows: Retire MSVC 2017 support 2022-01-26 17:56:38 -07:00
svn_fix.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
svn_update.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
test.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
update_sources.cmd Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00