On 8 July 2012 13:34, Mateusz Loskot <[email protected]> wrote: > Hi, > > I'm porting build configuration based on GNU Autotools to CMake > and I have to deal with C preprocessing to generate a file. > > The input for preprocessor is SQL file with C preprocessor directives > used, like #include "another.sql", etc. > [...]
FYI, I also posted this question to StackOverflow http://stackoverflow.com/questions/11383314/how-to-configure-cmake-target-or-command-to-preprocess-c-file Perhaps there are some SO users here, then feel free to copy your answer to SO. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net -- 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
