PDA

Просмотр полной версии : [12390] Do not use GLOB in CMake for source file lists


newsbot
03.03.2013, 02:00
Автор: DasBlub


<pre>m dep/src/g3dlite/CMakeLists.txt
m dep/src/gsoap/CMakeLists.txt
m src/bindings/universal/CMakeLists.txt
m src/framework/CMakeLists.txt
m src/game/CMakeLists.txt
m src/mangosd/CMakeLists.txt
m src/realmd/CMakeLists.txt
m src/shared/CMakeLists.txt
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12390] Do not use GLOB in CMake for source file lists

From the CMake documentation of the FILE command:
"We do not recommend using GLOB to collect a list of source files from your
source tree. If no CMakeLists.txt file changes when a source is added or
removed then the generated build system cannot know when to ask CMake to
regenerate."</pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/f123635457bce388b533cb2eb0e9f72e17775422)