summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2021-04-11Merge pull request #3773 from Holzhaus/config-h-inUwe Klotz
CMake: Use config.h.in instead of command line defintions for paths
2021-04-06CMake: Use config.h.in instead of command line defintions for pathsJan Holthuis
2021-04-05Reorder cmake_policy() before project()Uwe Klotz
Some of them might affect how project() works. Additional changes: - Require CMake minimum version 3.16 instead of 3.16.0 - Reorder list by CMP numbers - Add documentation for CMP0069
2021-03-30WMainMenuBar: Unify manual/keyboard shortcut PDF detectionJan Holthuis
2021-03-30WMainMenuBar: Add support for detection Keyboard PDF in res/ dirJan Holthuis
2021-03-29create PDF with keyboard shortcut overviewronso0
2021-03-29Advance minimum requirement to cmake 3.16 because of not working cpack ↵Daniel Schürmann
workaround for older versions
2021-03-26CMake: Fix Qt resource files with CMake 3.20Jan Holthuis
Fixes https://bugs.launchpad.net/mixxx/+bug/1921549.
2021-03-19CMake: Fix detection of hidapi_VERSIONUwe Klotz
2021-03-18CMake: Improve comments for cmake_dependent_optionJan Holthuis
2021-03-18CMake: Use default_option instead of cmake_dependent_option for defaultsJan Holthuis
Before, we often used `cmake_dependent_option` for options depending on the availability of dependencies. However, this is not the proper way to use that macro, because if the dependencies is missing, it will forcibly set the option to off and not cause a warning if the user tries to set it to on. `cmake_dependent_option` should only be used for disabling options based on the platform, where that option will never be available, not based on dependencies that may be present or not. Instead, this adds a new macro `default_option` that allows to provide a default depending on the value of other variables/options. The user may still override that default and will run into an error message in that case. From the user's perspective this is preferable instead of silently dropping the option, because then the user will only notice afterwards that some functionality is missing (despite setting the corresponding feature flag `-DUSE_FOO=ON` on the command line).
2021-03-17CMake: Fix wrong WAVPACK optionJan Holthuis
2021-03-17Merge pull request #3707 from uklotzde/windows-ffmpegJan Holthuis
Windows: Enable, test, and then disable SoundSourceFFmpeg as fallback
2021-03-17Use cmake_dependent_option() for WavPack consistentlyUwe Klotz
2021-03-17Delete redundant cmake_dependent_option()Uwe Klotz
2021-03-17CMake: Restrict MEDIAFOUNDATION to WindowsUwe Klotz
2021-03-17CMake: Simplify FFmpeg optionUwe Klotz
2021-03-16CMake: Fix typo in Shoutidjc_FOUND variable nameJan Holthuis
2021-03-14Allow to enable FFmpeg even if no component versions availableUwe Klotz
2021-03-14Fix FFmpeg build error messagesUwe Klotz
2021-03-13Merge pull request #3689 from JoergAtGithub/fix_nonicremental_windows_build_2.3Daniel Schürmann
Fix for fatal error LNK1117: syntax error in option 'INCREMENTAL:NO:NO'
2021-03-13Clean replacement of /INCREMENTAL, which should no longer rely on unmodified ↵JoergAtGithub
CMake defaults
2021-03-11widget: Add WRateRange widget for displaying the current rate slider rangeKatsarov
2021-03-10Remove /INCREMENTAL and /INCREMENTAL:NOJoergAtGithub
2021-03-10Fix for fatal error LNK1117: syntax error in option 'INCREMENTAL:NO:NO'JoergAtGithub
2021-03-08Merge pull request #3660 from Be-ing/remove_opt_icfDaniel Schürmann
CMake: do not use /OPT:ICF link option on Windows
2021-03-07CMake: add comment why /OPT:ICF is not usedBe
2021-03-03CMake: avoid warning about incompatible MSVC linker argumentsBe
2021-03-03Merge pull request #3647 from Be-ing/msvc_utf8Jan Holthuis
CMake: use /UTF8 with MSVC in all conditions
2021-02-26CMake: use /Z7 instead of /Zi on Windows to let caching workBe
2021-02-26use sccache on WindowsBe
2021-02-26CMake: do not use /OPT:ICF link option on WindowsBe
This caused a linker warning: LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification Also, it makes debugging confusing. From https://docs.microsoft.com/en-us/cpp/build/reference/opt-optimizations?view=msvc-160 because /OPT:ICF can merge identical data or functions, it can change the function names that appear in stack traces. It can also make it impossible to set breakpoints in certain functions or to examine some data in the debugger, and can take you into unexpected functions when you single-step through your code. The behavior of the code is identical, but the debugger presentation can be very confusing. Therefore, we do not recommend that you use /OPT:ICF in debug builds unless the advantages of smaller code outweigh these disadvantages.
2021-02-25Merge pull request #3589 from daschuer/ipo_onBe
Disable IPO on all targets
2021-02-25disble the CMAKE_INTERPROCEDURAL_OPTIMIZATION code but keep it as comment ↵Daniel Schürmann
for documentation purpose.
2021-02-24Lower CMake Version to 3.13. Don't install unused developer symlink of ↵Daniel Schürmann
linfdk-aac.dylib
2021-02-22CMake: use /UTF8 with MSVC in all conditionsBe
2021-02-22Merge remote-tracking branch 'upstream/2.3' into ipo_onDaniel Schürmann
2021-02-22Merge pull request #3563 from Be-ing/utf8Uwe Klotz
CMake: tell MSVC that source code is UTF8
2021-02-22Merge pull request #3571 from daschuer/CPackDebInstallBe
Make the CPack DEB packet and the PPA build equal using
2021-02-22Merge pull request #3631 from ronso0/novinylUwe Klotz
remove Novinyl preferences page
2021-02-22Merge pull request #3615 from Be-ing/fdk-aac_rebaseJan Holthuis
fdk-aac encoder + libshout-idjc + vcpkg Windows dependencies integration
2021-02-22fix package descriptionDaniel Schürmann
2021-02-17CMake: add comment why qt_de.dm is searched forBe
2021-02-17Added hirsute to our beta PPA build targetsDaniel Schürmann
2021-02-16CMake: disable FFMPEG automatically if it is too oldBe
2021-02-16Encoder: fix build with OPUS=OFFBe
2021-02-16factor out SemanticVersion into a utility classBe
2021-02-16CMake: enable FFMPEG if it is foundBe
2021-02-16CMake: cleanup hacks for legacy Windows build environmentBe
2021-02-16CMake: copy libfdk-aac into Windows and macOS packagesBe