[Cmake-commits] [cmake-commits] malaterre committed UseSWIG.cmake 1.19 1.20

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 30 11:13:03 EDT 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv16119

Modified Files:
	UseSWIG.cmake 
Log Message:
FIX: BUG: 0002199 Adding documentation for swig_generated_file_fullname


Index: UseSWIG.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/UseSWIG.cmake,v
retrieving revision 1.19
retrieving revision 1.20
diff -C 2 -d -r1.19 -r1.20
*** UseSWIG.cmake	30 Oct 2009 15:07:10 -0000	1.19
--- UseSWIG.cmake	30 Oct 2009 15:13:00 -0000	1.20
***************
*** 7,11 ****
  # All other macros are for internal use only.
  # To get the actual name of the swig module,
! # use: ${SWIG_MODULE_name_REAL_NAME}.
  # Set Source files properties such as CPLUSPLUS and SWIG_FLAGS to specify
  # special behavior of SWIG. Also global CMAKE_SWIG_FLAGS can be used to add
--- 7,11 ----
  # All other macros are for internal use only.
  # To get the actual name of the swig module,
! # use: ${SWIG_MODULE_${name}_REAL_NAME}.
  # Set Source files properties such as CPLUSPLUS and SWIG_FLAGS to specify
  # special behavior of SWIG. Also global CMAKE_SWIG_FLAGS can be used to add
***************
*** 15,21 ****
--- 15,26 ----
  # The name-specific variable SWIG_MODULE_<name>_EXTRA_DEPS may be used
  # to specify extra dependencies for the generated modules.
+ # If the source file generated by swig need some special flag you can use
+ # SET_SOURCE_FILES_PROPERTIES( ${swig_generated_file_fullname}
+ #        PROPERTIES COMPILE_FLAGS "-bla")
+ 
  
  #=============================================================================
  # Copyright 2004-2009 Kitware, Inc.
+ # Copyright 2009 Mathieu Malaterre <mathieu.malaterre at gmail.com>
  #
  # Distributed under the OSI-approved BSD License (the "License");



More information about the Cmake-commits mailing list