You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/cmake
Chris Burel 4392c8963c
[Linux] Prefer higher versioned clang compilers to lower versions (#6824)
If the user does not specify which compiler to use via cache variables in
the CMake invocation, we perform a search for which version to use.
Previously this was done using a glob search on some pre-defined paths, and
then sorting the results using `list(SORT ... COMPARE NATURAL)`. Sorting in
this manner results in lower versions being moved to the head of the list.
The first result in the list was then used. Consequently, if the user has
`clang-11` and `clang-12` installed, `clang-11` was chosen.

This reverses the sort order so that the highest installed version is
chosen.

Signed-off-by: Chris Burel <burelc@amazon.com>
4 years ago
..
3rdParty Updating assimp to the v12 packages (#6861) 4 years ago
Packaging Notices automation install (#6228) 4 years ago
Platform [Linux] Prefer higher versioned clang compilers to lower versions (#6824) 4 years ago
TestImpactFramework Erase existing artifacts before generation. 5 years ago
Tools Fixed CMake use with Android NDK 23 (#6460) 4 years ago
install Cherry-pick of Linux deb package to stabilization (#5778) 4 years ago
3rdParty.cmake Reading 3rdparty from manifest if it exists (#5840) 4 years ago
3rdPartyPackages.cmake Cherry-pick of Linux deb package to stabilization (#5778) 4 years ago
AzAutoGen.py Removes unnecessary loop (#6684) 4 years ago
CMakeFiles.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CommandExecution.cmake Some fixes for paths with spaces (#6757) 4 years ago
CompilerSettings.cmake Cherry-pick of Linux deb package to stabilization (#5778) 4 years ago
ConfigurationTypes.cmake Limits configuration types a project sees when using an engine SDK (#4033) 4 years ago
Configurations.cmake Limits configuration types a project sees when using an engine SDK (#4033) 4 years ago
Dependencies.cmake Set enable gem variants feature (#3631) 4 years ago
Deployment.cmake CMake Xcode Generator fix (#5771) 4 years ago
FileUtil.cmake Some var cleanup so it shows better-organized in cmake-gui. Some vars… (#2361) 5 years ago
Findo3de.cmake Fix an issue with project-centric ninja builds [Linux] (#3429) 5 years ago
Gems.cmake Set enable gem variants feature (#3631) 4 years ago
GeneralSettings.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Install.cmake Cherry-pick of Linux deb package to stabilization (#5778) 4 years ago
LYPackage_S3Downloader.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
LYPython.cmake [Mac] Generate O3DE SDK app bundle that can be notarized and distributed (#4150) 4 years ago
LYTestWrappers.cmake moved cmake variables 4 years ago
LYWrappers.cmake Cherry-pick of Linux deb package to stabilization (#5778) 4 years ago
LyAutoGen.cmake Improves runtime dependencies input dependency (#3665) 5 years ago
LySet.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Monolithic.cmake Enables monolithic for ServerLauncher (#5883) 4 years ago
O3DEJson.cmake Some var cleanup so it shows better-organized in cmake-gui. Some vars… (#2361) 5 years ago
OutputDirectory.cmake Detects that binary dir and install prefix are not the same (#4091) 4 years ago
PAL.cmake Fix PAL.cmake logic, thanks to lumberyard-employee-dm! (#3516) 5 years ago
PALTools.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Packaging.cmake Notices automation install (#6228) 4 years ago
PackagingConfig.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Projects.cmake [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
RuntimeDependencies.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SettingsRegistry.cmake Detects runtime dependency cycles (#5634) 4 years ago
UnitTest.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Version.cmake Force a string check on the version numbers 4 years ago
__init__.py Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
cmake_files.cmake Removed unused EngineJson.cmake file (#4107) 4 years ago
createplatformfiles.py Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
gemcmake.py Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
mocfix.py Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
projectcmake.py Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
reroot.py Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
waffiles2cmake.py Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
warn_fix.py Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago