[ros-dev] [project-tools] Revision 1363: [ROSBE-UNIX] Implement support for pre-build & post-build hook scripts in RosBE-Unix.
jerome.gardou at laposte.net
Sun Jan 29 10:03:09 UTC 2012
Le 28/01/2012 23:30, Colin Finck a écrit :
> pschweitzer at 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 at reactos.org
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)
More information about the Ros-dev