Hi, I made a slight change on FindBISON module, adding a new feature DEFINES_FILE that corresponds to bison command line option `--defines`. It is added because FindBISON always internally recognizes header file name as the one automatically generated by `-d` option, so passing `--defines` through COMPILE_FLAGS is not helpful.
Patch files are attached. This feature is formerly posted as an open PR on GitHub. <https://github.com/Kitware/CMake/pull/157> Now I moved to this mailing list under suggestion from Brad King. Please see the GitHub PR page for details. -- Eon Jeong
0001-Add-DEFINES-feature-for-FindBISON.patch
Description: Binary data
0002-Multiple-changes-under-adding-DEFINES_FILE-feature-f.patch
Description: Binary data
-- 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://public.kitware.com/mailman/listinfo/cmake-developers
