Hello,

In my root project CMakeLists.txt file I'm using the file(STRINGS ...) command to read some version numbers from a text file. Now I'd like to declare this text file as a CMakeLists.txt dependency to re-trigger the CMake configuration step if a version number changes (Just like re-configuration is triggered if I touch any CMakeLists.txt file).

Is there an easy way to accomplish this?

Thanks,
Gregor
--

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