mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Merge pull request #2052 from heinrich5991/pr_cmake_invalidorder
Add a notification when files are not sorted in CMake
This commit is contained in:
commit
225d3243f0
|
@ -218,6 +218,9 @@ function(set_glob VAR GLOBBING EXTS DIRECTORY) # ...
|
|||
if(GLOB_BUT_NOT_LIST)
|
||||
message(AUTHOR_WARNING "Entries only present in ${DIRECTORY}: ${GLOB_BUT_NOT_LIST}")
|
||||
endif()
|
||||
if(NOT LIST_BUT_NOT_GLOB AND NOT GLOB_BUT_NOT_LIST)
|
||||
message(AUTHOR_WARNING "${VAR} is not alphabetically sorted")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue