Le 28/01/2012 23:30, Colin Finck a écrit :
pschweitzer@svn.reactos.org wrote:
touch boot/bootdata/packages/reactos.dff.in
We can't put this one-liner into the CMakeLists.txt file? execute_process should do the job if there is no "touch" command in CMake itself.
Your change makes RosBE depend on a very specific file in a very specific path of the source tree (=> tree change only possible with an updated RosBE). In addition, these hooks separate the build logic between CMake and RosBE and pave the way for even more source tree dependent changes in RosBE. I like to avoid this.
- Colin
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
I don't know why this is needed at all, but in cmake files you can use "cmake -E touch" for portability (windows have no default touch afaik)