Is there a nice way to implement my own preprocessor (before standard C++ preprocessing) from within qmake framework.
I envision something like this in the .pro file:
Qt Code:
SOURCES += file1.cpp SPECIAL_SOURCES += file2.cpp include(process_special_sources.pri)To copy to clipboard, switch view to plain text mode
Here, process_special_sources.pri would somehow preprocess file2.cpp and create special_file2.cpp and add it to the SOURCES variable.
Does this sound feasible? Is there a better way?
Thanks!




Reply With Quote
Bookmarks