Re: [CMake] Running external programs

2010-04-08 Thread Ryan Pavlik
Look into "add_custom_command" - specifically the "post_build" option. Ryan On 04/08/2010 03:29 AM, mika.raj...@patria.fi wrote: Hi I need to generate a license file for my application and install it with the NSIS package generated. To generate it I need to run a program with various command

[CMake] Running external programs

2010-04-08 Thread Mika . Rajala
Hi I need to generate a license file for my application and install it with the NSIS package generated. To generate it I need to run a program with various command line arguments, one of which is a path to the compiled executable. add_executable(MyApp .) execute_process(LicenseApp "-f My