PDA

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


newsbot
03.03.2013, 22:11
Автор: 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'>[c12538] 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."

(based on commit [12390] - f123635)

Signed-off-by: DasBlub <DasBlub@gmail.com></pre>


Подробнее... (https://github.com/cmangos/mangos-cata/commit/243ab598d8ff6fce9fceffca63d116b0967f5637)