Re: [CMake] How to rerun cmake if a file changes

2010-11-23 Thread Vladislav Vaintroub
> -Original Message- > From: Eric Noulard [mailto:eric.noul...@gmail.com] > Sent: Dienstag, 23. November 2010 21:07 > To: Vladislav Vaintroub > Cc: cmake@cmake.org > Subject: Re: [CMake] How to rerun cmake if a file changes > > 2010/11/23 Vladislav Vaintroub :

Re: [CMake] How to rerun cmake if a file changes

2010-11-23 Thread Eric Noulard
2010/11/23 Vladislav Vaintroub : > Hello, > we use a text file as input for out build to store version info.  The > content of this file is > ./VERSION: > > MYSQL_VERSION_MAJOR=5 > MYSQL_VERSION_MINOR=5 > MYSQL_VERSION_PATCH=8 > MYSQL_VERSION_EXTRA= > > During cmake run, the information is extracte

[CMake] How to rerun cmake if a file changes

2010-11-23 Thread Vladislav Vaintroub
Hello, we use a text file as input for out build to store version info. The content of this file is ./VERSION: MYSQL_VERSION_MAJOR=5 MYSQL_VERSION_MINOR=5 MYSQL_VERSION_PATCH=8 MYSQL_VERSION_EXTRA= During cmake run, the information is extracted, parsed, CPACK_PACKAGE_FILE_NAME is generated, and