you may use

    set_source_files_properties(
      ${swig_generated_file_fullname}
      PROPERTIES COMPILE_FLAGS "-w"
      )

see cmake --help-module UseSWIG




--
View this message in context: 
http://cmake.3232098.n2.nabble.com/swig-how-do-I-set-compile-flags-on-the-generated-files-tp7582494p7582529.html
Sent from the CMake mailing list archive at Nabble.com.
--

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

Reply via email to