Can I define a new source type, like .m4 and add rules for it? That would be ideal, I feel, for my case.
2009/6/5 Tyler Roscoe <ty...@cryptio.net>: > On Fri, Jun 05, 2009 at 10:10:07PM +0530, Prasad H. L. wrote: >> 2009/6/5 Denis Scherbakov <denis_scherba...@yahoo.com>: >> > >> >> Is it possible to set the preprocessing to all .m4 files >> >> avoiding a >> >> manual specification of list of files to processed? >> > >> > If your list of files changes all the time, you can use FILE(GLOB...) >> > to find all *.m4 files to automate process. >> >> I try this out. > > FYI this approach is not recommended since CMake then has no way to know > if you added a new file and thus cannot regenerate your build system for > you automatically. > > tyler > -- Prasad H. L. PhD Student (with Dr. Shalabh Bhatnagar) Department of Computer Science and Automation, Indian Institute of Science, Bangalore - 560012 _______________________________________________ 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