Von: Marco Canini <[EMAIL PROTECTED]> > Hi. > I wonder if there's a "standard way"(tm) to deal with flex and bison in > cmake. > I tried to find something around but haven't found any solution. > It seems that also KDE doesn't have anything to integrate flex & bison > file generation inside cmake. > I would also expect to have the modules FindFlex and FindBison in the > default distribution. > Any suggestion is welcome. Attached a small script how I handle flex in one of my projects. You can invoke it by
ADD_FLEX_FILES(myProject_SRCS myFlexFile1.ll myFlexFile2.ll) bison should work the same way. HTH Christian -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Flex.cmake
Description: Binary data
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake