summaryrefslogtreecommitdiffstats
path: root/Modules/UseSWIG.cmake
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2009-10-30 15:13:00 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2009-10-30 15:13:00 (GMT)
commit3d898c253466302367a9b0743dfaa165114c7d1f (patch)
tree6612277294a470be62db28473ac1126b9fa1c14e /Modules/UseSWIG.cmake
parentc0ec66b6d7ea9858b9cffe7c84f5e8c1602ff577 (diff)
downloadCMake-3d898c253466302367a9b0743dfaa165114c7d1f.zip
CMake-3d898c253466302367a9b0743dfaa165114c7d1f.tar.gz
CMake-3d898c253466302367a9b0743dfaa165114c7d1f.tar.bz2
FIX: BUG: 0002199 Adding documentation for swig_generated_file_fullname
Diffstat (limited to 'Modules/UseSWIG.cmake')
-rw-r--r--Modules/UseSWIG.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index f660a09..c79efac 100644
--- a/Modules/UseSWIG.cmake
+++ b/Modules/UseSWIG.cmake
@@ -6,7 +6,7 @@
# - Link libraries to swig module
# All other macros are for internal use only.
# To get the actual name of the swig module,
-# use: ${SWIG_MODULE_name_REAL_NAME}.
+# 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
# special flags to all swig calls.
@@ -14,9 +14,14 @@
# where to write all the swig generated module (swig -outdir option)
# 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@gmail.com>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.