summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Help: Add notes for topic 'swig_add_library'Brad King2016-11-111-0/+8
|
* SwigTest: Update for swig_add_library and add lua exampleDaniele E. Domenichelli2016-11-111-2/+11
|
* UseSWIG: Do not set PREFIX property for SHARED and STATIC lua librariesDaniele E. Domenichelli2016-11-111-1/+3
|
* UseSWIG: Do not set NO_SONAME property for SHARED and STATIC librariesDaniele E. Domenichelli2016-11-111-1/+3
|
* UseSWIG: Add swig_add_library macro.Daniele E. Domenichelli2016-11-111-7/+41
| | | | | | | | | | | | | | | | | swig_add_module does not allow to set the type for the library and instead always create the library as MODULE. This patch adds the new swig_add_library command with this signature: SWIG_ADD_LIBRARY(<name> [TYPE <SHARED|MODULE|STATIC>] LANGUAGE <language> SOURCES <file>... ) The swig_add_module is deprecated in favour of swig_add_library. Closes: #16415
* CMake Nightly Date StampKitware Robot2016-11-111-1/+1
|
* Merge branch 'release'Brad King2016-11-100-0/+0
|\
| * Merge branch 'autorcc-only-no-rebuild' into releaseBrad King2016-11-091-2/+2
| |\
| * \ Merge branch 'pkgconfig_imported_target' into releaseBrad King2016-11-081-1/+1
| |\ \
* | \ \ Merge topic 'import-librhash'Brad King2016-11-1049-1950/+3496
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd8a57ae Add option to build CMake against a system librhash 71180fc8 FindLibRHash: Add module to find the librhash package 3216e94c Remove unused cm_sha2 infrastructure 5420278d Port hash computation to cmCryptoHash 9a596b33 cmCryptoHash: Re-implement in terms of librhash 47f91a61 cmCryptoHash: Avoid using subclasses at client sites d0ff3e70 librhash: Port to KWIML for ABI and integer type information 465a85fb librhash: Avoid signed left-shift overflow fc2cb74f librhash: Implement bswap_32 as a function even in strict C90 mode 0bd333bc librhash: Implement bswap_64 even in strict C90 mode 7189d62c librhash: Use __builtin_bswap{32,64} on Clang af7ebf8a librhash: Install COPYING file with CMake documentation bb01f20e librhash: Disable warnings to avoid changing 3rd party code 31bb727f librhash: Build the library within CMake 53048afa librhash: Remove source fragments not needed for CMake 5cb1b345 Merge branch 'upstream-librhash' into import-librhash ...
| * | | | Add option to build CMake against a system librhashBrad King2016-11-104-6/+29
| | | | | | | | | | | | | | | | | | | | Create a CMAKE_USE_SYSTEM_LIBRHASH option.
| * | | | FindLibRHash: Add module to find the librhash packageBrad King2016-11-105-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add it to a private source directory that is not installed so that we can use it for building CMake itself. This will allow it to mature before being distributed publicly.
| * | | | Remove unused cm_sha2 infrastructureBrad King2016-11-107-1803/+1
| | | | | | | | | | | | | | | | | | | | | | | | | All clients of `cm_sha2` have been ported to `cmCryptoHash`, which now uses librhash internally.
| * | | | Port hash computation to cmCryptoHashBrad King2016-11-108-60/+34
| | | | | | | | | | | | | | | | | | | | | | | | | Avoid using KWSys MD5 or `cm_sha2` and use the `cmCryptoHash` abstraction instead.
| * | | | cmCryptoHash: Re-implement in terms of librhashBrad King2016-11-102-85/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Offer direct construction with an enumeration of supported algorithms. Also expose the Initialize/Append/Finalize steps publicly and add a FinalizeHex method.
| * | | | cmCryptoHash: Avoid using subclasses at client sitesBrad King2016-11-101-4/+4
| | | | | | | | | | | | | | | | | | | | Use only the main `cmCryptoHash` interface.
| * | | | librhash: Port to KWIML for ABI and integer type informationBrad King2016-11-102-40/+28
| | | | |
| * | | | librhash: Avoid signed left-shift overflowBrad King2016-11-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Fix `rhash_md5_final` to use unsigned integers for left shifting to avoid the possibility of undefined overflow behavior.
| * | | | librhash: Implement bswap_32 as a function even in strict C90 modeBrad King2016-11-101-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | We cannot fall back to the macro implementation because some call sites may call it with an argument like `*ptr++` that has side effects.
| * | | | librhash: Implement bswap_64 even in strict C90 modeBrad King2016-11-101-4/+2
| | | | |
| * | | | librhash: Use __builtin_bswap{32,64} on ClangBrad King2016-11-101-0/+8
| | | | |
| * | | | librhash: Install COPYING file with CMake documentationBrad King2016-11-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | When we install using the bundled librhash source, notify users of its license terms.
| * | | | librhash: Disable warnings to avoid changing 3rd party codeBrad King2016-11-102-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | Add '-w' or equivalent flag on compilers supporting it. Tell MSVC to use its lowest warning level inside librhash sources.
| * | | | librhash: Build the library within CMakeBrad King2016-11-105-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update `ustd.h` to include KWSys Large File Support configuration so that consistent stream libraries are used (on AIX with XL). Add a `cm_rhash.h` header to include the CMake-provided copy of the `rhash.h` header from CMake sources.
| * | | | librhash: Remove source fragments not needed for CMakeBrad King2016-11-105-125/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only need a subset of the hash algorithms supported by librhash. Add preprocessor conditionals to remove source fragments that we do not need. Write an alternative algorithm enumeration that matches the indexing on our reduced array. Also remove a few fragments outright.
| * | | | Merge branch 'upstream-librhash' into import-librhashBrad King2016-11-0321-0/+3238
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * upstream-librhash: librhash 2016-11-01 (d839a1a8)
| | * | | | librhash 2016-11-01 (d839a1a8)librhash upstream2016-11-0321-0/+3238
| | / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/rhash/rhash.git at commit d839a1a853f22b8cfd26c2006ee5481739ea1114 (master).
| * | | | Add script to update librhash from upstreamBrad King2016-11-031-0/+43
| | | | |
* | | | | Merge topic 'autorcc-only-no-rebuild'Brad King2016-11-101-2/+2
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | e4232b82 QtAutogen: Do not re-generate AUTORCC outputs on every build
| * | | | QtAutogen: Do not re-generate AUTORCC outputs on every buildBrad King2016-11-091-2/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.6.0-rc1~134^2~10 (Autogen: Split out moc file generation code to dedicated method, 2016-04-18) removed the unconditional creation of the `<target>_automoc.cpp` file. Now it is generated only when `AUTOMOC` is enabled. However, if this file is not created then our internal `GenerateAll` setting is enabled on every build, causing `AUTORCC` to re-generate its file(s) every time. Fix the `GenerateAll` setting to be used only for when autogen settings change. The old logic was left from when we had only automoc. Closes: #16413
* | | | CMake Nightly Date StampKitware Robot2016-11-101-1/+1
| | | |
* | | | Merge topic 'update-kwsys'Brad King2016-11-0972-13666/+11539
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 95a97a40 Merge branch 'upstream-KWSys' into update-kwsys 773b36e5 KWSys 2016-11-09 (18c65411)
| * \ \ \ Merge branch 'upstream-KWSys' into update-kwsysBrad King2016-11-0972-13666/+11539
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2016-11-09 (18c65411)
| | * | | | KWSys 2016-11-09 (18c65411)KWSys Upstream2016-11-0973-13666/+11541
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: http://public.kitware.com/KWSys.git at commit 18c654114de3aa65429542f95308720bc68f9231 (master). Upstream Shortlog ----------------- Brad King (14): 37306a1c FStream: Quiet unused argument warning 15e90a3c Sort includes to stabilize include order w.r.t. clang-format 26509227 Copyright.txt: Add notice of copyright by contributors fc42d3f2 Add temporary script to filter license notices c41c1bc4 Simplify KWSys per-source license notices 1d4c0b4a Remove temporary script that filtered license notices a4f5ef79 SystemInformation: Remove stray comment 8649a886 kwsysPrivate: Protect KWSYS_HEADER macro from clang-format 89b98af5 Configure clang-format for KWSys source tree 547dacad Add a script to run clang-format on the entire source tree aa94be0c CONTRIBUTING: Add a section on coding style 6604c4b6 Empty commit at end of history preceding clang-format style transition 2b3e2b1c Tell Git to not export 'clang-format' infrastructure 18c65411 FStream: Include Configure.hxx before other headers Kitware Robot (1): 6c973b46 Revise C++ coding style using clang-format
* | | | | | Merge topic 'drop-kwstyle'Brad King2016-11-097-140/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 36f9f0f8 Drop KWStyle checks in favor of clang-format and Git hooks
| * | | | | | Drop KWStyle checks in favor of clang-format and Git hooksBrad King2016-11-087-140/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now define code layout by clang-format and enforce whitespace with Git hooks. There is no need to run KWStyle anymore, as all we used it to check was line length anyway.
* | | | | | Merge topic 'FindSDL_preventGrowingCacheVar'Brad King2016-11-091-2/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | f18b18b7 FindSDL: Prevent unbounded growth of SDL_LIBRARY_TEMP variable
| * | | | | | FindSDL: Prevent unbounded growth of SDL_LIBRARY_TEMP variableCraig Scott2016-11-081-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just modify the cache var property rather than using set() to hide it. Otherwise the set() includes other values added to the temporary list. Closes: #16406
* | | | | | | Merge topic 'pkgconfig_imported_target'Brad King2016-11-091-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | 61898de6 PkgConfig: Fix FindPkgConfig imported target feature
| * | | | | | PkgConfig: Fix FindPkgConfig imported target featureFlorent Castelli2016-11-041-1/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The options to the find_library call to create the imported target used a literal string "HINTS /path NO_DEFAULT_PATH" instead of a list of options. This resulted in never finding any library in my testing.
* | | | | | Merge topic 'imported-interface-libname'Brad King2016-11-0924-21/+294
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09cda9d5 Allow imported INTERFACE libraries to specify a link library name 1d1f1eeb cmTarget: Refactor GetMappedConfig to choose location property up front 479932fa cmTarget: Add comment clarifying interface library special case 925e4270 cmTarget: Clarify comments in GetMappedConfig
| * | | | | | Allow imported INTERFACE libraries to specify a link library nameBrad King2016-11-0924-15/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an `IMPORTED_LIBNAME[_<CONFIG>]` target property to specify a library name to be placed on the link line in place of an interface library since it has no library file of its own. Restrict use of the property to imported `INTERFACE` libraries. This will be particularly useful for find modules that need to provide imported libraries from system SDKs where the full path to the library file is not known. Now such find modules will be able to provide an imported interface library and set `IMPORTED_LIBNAME` to refer to the SDK library by name. Issue: #15267
| * | | | | | cmTarget: Refactor GetMappedConfig to choose location property up frontBrad King2016-11-031-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the `IMPORTED_LOCATION` property name in a variable up front to avoid duplicating the string literal.
| * | | | | | cmTarget: Add comment clarifying interface library special caseBrad King2016-11-031-0/+2
| | | | | | |
| * | | | | | cmTarget: Clarify comments in GetMappedConfigBrad King2016-11-031-3/+3
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Clarify comments explaining the availability of a target location (file on disk) to distinguish this from the existence of the target.
* | | | | | CMake Nightly Date StampKitware Robot2016-11-091-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge topic 'include-what-you-use'Brad King2016-11-08140-442/+660
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2e620f0b Fix several include-what-you-use findings
| * | | | | Fix several include-what-you-use findingsDaniel Pfeifer2016-11-08140-442/+660
| | | | | |
* | | | | | Merge topic 'clang-tidy'Brad King2016-11-084-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0cd654c8 cmGeneratorTarget: Correctly set FortranModuleDirectoryCreated bac93dcf cmGeneratorTarget: Don't assing a bool to a string 1e994985 cmGlobalNinjaGenerator: Suppress clang-tidy warning 5ae3966d cmCTestSubmitHandler: Remove redundant c_str() 443180fb cmCPluginAPI: Fix clang-tidy findings
| * | | | | | cmGeneratorTarget: Correctly set FortranModuleDirectoryCreatedDaniel Pfeifer2016-11-051-0/+1
| | | | | | |