Aurélien Gâteau wrote:

> I defined a custom command to generate the .json

Why a custom target? Wouldn't it make sense to generate the json file at 
CMake-configure time using execute_process? The desktop file is not 
generated.

If that is possible, it 'makes the problem go away'. 

However, I think there is something to be said for being able to specify 
dependencies of the autogen target. That's something for the -developers 
list though. I've pushed a commit for testing and review:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ae016fa8a

Thanks,

Steve.


--

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to