Hello all,
In my project, I've added a custom command, which is supposed to run as POST
BUILD event. Its some thing like this.
For each of the source file in the directory, run a perl script on that
source file and create some output file.

Lets say I've 100 source files, so I end with 100 post build commands.
The problem is, I'm getting an error code 255 (Command line too long). I'm
trying to reduce the command line length and test the build again.

When I build the target, VS says, the target is up to date. (The library is
okay. but the post build command fails). Is there any way I can run post
build command only if it fails the previous time?

Thanks in advance,
Surya
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to