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

Gitlab-ci: Update Windows builder configs #119

Merged
merged 18 commits into from
Apr 18, 2021
Merged

Gitlab-ci: Update Windows builder configs #119

merged 18 commits into from
Apr 18, 2021

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Apr 18, 2021

This PR (which actually also contains #118, a prerequisite) updates the project's Windows builder configs in .gitlab-ci.yml following changes / enhancements to the MSYS2-managed MinGW32 and MinGW64 build environment(s).

The changes of real interest are all described at #118.

- This matters on Windows, as it controls where the DLL files
  end up. (They belong in the same directory as .exe files.)
- The 32-bit MinGW install now lives at `C:\msys64\mingw32\`
- All multi-arch binaries are expected to be in one of the
  MinGW subdirs, either `C:\msys64\mingw32` or `C:\msys64\mingw64`
  (The shell's `$env:Path` is set accordingly.)
- Use "MinGW Makefiles" generator, primarily because it
  automatically sets the correct CMAKE_MAKE_PROGRAM.
- The Linux builder's CMake is too old to install targets from a
  parent directory.
- target_compile_definitions() is not the same thing as
  target_compile_options()
- The Linux builder's CMake is too old to install targets from a
  parent directory.
- target_compile_definitions() is not the same thing as
  target_compile_options()
@ferdnyc
Copy link
Contributor Author

ferdnyc commented Apr 18, 2021

Merging this as well, to start getting the Windows builders back on track.

@ferdnyc ferdnyc merged commit ec7de35 into develop Apr 18, 2021
@ferdnyc ferdnyc deleted the mingw-paths branch April 18, 2021 22:54
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.

None yet

1 participant