[CMake] Applying command to source files

Juan Sanchez Juan.Sanchez at amd.com
Fri Nov 16 14:01:35 EST 2007


James Bigler wrote:
>> Eric Noulard wrote:
>>> 2007/11/16, Juan Sanchez <Juan.Sanchez at amd.com>:
>>>
>>>> Shouldn't that be a script in your source code management tool?  For
>>>> example, the indentation policy will be enforced the moment the  
>>>> file is
>>>> checked in.
>>> Yes your are damn right, and I did this in the past.
>>>
>>> But, the fact is the concerned project is hosted on a server
>>> where I have not enough privilege to run such scripts
>>> for security reason.
>>>
>>> I don't think that popular project hosting service
>>> like Sourceforge, BerliOS, Savannah do authorize such "user" scripts.
>>>
>> Apparently sourceforge supports commit scripts.
>>
>> http://sourceforge.net/docs/E04/#scripts
> 
> That may work for CVS, but sourceforge doesn't allow any custom  
> scripts for subversion repositories.
> 
> http://sourceforge.net/docman/display_doc.php? 
> docid=31070&group_id=1#scripts


But if you ask nicely, they may install it for you.  Quoting the bottom
of section 09 in your link.
<quote
To request additional hook scripts be installed for use, submit a
Feature Request.
/quote>

It seems to be a popular paradigm.

Juan







More information about the CMake mailing list