[CMake] swig - how do I set compile flags on the generated files?

felix felix.schwitzer at gmx.at
Thu Nov 29 16:45:27 EST 2012


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.


More information about the CMake mailing list