| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit 89b01b04fa (UseSWIG: use swig tool to generate
dependencies, 2021-01-12, v3.20.0-rc1~120^2) we use a tool-provided
depfile to extract dependencies under the Ninja generator. Enable
`CMP0116` to ensure depfile paths are translated to match what the Ninja
generator writes to the build manfiest.
Fixes: #22029
|
| |
| |
| |
| |
| |
| |
| |
| | |
Backport commit de7f0aa6c0 (UseSWIG: avoid spurious policy warnings,
2021-02-11) to the 3.20 release branch. Projects need to be able to
control policies.
Issue: #22029
|
| |
| |
| |
| | |
Fixes: #21542
|
|/ |
|
|
|
|
|
|
| |
add_custom_command() supports option DEPFILE when generator is
Makefiles or Ninja. And swig tool is able to generate a dependencies
file which is compatible with DEPFILE option.
|
|
|
|
| |
Issue: #19715
|
|
|
|
|
|
|
| |
These properties enable to manage output directories on
per source file basis.
Fixes: #21250
|
|\
| |
| |
| |
| |
| |
| | |
d264685bee UseSWIG: Update option -interface usage
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5172
|
| |
| |
| |
| |
| |
| |
| | |
Option -interface must not be used if multiple SWIG files are part
of the same library.
Fixes: #21134
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See https://github.com/codespell-project/codespell#readme
The following command was used:
```
codespell -q6 --skip="\
.git,\
*.json,\
./Copyright.txt,\
./Help/command/foreach.rst,\
./Help/prop_test/REQUIRED_FILES.rst,\
./Help/variable/CTEST_COVERAGE_COMMAND.rst,\
./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\
./Modules/CMakeRCInformation.cmake,\
./Modules/Internal/CPack/NSIS.template.in,\
./Modules/FindMatlab.cmake,\
./Modules/MatlabTestsRedirect.cmake,\
./Modules/Platform/Windows-Clang.cmake,\
./Modules/Platform/Windows-Intel-Fortran.cmake,\
./Modules/Platform/Windows-MSVC.cmake,\
./Source/CMakeVersion.cmake,\
./Source/cmConvertMSBuildXMLToJSON.py,\
./Source/cmCreateTestSourceList.cxx,\
./Source/cmGlobalVisualStudio10Generator.cxx,\
./Source/cmExportBuildFileGenerator.cxx,\
./Source/cmExportInstallAndroidMKGenerator.cxx,\
./Source/cmExportInstallFileGenerator.cxx,\
./Source/cmExportSet.cxx,\
./Source/cmExportTryCompileFileGenerator.cxx,\
./Source/cmFindPackageCommand.cxx,\
./Source/cmInstallCommand.cxx,\
./Source/cmGeneratorExpressionLexer.cxx,\
./Source/cmLocalVisualStudio7Generator.cxx,\
./Source/cmOrderDirectories.cxx,\
./Source/cmTarget.cxx,\
./Source/kwsys/*,\
./Source/QtDialog/CMakeSetupDialog.ui,\
./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\
./Source/CTest/cmParseCoberturaCoverage.h,\
./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\
./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\
./Tests/RunCMake/GoogleTest/xml_output.cpp,\
./Tests/RunCMake/Make/TargetMessages*,\
./Utilities/*,\
" \
-L "\
dependees,\
endwhile,\
fo,\
filetest,\
helpfull,\
nd,\
objext,\
stoll,\
supercedes,\
superceded,\
vas,\
varn,\
"
```
|
|
|
|
| |
See: #20067
|
| |
|
|
|
|
|
| |
Replace use of the deprecated `ADDITIONAL_MAKE_CLEAN_FILES` directory property
with the new `ADDITIONAL_CLEAN_FILES` directory property.
|
|
|
|
|
|
|
|
| |
Manage alternate library name by passing -interface <library_name>
for python language or -dllimport <library_name> for CSharp language
to the SWIG compiler.
Fixes: #18771
|
| |
|
|
|
|
|
|
|
| |
When file property SWIG_MODULE_NAME is specified, provide option -module
to SWIG compiler.
Fixes: #18374
|
|\
| |
| |
| |
| |
| |
| |
| | |
2fc43415ef UseSWIG: Add target language and input file in command description
20fd16e756 UseSWIG: Typo, add missing letter
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2542
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
bb57cb80eb UseSWIG: multiple input files must be supported in version 2
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2539
|
| |/
| |
| |
| | |
Fixes: #18506
|
| |\
| | |
| | |
| | | |
Merge-request: !2448
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This command is intended for modules that issue policy warnings so
they can get the warning string from CMake in a uniform manner,
rather than duplicating the string. Several modules been updated
to include an example of the usage of this new command.
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
ecd0fec40b UseSWIG: fix regression for PHP language
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2448
|
| |
| |
| |
| |
| |
| |
| | |
Refactoring in commit v3.12.0-rc1~481^2 (UseSWIG: modernize module,
2018-01-29) accidentally regressed support for PHP. Fix it.
Fixes: #18421
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
2f88c177d0 UseSWIG: restore legacy behavior for SWIG_MODULE_<name>_EXTRA_FLAGS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Julien Schueller <schueller@phimeca.com>
Merge-request: !2245
|
| |
| |
| |
| | |
Fixes: #18226
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
ed289e0577 UseSWIG: Use CSharp language only if it is enabled
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ram-Z <me@rmz.io>
Acked-by: Marc Chevrier <marc.chevrier@gmail.com>
Merge-request: !2219
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In commit v3.12.0-rc1~2^2 (UseSWIG: Add CSHARP variant for wrapper
files, 2018-06-08) we explicitly marked swig-generated `.cs` files as
`LANGUAGE` CSharp so that the resulting sources can be compiled.
However, this works only when the CSharp language has been enabled.
Fixes: #18184
|
|\ \
| |/
| |
| | |
Resolve conflicts by integrating changes from both sides.
|
| |
| |
| |
| | |
Fixes: #18140
|
| |\
| | |
| | |
| | | |
Merge-request: !2137
|
| |\ \
| | | |
| | | |
| | | | |
Merge-request: !2143
|
| | | |
| | | |
| | | |
| | | | |
Fixes: #18003
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
0c2fb4c896 UseSWIG: Add CSHARP variant for wrapper files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2137
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Issue: #18065
Fixes: #18066
|
|\ \ \ \
| |_|/ /
|/| | /
| | |/
| |/|
| | |
| | | |
88dd5dc9ff UseSWIG: add support for generator expressions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2143
|
| |/ |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Fix a typo from commit 0bef9eb410 (UseSWIG: modernize module,
2018-01-29) that caused `UseSWIG` to ignore an eventually set property
`SWIG_MODLUE_NAME`.
Building multiple python modules using the mentioned property as
described in the docs could lead to an invalid, or even worse,
inconsistent `build.ninja` file. The reason is that the generated list
of support files was not unique. For each module the support file was
always named the same, namely `path/to/builddir/MODULENAME.py`.
|
|
|
|
| |
Add note regarding multi-config generators
|
|
|
|
| |
fixes: #17840
|
|
|
|
| |
Fixes: #17836
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fix logic added by commit 2ee10119ea (swig: fix incremental build in
case of removed interface files, 2017-11-06). Name the extra targets
added for Makefile generators using both the module name and .i base
name to avoid collisions across modules. Also make sure the extra
targets added for all .i files in a module are added as dependencies
instead of just the last one.
Fixes: #17704
|