Re: setting check attribute for header files

Bram Moolenaar <[email protected]> Mon, 06 Aug 2007 22:09:30 +0200
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Pavol Juhas wrote:

> I would like to use the c_md5 check attribute for header and source
> files in my work directory, without changing the DEFAULTCHECK value.
> The reason is I have a project where aap checks large header files
> from $HOME/include directory and it takes a really long time with
> DEFAULTCHECK = c_md5.
> 
> I tried the :attribute command in main.aap as follows:
> 
> ----------------------------------------------------------------
> :attribute {check = c_md5} hello.h hello.c
> :program  hello : hello.c
> ----------------------------------------------------------------
> 
> However, this builds the target from scratch every time, even 
> if source files are not changed at all. 
> Is this a bug or am I missing something?

Please have a good look at the log file.  It should mention the reason
why Aap is building "hello".

Perhaps you can also try splitting it up in separate build instructions.
If that works then it's a bug in :program.

-- 
>From "know your smileys":
 :-&	Eating spaghetti

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/