On 07/15/2011 05:41 PM, David Cole wrote:
> On Fri, Jul 15, 2011 at 10:55 AM, Michael Hertling
> wrote:
>> On 07/14/2011 02:34 PM, David Cole wrote:
>>> The only way to guarantee that your install SCRIPT and CODE segments
>>> run last is to put them in their own subdirectory, and add it last.
>>>
Am Donnerstag, 14. Juli 2011, 10:51:27 schrieb Mathias Tausig:
> Hy!
>
> My CMakeLists.txt in the top directory looks like this:
>
> ADD_SUBDIRECTORY(dir1)
> ADD_SUBDIRECTORY(dir2)
> INSTALL (SCRIPT setpermissions.cmake)
>
> setpermissions.cmake changes some file-owner permissions of the stuff
>
On Fri, Jul 15, 2011 at 10:55 AM, Michael Hertling wrote:
> On 07/14/2011 02:34 PM, David Cole wrote:
>> The only way to guarantee that your install SCRIPT and CODE segments
>> run last is to put them in their own subdirectory, and add it last.
>>
>> i.e. :
>> dir3/CMakeLists.txt:
>> INSTALL (SCRI
On 07/14/2011 02:34 PM, David Cole wrote:
> The only way to guarantee that your install SCRIPT and CODE segments
> run last is to put them in their own subdirectory, and add it last.
>
> i.e. :
> dir3/CMakeLists.txt:
> INSTALL (SCRIPT setpermissions.cmake)
>
> CMakeLists.txt:
> ADD_SUBDIRECTORY(d
The only way to guarantee that your install SCRIPT and CODE segments
run last is to put them in their own subdirectory, and add it last.
i.e. :
dir3/CMakeLists.txt:
INSTALL (SCRIPT setpermissions.cmake)
CMakeLists.txt:
ADD_SUBDIRECTORY(dir1)
ADD_SUBDIRECTORY(dir2)
# last, so it's install rules ru
Hy!
My CMakeLists.txt in the top directory looks like this:
ADD_SUBDIRECTORY(dir1)
ADD_SUBDIRECTORY(dir2)
INSTALL (SCRIPT setpermissions.cmake)
setpermissions.cmake changes some file-owner permissions of the stuff
that has been installed from dir1 and dir2. The problem is: if I execute
"make ins