The NetBSD Project

CVS log for pkgsrc/devel/cmake/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / cmake

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.229 / (download) - annotate - [select for diffs], Fri Mar 22 06:29:39 2024 UTC (8 days, 1 hour ago) by adam
Branch: MAIN
CVS Tags: HEAD
Changes since 1.228: +4 -4 lines
Diff to previous 1.228 (colored) to selected 1.73 (colored)

cmake: updated to 3.28.4

CMake 3.28.4
* cmDyndepCollation: collapse full path before looking up
* Tests/CXXModules: support testing rebuild conditions
* cxxmodules: return failure from the collator when private usage is found
* Tests/CXXModules: test that objects depend on their modmap files
* cxxmodules: depend on the modmap contents
* cmNinjaTargetGenerator: use `emplace_back` for scanning deps
* Tests/CXXModules: test that objects depend on dependent modules json files
* cmNinjaTargetGenerator: scanning depends on the module metadata
* Tests/CXXModules: add a test to ensure that `restat` works for collation
* Ninja: make the collator rule use `restat = 1`
* Tests/CXXModules: document `CMake_TEST_MODULE_COMPILATION` items
* Tests/CXXModules: support building a project with `Ninja`
* Tests/CXXModules: add a test importing from a `Ninja` install
* cmGeneratorTarget: store synthetic targets in its cache
* Tests/CXXModules: add a test with transitive targets
* cmTarget: copy link libraries from the right properties
* Tests/CXXModules: test transitive modules usage
* cmExportFileGenerator: export link libraries as-is
* cmGeneratorTarget: discover synthetic targets recursively
* Tests/CXXModules: test `cxx_std_20` coming from a dependency
* Clang: detect -resource-dir for clang-scan-deps
* cmGeneratorTarget: collapse paths before querying the fileset cache
* CMakeDetermineCompilerId: use `_ARG1` to query the clang resource dir
* cmExportFileGenerator: only export include paths for HEADERS file sets
* cmImportedCxxModuleInfo: remove unused pointer field
* Tests/CXXModules: add a test using `TARGET_OBJECTS` from modules
* Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17
* gitlab-ci: update macOS jobs to use Xcode 15.2
* cmUVProcessChain: Implement no-extension-on-Windows support with libuv 1.48
* libuv: win/spawn: optionally run executable paths with no file extension
* cmLocalGenerator: Avoid unnecessary lookup without a deployment target
* visionOS: Update deployment-target flag for Xcode 15.1 beta
* Tests: Update RunCMake.XcodeProject-Device for visionOS in Xcode 15.1 beta
* Tests: Enable visionOS tests with Xcode 15.2
* Tests/CommandLength: Refactor test commands to reduce test run time
* Help: Add 3.28.4 release note draft for visionOS updates
* Tests: Update RunCMake.TargetObjects cmake_minimum_required version
* Restore support for TARGET_OBJECTS in link interfaces with unity builds
* Tests/RunCMake/CXXModules: Update VS circular error message
* FindTIFF: Fix name of upstream TIFF cmake package
* Tests: Update RunCMake.CompileFeatures for Xcode 15.3
* Tests: Update RunCMake.CheckCompilerFlag for Xcode 15.3
* gitlab-ci: update macOS jobs to use Xcode 15.3
* Autogen: Restore target-ordering dependencies in Makefiles with DEPFILE
* cmQtAutoGenInitializer: De-duplicate autogen/timestamp target depend logic
* Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources
* FindMatlab: Revert undocumented and now-unnecessary full version lookup
* Ninja: Update showIncludes prefix detection for clang-cl 18
* FindCUDAToolkit: Fix cudart dependencies

Revision 1.228 / (download) - annotate - [select for diffs], Sun Feb 11 15:42:39 2024 UTC (6 weeks, 5 days ago) by adam
Branch: MAIN
Changes since 1.227: +4 -4 lines
Diff to previous 1.227 (colored) to selected 1.73 (colored)

cmake: updated to 3.28.3

CMake 3.28.3
* Unity: Clarify source comments on unity build transformation
* zlib: Fix 1.2.13 version and date notice
* Tests: Add case covering PCH in a unity build
* cmGlobalGenerator: Add unity/pch sources after computing compile features

Revision 1.227 / (download) - annotate - [select for diffs], Thu Feb 1 10:25:02 2024 UTC (8 weeks, 1 day ago) by adam
Branch: MAIN
Changes since 1.226: +4 -4 lines
Diff to previous 1.226 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.28.2

CMake 3.28.2
* cmNinjaTargetGenerator: use scan flag for modmap usage inexported commands
* cmDyndepCollation: clarify CXX_MODULES-without-BMI error message
* Help: update lua.org links to be HTTPS
* ExternalProject: revert `BYPRODUCTS` for download outputs
* Tests/CXXModules: add a test with unity build support
* cmGlobalGenerator: add unity sources after computing target compile features
* cmLocalGenerator: ignore scanned sources for unity builds
* cmVisualStudio10TargetGenerator: fix typo in flag name
* Tests/CXXModules: add a test case for VS generation without flags
* cmVisualStudio10TargetGenerator: always specify scanning
* Tests/CXXModules/scan_properties: use `ixx` extension
* cxxmodules: make export trampoline script files unique
* FindBoost: Add support for Boost 1.84
* zlib: Update script to get zlib 1.2.13
* CUDA/Clang: Update architectures supported by CUDA 12
* CUDA/Clang: Record architectures supported by Clang 16
* Source: Simplify hasher object construction
* Tests: Add missing include in testUVProcessChainHelper on Windows
* cmUVProcessChain: Simplify builder initialization
* cmUVProcessChain: Simplify SetExternalStream usage
* cmUVProcessChain: Tolerate fileno() of invalid FILE stream
* Revert use of libuv for process execution for 3.28
* FindFreetype: Revert use of upstream freetype cmake package
* Help: Fix typo not accounting for addition of visionOS
* Help: Note CMAKE_IOS_INSTALL_COMBINED deprecation in toolchains example
* Help: Update missed text for dynamically generated resource spec files
* Help: Use  for non-keyword arguments in property command signatures
* Help: Use  consistently in property getter commands
* Help: Add missing DIRECTORY keyword to set_tests_properties() signature
* Help: Fix wrong return values for unset inherited properties
* Tests: Improve C compatibility of LoadCommand tests
* HIP: Really forward CMAKE_HIP_HOST_COMPILER in check_language(HIP)
* HIP: Propagate CMAKE_HIP_PLATFORM from/to the test project in check_language
* FindMatlab: Restore support for versions without VersionInfo.xml
* FindMatlab: use correct registry view when extracting versions
* FindMatlab: Restore support for finding EXACT major.minor version
* FindMatlab: matlab_get_release_name_from_version is a function now
* FindMatlab: Document all registry paths for version lookup
* FindMatlab: Fix error message from function
* FindMatlab: Some versions use major.minor.patch in the registry
* FindMatlab: Document that version mappings do not apply to MCR
* UsePkgConfig: Restore removal of trailing whitespace from pkg-config output
* Xcode: Restore support for standalone IMPORTED_LOCATION_
* Ninja: LINK_OPTIONS property should support newlines
* Help: string(LENGTH): Fix synopsis link to command description
* cxxmodules: compute link information for C++ module-consuming targets
* Makefile: Reduce string copies
* Makefile: Fix double escaping when DEPFILE is used
* cmQtAutoGenInitializer: Improve Const-correctness
* Autogen: Forward dependencies when both Makefile and DEPFILE are used
* Source: Restore compilation on OpenBSD
* CUDAToolkit: Correctly search all include paths from compiler
* Tests: Verify CUDA::cupti existence on a subset of machines
* FindMatlab: Fix major.minor version lookups in Windows Registry
* FindMatlab: Accept long version in matlab_get_release_name_from_version
* zlib 2022-10-12 (04f42cec)

Revision 1.226 / (download) - annotate - [select for diffs], Mon Dec 18 05:37:35 2023 UTC (3 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Changes since 1.225: +4 -4 lines
Diff to previous 1.225 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.28.1

CMake 3.28.1
* Help/create_test_sourcelist: reflow prose
* Help/create_test_sourcelist: add formatting markup
* Help/create_test_sourcelist: format arguments in the signature docs
* cmGeneratorTarget: disable C++ module scanning for verify targets
* cmQtAutoGenInitializer: disable C++ module scanning for autogen sources
* cmLocalGenerator: disable C++ module scanning for copied PCH sources
* cmLocalGenerator: disable C++ module scanning for unity sources
* cmGlobalXCodeGenerator: disable C++ module scanning for force-lang files
* FindFreetype: always find the config module quietly
* FindFreetype: also consider RelWithDebInfo-built libraries
* FindTIFF: always find the config module quietly
* FindTIFF: consider `IMPLIB`-using platforms
* FindCUDAToolkit: Fix stub library representation on reconfigure
* Tests: Update for changes to upstream ninja development version
* gitlab-ci: update macOS jobs to use Xcode 15.1
* FindMatlab: Fix regression on Windows Registry lookup failure
* FindFreetype: Fix success message when config module is found
* FindTIFF: Restore support for projects that do not enable CMP0057
* FindMatlab: Fix processing of multiple versions from Windows Registry
* Help: Fix malformed cross-reference in FetchContent docs
* Help: Add missing versionadded directives for IMPORTED_IMPLIB
* Help: XCFrameworks and stubs are supported on all Apple, not just macOS
* Help: Note case where IMPORTED_IMPLIB isn't needed for (xc)frameworks
* Tests: Do not expect EINTR when sleep is interrupted on GNU/Hurd
* CUDAToolkit: Restore ability to find cupti headers

Revision 1.225 / (download) - annotate - [select for diffs], Thu Dec 7 17:34:27 2023 UTC (3 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.224: +6 -6 lines
Diff to previous 1.224 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.28.0

CMake 3.28 Release Notes
************************

Changes made since CMake 3.27 include the following.

New Features
============

Languages
---------

* C++ 20 named modules are now supported by Ninja Generators and
Visual Studio Generators for VS 2022 and newer, in combination with
the MSVC 14.34 toolset (provided with VS 17.4) and newer, LLVM/Clang
16.0 and newer, and GCC 14 (after the 2023-09-20 daily bump) and
newer. See "cmake-cxxmodules(7)" for details.

* "HIP" language code may now be compiled for NVIDIA GPUs using the
NVIDIA CUDA Compiler (NVCC). See the "CMAKE_HIP_PLATFORM" variable.

Platforms
---------

* On Apple platforms, ".xcframework" folders are now supported:

* The "find_library()" command now finds ".xcframework" folders.

* The "target_link_libraries()" command now supports linking against
a ".xcframework" folder.

* The "IMPORTED_LOCATION" target property of an imported library
target may now be the path to a ".xcframework" folder.

* Apple visionOS and its "xros" and "xrsimulator" SDKs are now
supported. Compiling for Apple visionOS can be requested by setting
"CMAKE_SYSTEM_NAME" to "visionOS". See Cross Compiling for iOS,
tvOS, visionOS, or watchOS for more information.

Presets
-------

* "cmake-presets(7)" files now support schema version "8". It adds
support for a "$schema" field.

Compilers
---------

* Cray Clang-based compilers are now supported with "compiler id"
"CrayClang".

* The OrangeC compiler is now supported with "compiler id" "OrangeC".

Commands
--------

* The "add_custom_command()" and "add_custom_target()" commands gained
a "JOB_SERVER_AWARE" option.

* The "cmake_host_system_information()" command gained a
"MSYSTEM_PREFIX" query for the installation prefix of a MSYS or
MinGW development environment on Windows hosts.

* The "set_property()" command "TEST" mode gained a "DIRECTORY" option
to set properties on tests in other directories.

* The "set_tests_properties()" command gained a "DIRECTORY" option to
set properties on tests in other directories.

* The "get_property()" command "TEST" mode gained a "DIRECTORY" option
to get properties on tests in other directories.

* The "get_test_property()" command gained a "DIRECTORY" option to get
properties on tests in other directories.

Variables
---------

* The "CMAKE_CROSSCOMPILING_EMULATOR" environment variable was added
to initialize the "CMAKE_CROSSCOMPILING_EMULATOR" cache variable.

* The "CMAKE_HIP_PLATFORM" variable was added to specify the GPU
platform for which HIP language sources are to be compiled ("amd" or
"nvidia").

Properties
----------

* On imported shared libraries, the "IMPORTED_IMPLIB" target property
may now be used without "IMPORTED_LOCATION". This can be used to
represent a stub library whose location should not be added as a
runtime search path to dependents that link it.

* The "IMPORTED_LOCATION" property of a macOS framework may now be a
path to the ".framework" folder itself.

* The "XCODE_EMBED_RESOURCES" target property was added to tell the
"Xcode" generator what targets to put in the "Embed Resources" build
phase.

Modules
-------

* The "ExternalProject" module now includes the
"BUILD_JOB_SERVER_AWARE" option for the "ExternalProject_Add()"
command. This option enables the integration of the GNU Make job
server when using an explicit "BUILD_COMMAND" with certain Makefile
Generators. Additionally, the "ExternalProject_Add_Step()" command
has been updated to support the new "JOB_SERVER_AWARE" option.

* The "ExternalProject" module now declares "BYPRODUCTS" for the
downloaded file for generated "download" steps. Previously, if
multiple external projects downloaded to the same file, hash
verification could fail. Now, when using the Ninja Generators, this
scenario is detected and Ninja will raise an error stating that
multiple rules generate the same file.

* The "FetchContent" module's "FetchContent_Declare()" command gained
an "EXCLUDE_FROM_ALL" option, which propagates through to the
"add_subdirectory()" call made by "FetchContent_MakeAvailable()" for
the dependency.

* The "FindCURL" module gained a "CURL_USE_STATIC_LIBS" hint to select
static libraries.

* The "FindEXPAT" module gained an "EXPAT_USE_STATIC_LIBS" hint to
select static libraries.

* The "FindPkgConfig" module "pkg_get_variable()" command gained a
"DEFINE_VARIABLES" option to pass variables to "pkg-config".

Generator Expressions
---------------------

* The "generator expressions" "$ <IF:...>", "$ <AND:...>", and
"$ <OR:...>" short-circuit to avoid unnecessary evaluation of parameters.

CTest
-----

* CTest may now take a dynamically-generated resource spec file, which
can be specified by the "GENERATED_RESOURCE_SPEC_FILE" test
property.

Deprecated and Removed Features
===============================

* The "exec_program()" command, which has been deprecated since CMake
3.0, has been removed by policy "CMP0153". Use the
"execute_process()" command instead.

* The "Visual Studio 11 2012" generator has been removed.

* The "Visual Studio 12 2013" generator is now deprecated and will be
removed in a future version of CMake.

* The "IOS_INSTALL_COMBINED" target property and corresponding
"CMAKE_IOS_INSTALL_COMBINED" variable have been deprecated. Their
functionality does not make sense on Apple Silicon hosts.

* The "Xcode" generator will now issue a fatal error if the Legacy
Build System has been selected for Xcode 14 and newer. Those Xcode
versions dropped support for the Legacy Build System and expect the
project to be set-up for their current Build System.

Other Changes
=============

* Generated files, in targets using File Sets, are now considered
private by default.  Generated public headers must be specified
using file sets.  This allows Ninja Generators to produce more
efficient build graphs.  See policy "CMP0154".

* The "find_library()", "find_path()", and "find_file()" commands no
longer search in installation prefixes derived from the "PATH"
environment variable.  This behavior was added in CMake 3.3 to
support MSYS and MinGW ("MSYSTEM") development environments on
Windows, but it can search undesired prefixes that happen to be in
the "PATH" for unrelated reasons.  Users who keep some
"<prefix>/bin" directories in the "PATH" just for their tools do not
necessarily want any corresponding "<prefix>/lib" or
"<prefix>/include" directories searched. The behavior was reverted
for non-Windows platforms by CMake 3.6. Now it has been reverted on
Windows platforms too.

One may set the "CMAKE_PREFIX_PATH" environment variable with a
semicolon-separated list of prefixes that are to be searched.

* When using MinGW tools in a "MSYSTEM" environment on Windows, the
"$MSYSTEM_PREFIX/local" and "$MSYSTEM_PREFIX" prefixes are now added
to "CMAKE_SYSTEM_PREFIX_PATH".

* The precompiled Linux "x86_64" binaries provided on cmake.org now
require GLIBC 2.17 or higher.

Revision 1.224 / (download) - annotate - [select for diffs], Thu Nov 30 20:18:54 2023 UTC (3 months, 4 weeks ago) by adam
Branch: MAIN
Changes since 1.223: +4 -4 lines
Diff to previous 1.223 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.27.9

CMake 3.27.9
* Tests/FortranModules: add test for TARGET_OBJECTS-as-sources module usage
* Tests/FortranModules: add test for TARGET_OBJECTS-as-linked-items module usage
* Ninja: Revert exact collation dependencies for 3.27
* Help: Document that CMP0149 should be set before project()
* Help: Fix ctest(1) manual links to www.cdash.org
* fileapi: Fix file sets' base directories relative to top source
* Ninja: depfile: keep rules without dependencies

Revision 1.223 / (download) - annotate - [select for diffs], Sun Nov 19 17:16:27 2023 UTC (4 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.222: +4 -4 lines
Diff to previous 1.222 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.27.8

CMake 3.27.8
* Tests/ObjectLibrary: fix comment
* cmComputeLinkDepends: also copy the target from object link items
* cmComputeLinkInformation: skip over linking to items for object purposes
* Fortran: Restore support for TARGET_OBJECTS providing modules
* curl: Backport SOCKS5 heap buffer overflow fix from curl 8.4.0
* GetPrerequisites: Revert "Ignore relative paths printed by ldd"
* cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop body
* cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources
* FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2

Revision 1.222 / (download) - annotate - [select for diffs], Mon Oct 9 17:19:30 2023 UTC (5 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.221: +4 -4 lines
Diff to previous 1.221 (colored) to selected 1.73 (colored)

cmake: updated to 3.27.7

CMake 3.27.7
* Android: Require Clang 18 for -std=c++23
* Tests: Clarify RunCMake.CTestTimeout case name
* ctest: Restore support for --timeout values higher than default test timeout
* Help: Document CMP0124 behavior on already-set variables
* FindPostgreSQL: Add support for version 16

Revision 1.221 / (download) - annotate - [select for diffs], Sat Sep 30 08:52:52 2023 UTC (5 months, 4 weeks ago) by nros
Branch: MAIN
Changes since 1.220: +2 -1 lines
Diff to previous 1.220 (colored) to selected 1.73 (colored)

cmake: use the right ps command to get child process info on NetBSD

CMake uses ps to pid get information on childs of a process
to recursivly kill the childs. Not having KWSYSPE_PS_COMMAND
set means that CMake won't try to kill the child processes.
Not checking for the __NetBSD__ define also causes NetBSD
Sparc to use the ps command for Solaris leading to run-time
breaks, see PR pkg/57272.
This change was suggested by Valry Ushakov on PR pkg/57272.

Revision 1.220 / (download) - annotate - [select for diffs], Thu Sep 21 13:54:15 2023 UTC (6 months, 1 week ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.219: +4 -4 lines
Diff to previous 1.219 (colored) to selected 1.73 (colored)

devel/cmake: Update to 3.27.6

Upstream changes from https://discourse.cmake.org/t/cmake-3-27-6-available-for-download/9024

  - add_custom_target: Fix regression with Fortran sources
  - Tests/FortranModules: move issue 25112 fix from FortranOnly
  - Tests/FortranModules: add a test case for #25223
  - Tests/FortranModules: also test INTERFACE targets with Fortran sources
  - Tests/FortranModules: add a test for iface Fortran sources

commited during freeze because it fixes a regression that breaks at
least math/blas.

Revision 1.219 / (download) - annotate - [select for diffs], Sat Sep 16 02:30:07 2023 UTC (6 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.218: +4 -4 lines
Diff to previous 1.218 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.27.5

3.27.5
Unknown changes

Revision 1.218 / (download) - annotate - [select for diffs], Fri Aug 25 08:05:17 2023 UTC (7 months ago) by adam
Branch: MAIN
Changes since 1.217: +4 -4 lines
Diff to previous 1.217 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.27.4

CMake 3.27.4
* cppdap: Update script to get version as of 2023-08-17
* VS: Remove duplicate import in compiler id vcxproj
* Help: Document cmake_minimum_required deprecation of old versions
* FindZLIB: Fix extraction of two-component version number 1.3
* list(INSERT): restore old behavior
* LLVMFlang-Fortran: Add flags for build types
* cppdap 2023-08-17 (cc2f2058)

Revision 1.217 / (download) - annotate - [select for diffs], Sun Aug 20 12:59:26 2023 UTC (7 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.216: +5 -5 lines
Diff to previous 1.216 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.27.3

CMake 3.27.3
* FindJNI: Restore support for macOS without Xcode
* Utilities/Release: Remove unused documentation build settings
* Apple Text Stubs (.tbd): various fixes
* Clang: use -std=c23 for Clang 18+
* Unity: use C-style comments to work both with C and C++
* FindPython: add support for Python 3.13
* GHS: Escape custom command comments
* testDebuggerNamedPipe: fix for cppdap with nlohmann_json

Revision 1.216 / (download) - annotate - [select for diffs], Tue Aug 15 20:40:44 2023 UTC (7 months, 2 weeks ago) by tnn
Branch: MAIN
Changes since 1.215: +2 -1 lines
Diff to previous 1.215 (colored) to selected 1.73 (colored)

cmake: fix build failure when qt6-qtbase is installed

Revision 1.215 / (download) - annotate - [select for diffs], Sat Aug 12 12:50:12 2023 UTC (7 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.214: +4 -4 lines
Diff to previous 1.214 (colored) to selected 1.73 (colored)

cmake cmake-gui: update to 3.27.1

CMake 3.27.2
* Help/guide/importing-exporting: Update line numbers in prose
* Help: Document that if(EXISTS) requires paths to be readable
* Source: Link libatomic when needed on Linux 32-bit ARM
* VS: Revert "Add CMake input files to ZERO_CHECK"
* Help: Add 3.27 release note on VS default SDK selection
* ci: Suppress cmake.org html documentation search results for index entries
* Tests: Remove redundant condition in RunCMake.GeneratorPlatform test
* VS: Do not print empty Windows SDK version when none is selected
* VS: Consolidate Windows SDK major version selection dispatch
* VS: Teach CMAKE_GENERATOR_PLATFORM to use Windows 10 SDKs for older versions
* VS: Teach CMAKE_GENERATOR_PLATFORM to support Windows 8.1 SDK selection
* VS: Select latest Windows SDK even when targeting Windows 8.1 and below
* FindJNI: Update for Xcode greater than 12.1 on macOS
* Help: Fix indenting within TARGET_RUNTIME_DLLS genex docs
* Help: Improve formatting and cross-references for DEPENDS_EXPLICIT_ONLY
* Help: Improve formatting and fix wording for ENABLE_EXPORTS
* cmLocalGenerator: Fix trivial spelling error in code comment
* file(GENERATE): Restore INPUT|CONTENT parse checking
* FindPython: Restore Python_SITE* values for versions below 3.10
* cmList: Fix performance regression in append/prepend

Revision 1.214 / (download) - annotate - [select for diffs], Wed Aug 9 06:45:06 2023 UTC (7 months, 3 weeks ago) by tnn
Branch: MAIN
Changes since 1.213: +2 -1 lines
Diff to previous 1.213 (colored) to selected 1.73 (colored)

cmake: don't attempt to use LTO with GCC 12 when building Fortran code

Revision 1.213 / (download) - annotate - [select for diffs], Wed Jul 26 08:46:53 2023 UTC (8 months ago) by adam
Branch: MAIN
Changes since 1.212: +4 -4 lines
Diff to previous 1.212 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.27.1

CMake 3.27.1
* Tests/FortranOnly: add a test case for issue
* Tests/RunCMake/CXXModules: add a test for issue
* cmComputeLinkInformation: track OBJECT library dependencies
* cmTarget: Restore Fortran_PREPROCESS property initialization
* FindOpenSSL: Prefer OPENSSL_ROOT_DIR only if non-empty
* CTest: Fix regression in calculating test timeout
* FindCUDAToolkit: Fix nvrtc_builtins library name
* ctest: Update ctest_submit for CDash behavior change

Revision 1.212 / (download) - annotate - [select for diffs], Thu Jul 20 06:12:13 2023 UTC (8 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.211: +4 -5 lines
Diff to previous 1.211 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.27.0

CMake 3.27 Release Notes
************************


Changes made since CMake 3.26 include the following.

New Features
============

Debugger
--------

* "cmake(1)" now supports interactive debugging of the CMake language.
  See the "--debugger" option.

Presets
-------

* "cmake-presets(7)" files now support schema version "7".

* "cmake-presets(7)" now supports "$penv{}" macro expansion in
  "include" fields.

Generators
----------

* The Makefile and Ninja generators now support using the "--
  dependency-file" linker flag, added by GNU Binutils 2.35 and LLVM's
  LLD 12.0.0, so that files read by the linker will cause a relink if
  they change (typically modified timestamps). See the
  "CMAKE_LINK_DEPENDS_USE_LINKER" variable.

* The Visual Studio Generators for VS 2015 and above learned to select
  the Windows SDK version explicitly using a "version=" field in the
  "CMAKE_GENERATOR_PLATFORM" variable. See Visual Studio Platform
  Selection.

Languages
---------

* The "CXX" language now treats source file extensions ".ccm",
  ".cxxm", and ".c++m" as C++.

File-Based API
--------------

* The "cmake-file-api(7)" "codemodel" version 2 "version" field has
  been updated to 2.6.

* The "cmake-file-api(7)" "codemodel" version 2 "target" object gained
  a new "frameworks" field in the "compileGroups" objects.

Platforms
---------

* Apple text-based stubs (i.e. ".tbd" files) may now be created for
  shared libraries on macOS.  See the "ENABLE_EXPORTS" property.

Commands
--------

* The "add_custom_command()" command gained a new
  "DEPENDS_EXPLICIT_ONLY" option to tell the Ninja Generators not to
  add any dependencies implied by the target to which it is attached.
  The "CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY" variable was
  added to enable "DEPENDS_EXPLICIT_ONLY" on all calls to
  "add_custom_command()" command.

* The "cmake_file_api()" command was added for projects to add "CMake
  file API" queries for the current CMake run.

* The "find_package()" command now searches prefixes specified by
  upper-case "<PACKAGENAME>_ROOT" CMake variables and upper-case
  "<PACKAGENAME>_ROOT" environment variables. See policy "CMP0144".

* The "install(CODE)" and "install(SCRIPT)" commands now support the
  "<INSTALL_PREFIX>" generator expression.

Variables
---------

* The "CMAKE_DLL_NAME_WITH_SOVERSION" variable and associated
"DLL_NAME_WITH_SOVERSION" target property were added to optionally
append the "SOVERSION" to the filename of the ".dll" part of a
shared library on Windows.

* Variables "CMAKE_VS_DEBUGGER_COMMAND",
"CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS",
"CMAKE_VS_DEBUGGER_ENVIRONMENT", and
"CMAKE_VS_DEBUGGER_WORKING_DIRECTORY" were added to initialize
corresponding target properties.

* The "CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION" variable was
added to initialize the "VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION"
target property on all targets when they are created.

Properties
----------

* A "CUDA_CUBIN_COMPILATION" target property was added to Object
Libraries to support compiling to ".cubin" files instead of host
object files. Currently only supported with NVIDIA.

* A "CUDA_FATBIN_COMPILATION" target property was added to Object
Libraries to support compiling to ".fatbin" files instead of host
object files. Currently only supported with NVIDIA.

* A "CUDA_OPTIX_COMPILATION" target property was added to Object
Libraries to support compiling to ".optixir" files instead of host
object files. Currently only supported with NVIDIA.

* The "<LANG>_CLANG_TIDY", "<LANG>_CPPCHECK", "<LANG>_CPPLINT", and
"<LANG>_INCLUDE_WHAT_YOU_USE", target properties now support
"generator expressions".

* The "<LANG>_LINKER_LAUNCHER" target property now supports "generator
expressions".

* The "SKIP_LINTING" source file property was added to suppress
target-wide code checks on specific sources.

Modules
-------

* The "FindCUDAToolkit" module now provides an imported target for
"cudla", and imported targets for CUPTI's "nvperf" and "pcsampling"
components.

* The "FindDoxygen" module's "doxygen_add_docs()" command gained a
"CONFIG_FILE" option to specify a custom doxygen configuration file.

* The "FindOpenGL" module gained support for components "GLES2" and
"GLES3".

* The "FindwxWidgets" module now provides an imported target.

Generator Expressions
---------------------

* The "COMPILE_ONLY" generator expression was added to specify
compilation usage requirements without any linking requirements.

* "<LIST:...>" generator expressions were added for query,
transformation, and ordering operations on lists.

* "<PATH:...>" generator expressions for decomposition and
transformation operations learned to process lists of paths element-
wise.

* The "TARGET_IMPORT_FILE", "TARGET_IMPORT_FILE_BASE_NAME",
"TARGET_IMPORT_FILE_PREFIX", "TARGET_IMPORT_FILE_SUFFIX",
"TARGET_IMPORT_FILE_NAME", and "TARGET_IMPORT_FILE_DIR"
generator expressions were added.  These expand to details about the
linker import file for a target.

* The "TARGET_RUNTIME_DLL_DIRS" generator expression was added. It
expands to a list of the directories containing DLLs in
"TARGET_RUNTIME_DLLS".

Autogen
-------

* The "CMAKE_AUTOMOC_EXECUTABLE", "CMAKE_AUTORCC_EXECUTABLE", and
"CMAKE_AUTOUIC_EXECUTABLE" variables were added to initialize the
corresponding target properties as targets are created.

* The "AUTOGEN_USE_SYSTEM_INCLUDE" target property and corresponding
"CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE" variable were added to explicitly
control whether autogen headers are considered system headers.

* The "INTERFACE_AUTOMOC_MACRO_NAMES" target property was added to
specify macro names for "moc" as a transitive usage requirement.

CTest
-----

* The "TIMEOUT_SIGNAL_NAME" and "TIMEOUT_SIGNAL_GRACE_PERIOD" test
properties were added to specify a POSIX signal to send to a test
process when its timeout is reached.

CPack
-----

* The "CPack Inno Setup Generator" was added to package using Inno
Setup.

Deprecated and Removed Features
===============================

* Compatibility with versions of CMake older than 3.5 is now
deprecated and will be removed from a future version.  Calls to
"cmake_minimum_required()" or "cmake_policy()" that set the policy
version to an older value now issue a deprecation diagnostic.

* The Extra Generators have been deprecated.  IDEs may use the "cmake-
file-api(7)" to view CMake-generated project build trees.

* The "FindCUDA" module, which has been deprecated since CMake 3.10,
has been removed by policy "CMP0146".  Port projects to CMake's
first-class "CUDA" language support.

* The "FindPythonInterp" and "FindPythonLibs" modules, which have been
deprecated since CMake 3.12, have been removed by policy "CMP0148".
Port projects to "FindPython3", "FindPython2", or "FindPython".

* The "Dart" and "FindDart" modules have been deprecated via policy
"CMP0145".  Port projects to the "CTest" module.

* The "Visual Studio 9 2008" generator is now deprecated and will be
removed in a future version of CMake.

Other Changes
=============

* "cmake --build $dir --verbose" will now print the working directory
and command line used to perform the build.

* The "ExternalProject" and "FetchContent" modules now resolve
relative "GIT_REPOSITORY" paths as relative to the parent project's
remote, not as a relative local file system path. See "CMP0150".

* The "ExternalProject" "configure" step no longer re-runs on every
build when the "UPDATE_DISCONNECTED" option is enabled. It will only
re-run if details of the "download", "update", or "patch" step
change.

* The "ExternalProject" "update" and "patch" steps now always re-run
if any of their details change, even if the "UPDATE_DISCONNECTED"
option is enabled.  If using the "GIT" download method, and the
"GIT_TAG" is changed to a commit that is not already known locally,
an error is now issued instead of silently using the previous
"GIT_TAG".

* The "FindPython", "FindPython2" and "FindPython3" modules now
support the Windows ARM64 platform.

* The "file(GET_RUNTIME_DEPENDENCIES)" command now case-preserves DLL
names reported on Windows.  They are still converted to lowercase
for filter matching.

* The "SYSTEM" target property is now honored for Apple Frameworks.

* Visual Studio Generators, for VS 15.8 (2017) and newer, now build
custom commands in parallel.  See policy "CMP0147".

Revision 1.211 / (download) - annotate - [select for diffs], Fri May 19 10:34:23 2023 UTC (10 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.210: +4 -4 lines
Diff to previous 1.210 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.26.4

CMake 3.26.4
* FindPython: fix interpreter launcher variable spelling
* Help: Remove duplicated word in COMPILE_OPTIONS target property docs
* Ninja: Restore detection of msvc-wine showIncludes prefix
* FindJNI: add Ubuntu specific paths for more recent JDK versions
* Help: CMP0105 policy: clarifications
* FindCUDAToolkit: nvptxcompiler_static correctly specify dependencies
* FindCUDAToolkit: Add dependency between cusparse and nvJitLink
* FindCUDAToolkit: Fix nvrtc_static dependencies on Windows
* FindCUDAToolkit: Add missing static library dependencies on pthread and libdl
* FindCUDAToolkit: Support CUDA version extraction from version.json

Revision 1.210 / (download) - annotate - [select for diffs], Thu Apr 6 11:01:18 2023 UTC (11 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.209: +4 -4 lines
Diff to previous 1.209 (colored) to selected 1.73 (colored)

cmake: updated to 3.26.3

CMake 3.26.3
* VS: Remove extra try_compile argument in Intel Fortran check
* Xcode: Fix detection of Swift compiler location for Xcode 14.3
* Tests: Teach RunCMake to ignore Xcode DVTCoreDeviceEnabledState warnings

Revision 1.209 / (download) - annotate - [select for diffs], Fri Mar 31 08:06:46 2023 UTC (11 months, 4 weeks ago) by adam
Branch: MAIN
Changes since 1.208: +4 -4 lines
Diff to previous 1.208 (colored) to selected 1.73 (colored)

cmake: updated to 3.26.2

CMake 3.26.2
* cmGlobalGenerator: Factor out helper to check target ordering
* Ninja,Makefile: Restore Fortran module scanning in static library cycle
* Ninja: Restore slash style for MinGW tools when extra languages are enabled
* Swift: Restore compatibility with old C++ driver

Revision 1.208 / (download) - annotate - [select for diffs], Tue Mar 28 13:30:41 2023 UTC (12 months ago) by adam
Branch: MAIN
Changes since 1.207: +4 -4 lines
Diff to previous 1.207 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.26.1

CMake 3.26.1
* WriteBasicConfigVersionFile: Fix regression in ARCH_INDEPENDENT check
* cmCxxModuleMapper: Remove redundant path conversion callbacks
* cmCxxModuleMapper: Use value semantics in path conversion callback
* cmGlobalNinjaGenerator: Factor out GNU-like command-line detection on Windows
* cmGlobalNinjaGenerator: Detect GNU-like command-line for dyndep collator
* cmLocalNinjaGenerator: De-duplicate condition for using 'cmd /C' on Windows
* cmDyndepCollation: Drop outdated mentions of CXX_MODULE_INTERNAL_PARTITIONS
* cmGlobalNinjaGenerator: Use forward slashes in clang modmap format on Windows
* Tests: Comment RunCMake.Ninja ShowIncludes sample input languages
* Clang: Record Clang 16.0 C++ modules flags only for GNU-like front-end
* Ninja: Wrap rules using '>' shell redirection with 'cmd /C' on Windows
* FindHDF5: Restore parallel HDF5 detection with only CXX enabled
* FindPython: ensure Stable ABI is correctly handled
* Ninja: Restore detection of clang-cl showIncludes prefix
* FindMatlab: add version/release map for R2023a

Revision 1.207 / (download) - annotate - [select for diffs], Wed Mar 15 13:30:35 2023 UTC (12 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.206: +5 -5 lines
Diff to previous 1.206 (colored) to selected 1.73 (colored)

cmake: updated to 3.26.0

CMake 3.26 Release Notes
************************

Changes made since CMake 3.25 include the following.

New Features
============

Languages
---------

* The "ASM_MARMASM" language was added to support the Microsoft ARM
assembler language.

Command-Line
------------

* The "cmake -E copy" command-line tool now supports a "-t" argument.

* The "cmake -E copy_directory_if_different" command-line tool was
added.

Configure Log
-------------

* CMake now writes a YAML log of configure-time checks to
"CMakeFiles/CMakeConfigureLog.yaml" under the top of the build tree.
See the "cmake-configure-log(7)" manual.

File-Based API
--------------

* The "cmake-file-api(7)" "codemodel" version 2 "version" field has
been updated to 2.5.

* The "cmake-file-api(7)" "codemodel" version 2 "target" object gained
a new "fileSets" field and associated "fileSetIndex" field to
"sources" objects.

* The "cmake-file-api(7)" gained a new "configureLog" object kind that
enables stable access to the "cmake-configure-log(7)".

Commands
--------

* The "add_custom_command()" and "add_custom_target()" commands now
support "generator expressions" in their "COMMENT" option.

* The "message()" command gained a "CONFIGURE_LOG" mode to record an
entry in the "cmake-configure-log(7)".

* The "string(TIMESTAMP)" and "file(TIMESTAMP)" commands now support
the "%z" and "%Z" specifiers for the time zone.

* The "try_compile()" and "try_run()" commands gained a
"LOG_DESCRIPTION" option specifying text to be recorded in the
"cmake-configure-log(7)".

* The "try_compile()" and "try_run()" commands gained a "NO_LOG"
option to skip recording a "cmake-configure-log(7)" entry.

Variables
---------

* The "CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT" variable is now set for
"GNU", "MSVC", and "AppleClang" compilers that have only one
frontend variant.

* A "CMAKE_VS_VERSION_BUILD_NUMBER" variable is now set by Visual
Studio Generators for VS 2017 and above to report the four-component
Visual Studio version number.

Properties
----------

* The "<LANG>_CLANG_TIDY_EXPORT_FIXES_DIR" target property was added
to allow the "clang-tidy" tool to export its suggested fixes to a
set of ".yaml" files. A new
"CMAKE_<LANG>_CLANG_TIDY_EXPORT_FIXES_DIR" variable was created to
initialize this property.

* The "XCODE_EMBED_EXTENSIONKIT_EXTENSIONS" target property was added
to tell the "Xcode" generator to embed ExtensionKit-based extensions
such as extensions using the Background Assets framework.  Aspects
of the embedding can be customized with:

* "XCODE_EMBED_EXTENSIONKIT_EXTENSIONS_PATH"

* "XCODE_EMBED_EXTENSIONKIT_EXTENSIONS_CODE_SIGN_ON_COPY"

* "XCODE_EMBED_EXTENSIONKIT_EXTENSIONS_REMOVE_HEADERS_ON_COPY"

Modules
-------

* The "ExternalProject" module's "ExternalProject_Add()" command
gained an "INSTALL_BYPRODUCTS" option to specify files generated by
the "install" step.

* The "FindCUDAToolkit" module:

* gained support for the "sbsa-linux" cross compilation target, and

* now provides an imported target for "nvrtc_static", if found.

* The "FindImageMagick" module now provides imported targets.

* The "FindPython3" and "FindPython" modules gained support for the
Stable Application Binary Interface.

* The "UseSWIG" module gained support for the "perl5" language.

Generator Expressions
---------------------

* The "lt;BUILD_LOCAL_INTERFACE:...>" generator expression was added to
prevent usage requirements from being exported to dependent
projects.

CTest
-----

* The "CTEST_NO_TESTS_ACTION" environment variable was added to
provide a default value for the "--no-tests=<action>" command line
argument of "ctest(1)".

Deprecated and Removed Features
===============================

* The "CMakeFiles/CMakeOutput.log" and "CMakeFiles/CMakeError.log"
files are no longer populated by CMake's built-in modules.
"cmake(1)" no longer suggests looking at them after a "CMake Error"
occurs.  Information previously logged to those files is instead
logged to the "cmake-configure-log(7)".

* On CYGWIN, the undocumented "CMAKE_LEGACY_CYGWIN_WIN32" mode for
compatibility with CMake versions older than 2.8.4 has been removed.

Other Changes
=============

* Language Standard Flags, such as "-std=c++11", when generated due to
"target_compile_features()" or "CMAKE_<LANG>_STANDARD", are now
placed before flags added by "target_compile_options()", rather than
after them.

* For all "COMPILE_DEFINITIONS" properties, any leading "-D" on an
item is removed whether or not it was specified by a generator
expression.

* The "compile_commands.json" database enabled by
"CMAKE_EXPORT_COMPILE_COMMANDS" now provides the "output" field in
the compile commands objects.  This allows multi-config generators,
such as the "Ninja Multi-Config" generator, to provide the compile
commands for all configurations.

* The "USE_FOLDERS" global property is treated as "ON" by default. See
policy "CMP0143".

* The top-level "project()" call will now emit an author warning if
the documented command order in relation to
"cmake_minimum_required()" is not respected.

* The "cmake --trace" option now follows "try_compile()" and
"try_run()" invocations.

Revision 1.206 / (download) - annotate - [select for diffs], Wed Mar 8 04:24:03 2023 UTC (12 months, 3 weeks ago) by charlotte
Branch: MAIN
Changes since 1.205: +2 -1 lines
Diff to previous 1.205 (colored) to selected 1.73 (colored)

devel/cmake: Unbreak build on DragonFly

Revision 1.205 / (download) - annotate - [select for diffs], Fri Jan 20 13:08:07 2023 UTC (14 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.204: +4 -4 lines
Diff to previous 1.204 (colored) to selected 1.73 (colored)

cmake: updated to 3.25.2

CMake 3.25.2
* CheckSymbolExists: Restore newline at end of test source
* Utilities/Release: Use explicit digest for Win7-compatible signature
* Help: Clarify SYSTEM property default for imported targets
* gitlab-ci: replace '$os' tags with '$os-x86_64' on 3.25 release branch
* gitlab-ci: drop unnecessary linux kernel version tag on 3.25 release branch
* ccmake: Restore compilation with AIX curses.h
* ASM_MASM: Populate MSVC debug information format abstraction table
* VS: Do not enable ASM_MASM debug information unless requested
* gitlab-ci: update macOS jobs to use Xcode 14.2
* Tests: Fix CTest.UpdateGIT under repo-local defaultBranch config
* try_run: Avoid crash in keyword-dispatched signature when cross-compiling
* Restore implicit include directory extraction for adaptive relative paths
* IntelLLVM: Avoid unnecessary -Qstd=c++11 flag on Windows
* Help: Restore cmake-buildsystem(7) header-only library example
* FetchContent: Don't pass SYSTEM through to sub-build
* Help: Clarify and update SYSTEM-related docs
* Code comments: Fix trivial typos
* Help: Add version information for SYSTEM option of add_subdirectory
* Help: string(JSON): avoid duplicate labels
* IntelLLVM: Avoid finding not-yet-supported icpx on Windows
* Help: Clarify compiler id distinction between Intel Classic and IntelLLVM
* CUDA: Add support for cuda_std_20 for nvcc 12.0+
* FindCUDAToolkit: Handle CUDA::nvToolsExt not existing
* zlib: Fix typo in mangling the crc32() function
* FindBoost: Add Boost 1.81 support

Revision 1.204 / (download) - annotate - [select for diffs], Fri Dec 2 09:20:10 2022 UTC (15 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.203: +4 -4 lines
Diff to previous 1.203 (colored) to selected 1.73 (colored)

cmake: updated to 3.25.1

CMake 3.25.1
* Help/dev/experimental: document the `msvc` module map format
* MSVC: don't opt into dyndep support
* Tests/FortranModules: add case for modules after "end interface X"
* Tests: Update FindBoost.TestPython for Python 3.11 and 3.12
* try_compile: Restore COPY_FILE with CMAKE_TRY_COMPILE_CONFIGURATION
* MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention"
* Android: Revert setting LINUX variable on Android target systems
* MinGW: Fix regression when windres is not found
* Fortran: Restore support for parsing "end interface X"
* FindRuby: Remove documentation for non-existent Ruby_ROOT_DIR
* XCode: ensure LINK_LIBRARY genex is usable with XCODE_LINK_BUILD_PHASE_MODE
* FindCUDA: Do not use CUDA_nppicom_LIBRARY in CUDA 11.0+
* FindCUDAToolkit: Handle toolkits that don't provide nvptxcompiler
* Check*: Restore support for arbitrary result variable names

Revision 1.203 / (download) - annotate - [select for diffs], Tue Nov 22 19:14:02 2022 UTC (16 months ago) by adam
Branch: MAIN
Changes since 1.202: +7 -9 lines
Diff to previous 1.202 (colored) to selected 1.73 (colored)

cmake: updated to 3.25.0

CMake 3.25 Release Notes
************************

Changes made since CMake 3.24 include the following.

New Features
============

Presets
-------

* The "cmake-presets(7)" schema version has been bumped to "6".

* The "cmake-presets(7)" format now supports a "packagePresets" field
to specify presets for "cpack --preset".

* The "cmake-presets(7)" format now supports a "workflowPresets" field
to specify presets for "cmake --workflow".

* The "cmake-presets(7)" format now supports an "outputJUnitFile" field
to specify JUnit output in test presets

Languages
---------

* The "Compile Features" functionality is now aware of C++26, and
defines a "cxx_std_26" meta-feature. C++26 compiler modes may also
be specified via the "CXX_STANDARD", "CUDA_STANDARD",
"HIP_STANDARD", or "OBJCXX_STANDARD" target properties.

* "CUDA" language support now includes device link-time optimization
when using "nvcc".  The "CMAKE_INTERPROCEDURAL_OPTIMIZATION"
variable and the associated "INTERPROCEDURAL_OPTIMIZATION" target
property will activate device LTO.

Command-Line
------------

* A "cmake --workflow --preset" mode was added to drive sequences of
configure, build, test, and package operations through a single
command.

* The "cmake -E capabilities" command gained a new "tls" field that
tells whether or not TLS is enabled.

* The "cmake -E env" command-line tool gained a "--modify" flag to
support "ENVIRONMENT_MODIFICATION" operations.

* The "cmake --debug-trycompile" option now prints log messages
reporting the directory in which each try-compile check is done.

Compilers
---------

* Support for the Tasking compiler toolsets (SmartCode, TriCore,
Standalone: ARM, MCS, 8051) was added with compiler id "Tasking".
See the "CMAKE_TASKING_TOOLSET" variable.

Commands
--------

* The "add_subdirectory()" command gained a "SYSTEM" option to enable
the "SYSTEM" directory property in the subdirectory.

* The "block()" and "endblock()" commands were added to manage
specific scopes (policy or variable) for a contained block of
commands.

* The "cmake_language()" command gained a new "GET_MESSAGE_LOG_LEVEL"
sub-command.  It can be used to query the current message logging
level.

* The "find_file()", "find_path()", "find_library()", and
"find_program()" commands gained a "VALIDATOR" option to specify a
function to be called for each candidate item to validate it.

* The "find_package()" command now considers paths of the form
"/*/(cmake|CMake)/*/" when searching for package
configuration files.


* The "return()" command gained a "PROPAGATE" option to propagate
variables to the scope to which control returns. See policy
"CMP0140".

* The "try_compile()" and "try_run()" commands gained new signatures
that more consistently use keyword dispatch and do not require a
binary directory to be specified.  Additionally, these signatures
use a unique directory for each invocation, which allows multiple
outputs to be preserved when using "cmake --debug-trycompile".

* The "try_compile()" and "try_run()" commands gained the option
"NO_CACHE" to store results in normal variables.

* The "try_run()" command gained "RUN_OUTPUT_STDOUT_VARIABLE" and
"RUN_OUTPUT_STDERR_VARIABLE" options to capture stdout and stderr
separately from the output of the compiled program.

Variables
---------

* The "BSD" and "CMAKE_HOST_BSD" variables are now set to a string
value when the target or host system is BSD, respectively.

* The "LINUX" and "CMAKE_HOST_LINUX" variables are now set to true
when the target or host system is Linux, respectively.

* The "CMAKE_MSVC_DEBUG_INFORMATION_FORMAT" variable and
"MSVC_DEBUG_INFORMATION_FORMAT" target property were introduced to
select the debug information format for compilers targeting the MSVC
ABI. See policy "CMP0141".

* The "CMAKE_XCODE_SCHEME_ENABLE_GPU_API_VALIDATION" variable and
corresponding "XCODE_SCHEME_ENABLE_GPU_API_VALIDATION" target
property were added to tell the "Xcode" generator what to put in the
scheme's "Metal: API Validation" setting.

* The "CMAKE_XCODE_SCHEME_ENABLE_GPU_SHADER_VALIDATION" variable and
corresponding "XCODE_SCHEME_ENABLE_GPU_SHADER_VALIDATION" target
property were added to tell the "Xcode" generator what to put in the
scheme's "Metal: Shader Validation" setting.

* The "CMAKE_XCODE_SCHEME_LAUNCH_MODE" variable and corresponding
"XCODE_SCHEME_LAUNCH_MODE" target property were added to tell the
"Xcode" generator what to put in the scheme's "Launch" mode setting.

* The "CMAKE_XCODE_SCHEME_LAUNCH_CONFIGURATION" variable and
corresponding "XCODE_SCHEME_LAUNCH_CONFIGURATION" target property
were added to tell the "Xcode" generator what configuration to put
in the scheme's Launch action.

Properties
----------

* The "_COMPILER_LAUNCHER" target property now supports
"generator expressions".

* The "EXPORT_NO_SYSTEM" target property was added to specify that
"install(EXPORT)" and "export()" commands will generate an imported
target with "SYSTEM" property "OFF".

* The "SYSTEM" target property was added to specify whether a target
should be treated as a system library (i.e. its include directories
are automatically "SYSTEM" when compiling consumers).  If not set,
the default is the previous behavior: on for imported targets and
off for other targets.

* The "SYSTEM" directory property was added to initialize the "SYSTEM"
target property for targets created in that directory.

Modules
-------

* The "FetchContent" module "FetchContent_Declare()" command gained a
"SYSTEM" option to enable the "SYSTEM" directory property in the
subdirectory.

* The "FindCUDAToolkit" module now provides a target for nvtx3 for
CUDA 10.0+, which supersedes nvToolsExt. A deprecation warning is
emitted when using "nvToolsExt" if the project requires CMake 3.25
and CUDA 10.0+ is used.

* The "FindDoxygen" module's version handling has been improved:

* Multiple candidate installations will now be considered, if
needed, to satisfy version constraints.  Previously, only the
first one encountered would be considered.

* Version ranges are supported.

* Variations in the version format reported by Doxygen are now
tolerated (e.g. a trailing git commit hash).

* The "FindOpenAL" module now provides an imported target.

* The "FindOpenSP" module was added to find the OpenSP library.

* The "FindVulkan" module gained support for new components:

"dxc"
DirectX Shader Compiler.

"volk"
Volk open-source vulkan meta-loader.

CPack
-----

* The "CPack Archive Generator" gained a new
"CPACK_ARCHIVE_FILE_EXTENSION" variable to control the package file
name extension.

* The "CPack NSIS Generator" gained two new variables
"CPACK_NSIS_EXECUTABLE_PRE_ARGUMENTS" and
"CPACK_NSIS_EXECUTABLE_POST_ARGUMENTS" to provide arguments to the
nsis executable invocation.

* The "CPack" module gained the "CPACK_READELF_EXECUTABLE",
"CPACK_OBJCOPY_EXECUTABLE", and "CPACK_OBJDUMP_EXECUTABLE" variables
to control the locations of binutils used by "cpack(1)".

Deprecated and Removed Features
===============================

* The "IMPORTED_NO_SYSTEM" target property has been deprecated in
favor of "SYSTEM" and "EXPORT_NO_SYSTEM".

* The "Visual Studio 10 2010" generator has been removed.

* The "Visual Studio 11 2012" generator is now deprecated and will be
removed in a future version of CMake.

Other Changes
=============

* On Windows, when targeting the MSVC ABI, the "find_library()"
command now accepts ".a" file names after first considering ".lib".
This is symmetric with existing behavior when targeting the GNU ABI,
in which the command accepts ".lib" file names after first
considering ".a".

* The "SSL_CERT_FILE" and "SSL_CERT_DIR" environment variables can now
be used to override where to find certificate authorities for
TLS/SSL operations.

* If "_CLANG_TIDY" includes a "-p" argument, the full compiler
command line is no longer appended after "--".

* The "Xcode" generator no longer adds the per-config suffix
"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)" to library search
paths. See policy "CMP0142".

----------------------------------------------------------------------------
Changes made since CMake 3.25.0-rc4:

  Help: Render guide links as normal text instead of monospace
  msvc: bless MSVC 19.34 support for C++ modules as experimental
  cmake-gui: Restore embedded version information in Windows binary
  curl: Disable schannel TLS 1.3 support on Windows 11
  Tests: Fix TryCompile bad source case for clang-cl 15 on Windows
  ci: Factor out helper to load ninja into environment on Windows
  ci: Factor out helper to load clang into environment on Windows
  ci: Simplify LLVM/Clang CI job specs on Windows
  ci: Update LLVM/Clang to 15.0 in nightly CI jobs on Windows
  gitlab-ci: Update Windows non-packaging builds to MSVC 14.34 toolset
  gitlab-ci: Update Windows packaging builds to MSVC 14.34 toolset
  CMP0141: Fix PCH REUSE_FROM when MSVC_DEBUG_INFORMATION_FORMAT is empty
  CPack/IFW: Add support for QtIFW 4.5
  IAR: Fix ASM compiler architecture detection
  Ninja: Restore support for compilers not defining a C++ standard level
  expat: Activate POSIX APIs even without compiler extensions
  cmGlobalVisualStudioGenerator: Fix compiling as C++20 in VS 2022

Revision 1.202 / (download) - annotate - [select for diffs], Fri Nov 4 19:46:48 2022 UTC (16 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.201: +4 -4 lines
Diff to previous 1.201 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.24.3

CMake 3.24.3
* cmStringAlgorithms: Add functions to parse strings to long long integers
* file: Avoid strange istringstream crash in cmake.org binaries on Alpine Linux
* Xcode: Drop CMAKE_INTDIR= definition in Swift targets
* Tests: Update RunCMake.XcodeProject iOS cases for Xcode 14.0
* gitlab-ci: update macOS jobs to use Xcode 14.0
* COMPILE_WARNING_AS_ERROR: Fix internal formatting of options table
* LLVMFlang: Add support for mixed-language linking with Fortran
* Help: Add versionadded for string(TIMESTAMP) %f specifier
* try_compile: Honor CMP0128 setting in test project
* Tests: Explicitly allow usage of git file-based protocol in test cases
* cm/filesystem: Fix crash with pre-C++11 std::string GNU ABI in C++17
* Tests: Avoid running C++11 test on GNU < 4.7
* VS: Fix crash finding vswhere on 32-bit Windows
* Ninja: Restore support for non-ascii paths on Windows with ninja<=1.10
* Tests: Add case for ninja with non-ascii chars
* CPack/IFW: Add support for QtIFW 4.4
* CPack: Require no argument for --trace and --trace-expand
* Apple: Fix regression when linking a framework with postfix
* FindMatlab: Add MEX binary file suffix for Apple Silicon native Matlab
* FindMatlab: add R2022b 9.13 version map
* Intel/IntelLLVM: Fortran has distinct "-Werror"-like flag
* CPack/NSIS: Fix installer not waiting for uninstaller to finish
* CUDA: Add support for the two new architectures in 11.8
* FindJNI: replace CMAKE_ANDROID_API by CMAKE_SYSTEM_VERSION
* Android: Avoid searching API level directories matching architecture bitness
* ctest: only report make-level errors when no others are found
* LLVMFlang: Add support for Windows
* LLVMFlang: Add a required line to define linking rules on Windows

Revision 1.201 / (download) - annotate - [select for diffs], Sun Oct 9 12:06:05 2022 UTC (17 months, 2 weeks ago) by rhialto
Branch: MAIN
Changes since 1.200: +2 -1 lines
Diff to previous 1.200 (colored) to selected 1.73 (colored)

devel/cmake: add patch to Modules/FindOpenGL

In order to use libEGL, it looks for libOpenGL, but NetBSD and pkgsrc's
MesaLib don't have that, they have libGL instead. This causes issues in
x11/wxGTK32. See
https://github.com/wxWidgets/wxWidgets/issues/22841
https://gitlab.kitware.com/cmake/cmake/-/issues/24019

Revision 1.200 / (download) - annotate - [select for diffs], Mon Sep 26 13:37:32 2022 UTC (18 months ago) by adam
Branch: MAIN
Changes since 1.199: +4 -4 lines
Diff to previous 1.199 (colored) to selected 1.73 (colored)

cmake: updated to 3.24.2

CMake 3.24.2
* automoc: avoid more compiler warnings in linker-warning-silencing code
* ExternalProject: note the default of `GIT_TAG` being `master`
* Help: Clarify that variable references may use cache entries
* ci: use CMake 3.24.1
* gitlab-ci: Use separate MSVC toolset specification for packaging jobs
* gitlab-ci: Update non-packaging Windows builds to MSVC 14.33 toolset
* Tests: Teach RunCMake.SymlinkTrees to tolerate CCACHE_BASEDIR
* automoc: revert attempts to silence linker warning on macos
* Tests: Add cases covering bad ctest output truncation types
* Help: Add missing closing quote on C++ example
* Help: Add crossrefs to ctest output control options
* Help: Fix typos, grammar and formatting in CMP0134 policy docs
* Help: Fix wrong casing of GTest in FetchContent integration example
* FetchContent: Fix unsetting wrong variable name after provider returns
* FetchContent: Ignore EXACT for redirected find_package() calls
* FindZLIB: fix CMAKE_FIND_LIBRARY_PREFIXES being unset when it was empty
* RunCMakeTest: fix Truncation test definition
* ctest: print error for invalid CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION
* FortranCInterface: Add support for LLVMFlang mangling
* FindBoost: Add support for Boost 1.80
* Tests: Fix VS10Project SourceGroupTreeCMakeLists check
* FILE_SET: Fix source group detection
* Xcode: Fix erroneous MACOSX_BUNDLE link
* Help: cmake-developer: Add section for Windows registry access.
* renames method FinalizeTargetCompileInfo() in FinalizeTargetConfiguration().
* Check link libraries properties: fix performances regression
* Help: Fix typo in FetchContent example, extras should read extra
* FindCUDAToolkit: Search the cuda toolkit include path for cupti
* cmFindBase: Refactor CMAKE_FIND_USE_INSTALL_PREFIX handling
* CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIX
* FindCUDAToolkit: Correctly state cusolver and cublas dependencies
* FindPostgreSQL: Add brew-style directories to search path

Revision 1.199 / (download) - annotate - [select for diffs], Mon Aug 22 19:08:10 2022 UTC (19 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.198: +6 -6 lines
Diff to previous 1.198 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.24.1


CMake 3.24.1
  automoc: avoid compiler warnings in linker-warning-silencing code
  FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
  IPO: Do not use -flto=auto with GCC 10.x on Windows
  export: Restore exclusion of private shared library dependencies from checks
  MinGW: Restore using windres when toolchain-prefixed name is not available
  FindVulkan: Restore tolerance of unknown FATAL_ERROR component
  Help: Add 3.24 release note about FindVulkan component enforcement
  TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property
  Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR
  Help: A missing cross-reference to --compile-no-warning-as-error


CMake 3.24 Release Notes
************************

Changes made since CMake 3.23 include the following.

New Features
============

Presets
-------

* "cmake-presets(7)" files now support schema version "5".

* "cmake-presets(7)" files now support a "${pathListSep}" macro, which
  expands to ":" or ";" based on the platform.

* "cmake-presets(7)" files gained support for specifying a
  "testOutputTruncation" field in test presets, which specifies the
  truncation mode once the maximum test output size has been reached.

Generators
----------

* The "Green Hills MULTI" generator now generates build rules to re-
  run CMake if any CMake files are updated.

* The Visual Studio Generators now support "SYSTEM" headers when using
  VS 2019 Update 11 or later.

Command-Line
------------

* "cmake(1)" gained the "--fresh" command-line option to remove any
  existing "CMakeCache.txt" file and associated "CMakeFiles/"
  directory, when configuring a build tree, thus starting a new
  configuration as if the build tree were freshly created.

* "cmake(1)" gained the "--compile-no-warning-as-error" command-line
  option which causes the effects of the "COMPILE_WARNING_AS_ERROR"
  target property and "CMAKE_COMPILE_WARNING_AS_ERROR" variable to be
  ignored.

* The "cmake(1)" "--trace=json-v1" trace format gained fields
  "global_frame" and "line_end".

* The "cmake(1)" "-E" commands "cat" and "env" learned to respect a
  double dash ("--") argument that acts as a delimiter indicating the
  end of options. Any following arguments are treated as
  operands/positional arguments, even if they begin with a dash "-"
  character.

* The "cmake(1)" "-E tar" command gained the "--touch" option to keep
  the current local timestamp instead of extracting file timestamps
  from the archive.

Compilers
---------

* LLVM's flang Fortran compiler is now supported on some platforms,
  with compiler id "LLVMFlang".

* ADSP compiler support (SHARC and Blackfin) now covers both CCES and
  VDSP++ installations, with required configuration now done in the
  compiler module itself rather than the "Generic-ADSP" platform
  module.

Platforms
---------

* A dedicated "ADSP" platform has been added to replace the existing
  "Generic-ADSP" implementation. This features automatic detection of
  the latest CCES/VDSP++ install and compiler selection ("cc21k" vs.
  "ccblkfn") based off of the "CMAKE_SYSTEM_PROCESSOR" variable.

Commands
--------

* The "cmake_host_system_information()" command, on Windows, gained a
  "QUERY WINDOWS_REGISTRY" mode. See its Query Windows registry
  section.

* The "cmake_language()" command gained a new
  "SET_DEPENDENCY_PROVIDER" sub-command.  When a dependency provider
  is set, calls to "find_package()" and "FetchContent_MakeAvailable()"
  can be redirected through a custom command, which can choose to
  fulfill the request directly, modify how the request is processed,
  or leave it to be fulfilled by the built-in implementation.  See
  Dependency Providers.

* The "file(DOWNLOAD)" command gained options "RANGE_START" and
  "RANGE_END" to specify a range of bytes to download.  This can be
  useful for downloading parts of big binary files.

* The "find_file()", "find_path()", "find_library()",
  "find_program()", and "find_package()" commands gained the
  "NO_CMAKE_INSTALL_PREFIX" option to control searching
  "CMAKE_INSTALL_PREFIX".

* The "find_file()", "find_path()", "find_library()",
  "find_program()", and "find_package()" commands gained the ability
  to specify which Windows Registry views must be queried.

* The "find_package()" command gained a "GLOBAL" option that allows
  for the promotion of imported targets to global scope for the
  duration of the "find_package()" call.

* The "if()" command gained the capability to compare paths by using
  the "PATH_EQUAL" operator.  See policy "CMP0139".

Variables
---------

* The "CMAKE_COLOR_DIAGNOSTICS" variable was added to control color
  diagnostics generated by compilers.  This variable also controls
  color build system messages with Makefile Generators, replacing
  "CMAKE_COLOR_MAKEFILE".

  The "CMAKE_COLOR_DIAGNOSTICS" environment variable was added to set
  a default value for "CMAKE_COLOR_DIAGNOSTICS".

* The "CMAKE_COMPILE_WARNING_AS_ERROR" variable and corresponding
  "COMPILE_WARNING_AS_ERROR" target property were added to enable
  compilation with a compiler-specific flag to treat warnings as
  errors, such as "-Werror".

* The "CMAKE_CUDA_ARCHITECTURES" variable and associated
  "CUDA_ARCHITECTURES" target property now support the special
  "native" value to compile for the architectures(s) of the host's
  GPU(s).

* The "CMAKE_FIND_PACKAGE_TARGETS_GLOBAL" variable was added to toggle
  behavior of the "find_package()" command's new "GLOBAL" option.

* The "CMAKE_FIND_USE_INSTALL_PREFIX" variable was added to toggle
  behavior of the "find_file()", "find_library()", "find_path()",
  "find_package()", and "find_program()" commands' new
  "NO_CMAKE_INSTALL_PREFIX" option.

* The "CMAKE_PROJECT_TOP_LEVEL_INCLUDES" variable was added to allow
  injecting custom code at the site of the first "project()" call,
  after the host and target platform details have been determined.

* The "CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES" variable was added to
  tell the "try_compile()" command not to pass any platform variables
  to the test project.

* The "CMAKE_VERIFY_INTERFACE_HEADER_SETS" variable and corresponding
  "VERIFY_INTERFACE_HEADER_SETS" target property were added to enable
  build rules that verify all headers in header sets can be used on
  their own.

* The "CMAKE_VS_NO_COMPILE_BATCHING" variable and corresponding
  "VS_NO_COMPILE_BATCHING" target property were added to tell Visual
  Studio Generators whether to disable compiler parallelism and call
  the compiler with one source file at a time.

* The "CMAKE_WATCOM_RUNTIME_LIBRARY" variable and
  "WATCOM_RUNTIME_LIBRARY" target property were introduced to select
  the runtime library used by compilers targeting the Watcom ABI. See
  policy "CMP0136".

* The "CMAKE_XCODE_XCCONFIG" variable and corresponding
  "XCODE_XCCONFIG" target property were added to tell the "Xcode"
  generator to handle "xcconfig" files.

Properties
----------

* The "INTERFACE_LINK_LIBRARIES_DIRECT" and
  "INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE" target properties were
  added to express usage requirements affecting a consumer's direct
  link dependencies.

* The "INTERFACE_HEADER_SETS_TO_VERIFY" target property was added to
  specify which header sets should be verified by
  "VERIFY_INTERFACE_HEADER_SETS".

* The "LINK_LIBRARIES" target property now supports the
  "$    " generator expression. See policy "CMP0131".

* The "VS_DOTNET_STARTUP_OBJECT" target property was added to tell
  Visual Studio Generators which startup class shall be used when the
  program or project is executed. This is necessary when more than one
  "static void Main(string[])" function signature is available in a
  managed .NET project.

Modules
-------

* The "ExternalProject" module "ExternalProject_Add()" command gained
  a new "DOWNLOAD_EXTRACT_TIMESTAMP" option for controlling whether
  the timestamps of extracted contents are set to match those in the
  archive when the "URL" download method is used. Policy "CMP0135" was
  added to enable the option by default.

* The "FetchContent" module and the "find_package()" command now
  support integration capabilities:

  * "FetchContent_MakeAvailable()" can now try to satisfy a dependency
    by calling "find_package()" first.  A new
    "FETCHCONTENT_TRY_FIND_PACKAGE_MODE" variable controls whether
    this is done by default for all dependencies, is opt-in per
    dependency, or is disabled entirely.

  * "find_package()" can be re-routed to call
    "FetchContent_MakeAvailable()" instead.  A new read-only
    "CMAKE_FIND_PACKAGE_REDIRECTS_DIR" variable points to a directory
    where config package files can be located to facilitate these re-
    routed calls.

* The "FindJNI" module now provides imported targets.

* The "FindMatlab" module "matlab_add_mex()" function gained a
  "NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES" option to disable automatic
  linking of MATLAB libraries.

* The "FindVulkan" module now supports components to select which
  VulkanSDK tool and libraries to find in addition to the Vulkan SDK
  headers and library.

* The "FindZLIB" gained a new "ZLIB_USE_STATIC_LIBS" variable to
  search only for static libraries.

Generator Expressions
---------------------

* The "LINK_LIBRARY" generator expression was added to manage how
  libraries are specified during the link step. The
  "CMAKE__LINK_LIBRARY_USING_" and
  "CMAKE_LINK_LIBRARY_USING_" variables are used to define
  features usable by the "LINK_LIBRARY" generator expression.
  Moreover, the "LINK_LIBRARY_OVERRIDE" and
  "LINK_LIBRARY_OVERRIDE_   " target properties are available to
  resolve incompatible features.

  The "LINK_LIBRARY" generator expression can link frameworks in
  various ways when targeting "Apple" platforms. The following
  features were added:

  * "FRAMEWORK"

  * "NEEDED_FRAMEWORK"

  * "REEXPORT_FRAMEWORK"

  * "WEAK_FRAMEWORK"

  The "LINK_LIBRARY" generator expression can link libraries in
  various ways when targeting "Apple" platforms. The following
  features were added:

  * "NEEDED_LIBRARY"

  * "REEXPORT_LIBRARY"

  * "WEAK_LIBRARY"

  The "LINK_LIBRARY" generator expression gained the feature
  "WHOLE_ARCHIVE" to force load of all members in a static library.
  This feature is supported on the following target platforms:

  * all "Apple" variants

  * "Linux"

  * all "BSD" variants

  * "SunOS"

  * "Windows"

  * "CYGWIN"

  * "MSYS"

* The "LINK_GROUP" generator expression was added to manage the
  grouping of libraries during the link step.  The
  "CMAKE__LINK_GROUP_USING_" and
  "CMAKE_LINK_GROUP_USING_" variables are used to define
  features usable with the "LINK_GROUP" generator expression. This
  release defines the "RESCAN" feature, which can be used to handle
  circular references among static libraries when using toolchains for
  Linux, BSD, SunOS and GNU toolchains for Windows.

* The "PATH" generator expression was added to manage paths.

* The "PATH_EQUAL" generator expression was added to manage path
  comparisons.

* The "TARGET_BUNDLE_DIR_NAME" generator expression was added to
  evaluate to the name of the bundle directory for a given bundle
  target.

CTest
-----

* "ctest(1)" gained a "--test-output-truncation" option (and
  corresponding "CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION" variable) to
  specify the truncation mode once the maximum test output size has
  been reached. Possible values are "tail" (default), "middle" or
  "head".

CPack
-----

* The "CPack WIX Generator" gained a new variable,
  "CPACK_WIX_ARCHITECTURE", to specify the installer architecture in
  order to support computers running Windows for ARM.

* CPack now supports the "CPACK_THREADS" option for "zstd" compression
  when compiled with libarchive 3.6 or higher.  It is supported by
  official CMake binaries available on cmake.org.

Deprecated and Removed Features
===============================

* The "CPack" module no longer enables the SLA by default in the
  "CPack DragNDrop Generator".  See policy "CMP0133" and the
  "CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE" variable.

* The deprecated "CPack PackageMaker Generator" has been removed.

* The "FindGLUT" module no longer provides the undocumented
  "GLUT_LIBRARY" and "GLUT_INCLUDE_PATH" result variables.

Other Changes
=============

* CMake no longer sets environment variables like "CC", "CXX", etc.
  when enabling the corresponding language during the first CMake run
  in a build directory.  See policy "CMP0132".

* The "CheckIPOSupported" module "check_ipo_supported()" command now
  uses the caller's "CMAKE__FLAGS" and
  "CMAKE__FLAGS_" values. See policy "CMP0138".

* The "MSYS Makefiles" and "MinGW Makefiles" generators, when a
  compiler is not explicitly specified, now select the first compiler
  (of any name) found in directories listed by the "PATH" environment
  variable.

* The "try_compile()" command whole-project signature now propagates
  platform variables.  See policy "CMP0137".

* The "while()" command now diagnoses errors during condition
  evaluation.  See policy "CMP0130".

* The precompiled macOS binaries provided on cmake.org no longer
  attach a SLA to the ".dmg" packages.  This was removed because macOS
  12 deprecated the tools used to attach ".dmg" resources.

Revision 1.198 / (download) - annotate - [select for diffs], Wed Aug 17 13:38:30 2022 UTC (19 months, 1 week ago) by tnn
Branch: MAIN
Changes since 1.197: +2 -1 lines
Diff to previous 1.197 (colored) to selected 1.73 (colored)

cmake: don't install the emacs mode

devel/cmake-mode provides the emacs mode, with the emacs pkgsrc integration

Revision 1.197 / (download) - annotate - [select for diffs], Fri Jul 29 10:40:21 2022 UTC (20 months ago) by adam
Branch: MAIN
Changes since 1.196: +4 -4 lines
Diff to previous 1.196 (colored) to selected 1.73 (colored)

cmake: updated to 3.23.3

CMake 3.23.3
* cmake-gui: Restore support for internationalization with Qt5 on Windows
* Tutorial: Simplify logic checking for cmath functions
* ci: update to use ninja 1.11.0
* Xcode: Use ad-hoc signing during compiler id on macOS
* Xcode: Suppress "Run Script" build phase warning during compiler id
* Tests: Teach RunCMake to ignore Xcode DVTSDK warnings
* ExternalProject: Fix regression in stamp creation for Xcode+iOS
* Utilities/Release: Update macOS notarization script to use notarytool
* gitlab-ci: update macOS jobs to use Xcode 13.4
* FindLAPACK: Add '-fortranlibs' flag only with NVHPC/PGI compilers
* LCC: link with -lgfortran instead of -llfortran since 1.26.03
* install(EXPORT): Check for missing file sets at generate time
* cmGlobalGenerator: Only compute build files for all targets
* cmake: simplify to a single source of truth of working mode
* cmake: In -P mode ignore extra paths on the command line

Revision 1.196 / (download) - annotate - [select for diffs], Wed Jun 29 11:34:47 2022 UTC (21 months ago) by thor
Branch: MAIN
Changes since 1.195: +3 -1 lines
Diff to previous 1.195 (colored) to selected 1.73 (colored)

devel/cmake: add support for choosing BLAS/LAPACK .pc

This adds already upstreamed patches to FindBLAS.cmake and FindLAPACK.cmake
that enables our build infrastructure to better select which BLAS package
to locate in cmake-using builds via specifying a name for pkg-config
instead of hardcoded 'blas' or 'lapack'.

Remove with cmake-3.25.

Revision 1.195 / (download) - annotate - [select for diffs], Thu May 26 08:53:59 2022 UTC (22 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.194: +5 -5 lines
Diff to previous 1.194 (colored) to selected 1.73 (colored)

cmake: updated to 3.23.2

CMake 3.23.2
* CPack/NuGet: Restore component packaging on Windows
* cmInstallCommand: tweak error message
* cmExportBuildFileGenerator: handle genex-wrapped source paths
* ci: use CMake 3.23.1
* CheckLinkerFlag: Catch linker warning when the checked flag is ignored
* CheckCompilerFlags: Revert "Catch linker warning about ignored flags"
* Tests: Teach RunCMake to ignore Xcode extension point warnings
* gitlab-ci: update macOS jobs to use Xcode 13.3
* FindBoost: Add support for Boost 1.79
* Utilities/Sphinx: Clarify names of variables listing post-sphinx commands
* Utilities/Sphinx: Add variables listing pre-sphinx commands
* Tutorial: Provide a source archive when published on cmake.org
* cmGeneratedFileStream: Do not remove empty path
* FindPkgConfig: Fix preservation of ENV{PKG_CONFIG_ALLOW_SYSTEM_LIBS}
* gitlab-ci: Update Windows builds to MSVC 19.32 toolset
* VS: Fix CUDA CodeGeneration field for CMAKE_CUDA_ARCHITECTURES=OFF
* FortranCInterface: Fix failure with gfortran 12 and Clang
* Clang: Use -imsvc flag without space to support Clang tools
* file(GET_RUNTIME_DEPENDENCIES): Support VS 2022 without VS 2019
* libarchive: Update script to get 3.5.3
* libarchive: include archive_platform.h first in blake2s sources
* libarchive: Update build within CMake after changes in 3.5.3
* productbuild: Restore CPACK_PACKAGEMAKER_CHOICES variable
* Help: Document when HIP_COMPILER generator expressions were added
* Tests: Ignore all classes in Xcode internal objc warnings
* CPackIFW: Fix regression in icon file names
* FILE_SET: Make INTERFACE libraries with HEADER_SETS participate in buildsystem
* Help: Remove references to MODULE in $ doc
* LibArchive 2022-02-08 (673c1eae)
* FindPython: Add support for pypy v7.3.9 and uppers
* FindPython: fix typo error
* FindJava, FindJNI: ensure correct handling of versions on Windows
* Help/guide: Fix wrong header file reference
* ccmake: Move Initialization of Fields Inline
* ccmake: Fix crash when deleting all cache entries
* ccmake: Fix infinite loop during invalid search
* FindPython: add support for Python 3.12
* CMakePackageConfigHelpers: Fix note about version files supporting ranges

Revision 1.194 / (download) - annotate - [select for diffs], Mon Apr 18 11:01:33 2022 UTC (23 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.193: +5 -6 lines
Diff to previous 1.193 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.23.1

CMake 3.23.1
* CMakeDependentOption: improve documentation
* cmFileSet: store visibility with the fileset
* cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-only
* GNUInstallDirs: Revert "Apply Debian multiarch LIBDIR to more prefixes"
* Help: Clarify when policy CMP0112 takes effect
* gitlab-ci: clarify name of package upload job template
* gitlab-ci: distinguish release and development pipeline schedules
* gitlab-ci: add sanity check to upload jobs
* gitlab-ci: simplify package pipeline job conditions
* gitlab-ci: start release package pipelines manually
* Utilities/Sphinx: Add undocumented option to build docs for cmake.org
* Utilities/Sphinx: Add option to build outdated version banner for cmake.org
* Utilities/Sphinx: Add OpenSearch link to html page headers on cmake.org
* gitlab-ci: consolidate jobs for cmake.org/cmake/help/git-{master,stage} docs
* gitlab-ci: update cmake.org documentation in release package pipeline
* gitlab-ci: Add objects.inv to cmake.org html documentation
* gitlab-ci: Build qthelp-format release documentation for cmake.org
* Help: Add "Updates" section header in 3.22 release notes
* Utilities/Sphinx: Update qthelp generation to qhelpgenerator
* CheckCompilerFlag: Fix regression in locale environment preservation
* Help: Document that target_sources defines [INTERFACE_]HEADER_SETS
* CheckSourceCompiles: Avoid linker warning with -fembed-bitcode
* Help: Correct/add missing details for CheckPIESupported
* CheckPIESupported: Prevent separate output lines running together
* PCH: Fix Xcode non-pch language exclusion
* Help: Fix typo in install command documentation
* FindPostgreSQL: add support for PostgreSQL 14
* Tests: Ignore all classes in Xcode internal objc warnings
* FILE_SET: Forbid adding header sets to Apple FRAMEWORK libraries
* CUDA: Ninja generator generates valid compile database
* cmake: --list=presets=[type] doesn't generate incorrect warnings
* Help: Fix string(JSON ... LENGTH ...) signature
* Help: Add that CMAKE_CACHEFILE_DIR might not be defined

Revision 1.193 / (download) - annotate - [select for diffs], Wed Mar 16 18:36:47 2022 UTC (2 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.192: +1 -2 lines
Diff to previous 1.192 (colored) to selected 1.73 (colored)

cmake: Apply different fix for Darwin/aarch64.

The previous patch was breaking cmake when running outside of the pkgsrc
environment.  Should fix NetBSD/pkgsrc#103.  Bump PKGREVISION.

Revision 1.192 / (download) - annotate - [select for diffs], Mon Mar 7 19:59:44 2022 UTC (2 years ago) by adam
Branch: MAIN
Changes since 1.191: +4 -4 lines
Diff to previous 1.191 (colored) to selected 1.73 (colored)

cmake: updated to 3.22.3

CMake 3.22.3
* while: Restore tolerance of condition error
* FindMPI: Place static first in mpi test source
* NMake: Document response file encoding heuristic in a comment
* NMake: Use UTF-8 BOM in response files only with MSVC tooling
* message: Restore explicit flushing of messages on stderr
* gitlab-ci: enable assertions on fedora34-ninja jobs
* CompilerId: Fix default extensions check for Clang targeting MSVC ABI
* Intel: Add dependencies on system header files on Windows
* Tests: Add missing guards on Qt4 and Qt5 tests
* BinUtils: Avoid llvm-ar on Apple platforms
* Tests: Simplify RunCMake.{if,while} unbalanced parenthesis cases
* install(TARGETS): Restore per-export INCLUDES DESTINATION
* Help: Add MSVC_TOOLSET_VERSION value for v143 toolset
* IAR/CXX: Fix compatibility with CMP0057 OLD
* FindGLUT: Use link directories for libs from pkg-config
* FindMatlab: Fix version detection for MCR >= 9.10
* IntelLLVM: Add dependencies on system header files on Windows
* Help: Drop incorrect versionadded for try_compile result variable
* FindGSL: Improve version extraction regex

Revision 1.191 / (download) - annotate - [select for diffs], Fri Jan 28 21:56:21 2022 UTC (2 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.190: +2 -1 lines
Diff to previous 1.190 (colored) to selected 1.73 (colored)

#include <memory> to fix Snow Leopard build.

Revision 1.190 / (download) - annotate - [select for diffs], Tue Jan 25 21:18:08 2022 UTC (2 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.189: +5 -5 lines
Diff to previous 1.189 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.22.2

CMake 3.22.2
* VS: Remove the '/guard:cf' flag from v143 link flag table
* FortranCInterface: Fix compatibility with GCC gfortran 12 LTO
* FindBoost: Add support for Boost 1.78
* ci: Explicitly disable Java tests on Windows
* FindGLUT: Provide legacy GLUT_INCLUDE_DIR result in pkg-config code path
* FindBoost: Do not warn about now-supported version 1.78
* ci: Explicitly disable Java tests on VS builds
* file: Restore error capture in undocumented READ_ELF mode
* MSVC: Use -external:I flag without space to support Clang tools
* Help: Add missing 3.22.1 section to the release notes
* gitlab-ci: update macOS jobs to use Xcode 13.2
* ASM: Fix identification of armasm 6.17+
* FindBoost: Add support for Python 3.10
* XL: Detect default extensions mode for legacy compiler
* CMP0128: Prefix test names with mode
* CMP0128: Avoid test code duplication
* CMP0128: Add flag in OLD mode even when standard matches the default
* Android: Fix linking android_support for pre-21 system STL
* FindPython: Add support for Python 3.11
* VS: Fix detecting icx.exe with Intel Compiler toolsets newer than 2021

Revision 1.189 / (download) - annotate - [select for diffs], Wed Dec 8 07:59:09 2021 UTC (2 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.188: +4 -4 lines
Diff to previous 1.188 (colored) to selected 1.73 (colored)

cmake: updated to 3.22.1

CMake 3.22.1
* gitlab-ci: fix comment typo
* gitlab-ci: shorten job prefixes
* ci: add gmock to Debian base images
* try_compile: Do not use CMAKE_BUILD_TYPE or CMAKE_CONFIGURATION_TYPES env vars
* Help: Document more use cases for CMAKE_POLICY_DEFAULT_CMPNNNN
* Help: Suggest CMAKE_POLICY_DEFAULT_CMP0077 in CMP0077 docs
* Help: Suggest CMAKE_POLICY_DEFAULT_CMP0126 in CMP0126 docs
* gitlab-ci: update macOS jobs to use Xcode 13.1
* CompilerId: Restore support for classic C by avoiding C++ style comments
* cmSystemTools: Remove unnecessary mark-as-used casts to void
* file(RPATH): Restore tolerance of unknown formats if new RPATH is empty
* FindPkgConfig: Restore finding pkg-config before pkgconf
* VS: Revert "Add missing label in C# project-build events"
* ci: Enable more VS tests that use managed code
* Utilities/Release: Add script to sign/notarize macOS application bundle
* HIP: Enable CMAKE_EXPORT_COMPILE_COMMANDS for HIP
* mingw: fix calling convention for strftime()
* Help: ENVIRONMENT_MODIFICATION path_list_... separator is based on host
* Help: Use definition list for allowed values of CMAKE_INSTALL_MODE
* Help: Explicitly state that if(ENV{some_var}) is always false
* Help: Be more explicit about the behavior of if(<string>)
* Help: Clarify CMAKE_INSTALL_MODE documentation
* UseSWIG: ensure directory for depfile exists
* FindPython: clarify static libraries hint usage
* CMakeParseLibraryArchitecture: Fix parsing /lib/<arch> implicit object path
* GNUInstallDirs: Prefer system lib64 over conda lib when ambiguous

Revision 1.188 / (download) - annotate - [select for diffs], Mon Nov 22 08:59:17 2021 UTC (2 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.187: +4 -4 lines
Diff to previous 1.187 (colored) to selected 1.73 (colored)

cmake: updated to 3.22.0

CMake 3.22 Release Notes
************************

Changes made since CMake 3.21 include the following.

New Features
============

Commands
--------

* The "cmake_host_system_information()" command can now query OS
  identification variables from the "/etc/os-release" file.

* The "string(TIMESTAMP)" command now supports the "%V" specifier for
  ISO 8601 week numbers.

Variables
---------

* The "CMAKE_BUILD_TYPE" environment variable was added to provide a
  default value for the "CMAKE_BUILD_TYPE" variable.

* The "CMAKE_CONFIGURATION_TYPES" environment variable was added to
  provide a default value for the "CMAKE_CONFIGURATION_TYPES"
  variable.

* The "CMAKE_INSTALL_MODE" environment variable was added to tell
  "install()" rules (implemented by "file(INSTALL)") to install
  symbolic links instead of copying of files.

* The "CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG" and
  "CMAKE_LINK_WHAT_YOU_USE_CHECK" variables were added to control the
  linker flag and check used by the "LINK_WHAT_YOU_USE" target
  property.

* The "CMAKE_REQUIRE_FIND_PACKAGE_<PackageName>" variable was added to
  turn a non-REQUIRED "find_package()" call into a REQUIRED one.

Properties
----------

* The "<LANG>_EXTENSIONS" target property is now initialized to
  "CMAKE_<LANG>_EXTENSIONS_DEFAULT", detected from the compiler. See
  "CMP0128".

* The "VS_SETTINGS" source file property is now supported for all
  source file types.  Previously it worked only for non-built sources.

Modules
-------

* The "CMakeDependentOption" module "cmake_dependent_option()" macro
  now supports full Condition Syntax. See policy "CMP0127".

* The "FetchContent" module now passes through the "CMAKE_TLS_VERIFY",
  "CMAKE_TLS_CAINFO", "CMAKE_NETRC" and "CMAKE_NETRC_FILE" variables
  (when defined) to the underlying "ExternalProject" sub-build.
  Previously, those variables were silently ignored by "FetchContent".

* The "FindBLAS" and "FindLAPACK" modules gained a
  "BLA_SIZEOF_INTEGER" option to find a BLAS/LAPACK whose ABI uses a
  specific integer size.

* The "FindJasper" module now provides an imported target.

* The "FindMatlab" module now provides imported targets.

* The "FindPkgConfig" module gained a "PKG_CONFIG_ARGN" variable to
  specify arguments to "pkg-config" calls.

* The "GoogleTest" module "gtest_discover_tests()" function gained a
  "TEST_FILTER" option to filter tests using "--gtest_filter" during
  test discovery.

* The "UseSWIG" module, for Visual Studio Generators, can now use the
  "swig" tool to generate implicit dependencies.

CTest
-----

* "ctest(1)" learned to recognize labels attached to a test at run
  time. Previously it was only possible to attach labels to tests at
  configure time by using the "LABELS" test property. See Additional
  Test Measurements for more information.

* "ctest(1)" learned to be able to modify the environment for a test
  through the "ENVIRONMENT_MODIFICATION" property. This is allows for
  updates to environment variables based on the environment present at
  test time.

* The "ctest_memcheck()" command now also generates a
  "DynamicAnalysis-Test.xml" file which may be used to submit test
  results to CDash.

CPack
-----

* The "CPack DEB Generator" gained the option to set
  "CPACK_DEBIAN_COMPRESSION_TYPE" to "zstd", which enables Zstandard
  compression for deb packages.

* The "CPack NSIS Generator" gained a new
  "CPACK_NSIS_IGNORE_LICENSE_PAGE" variable to suppress the license
  page in the installer.

* The "CPack RPM Generator" gained the
  "CPACK_RPM_REQUIRES_EXCLUDE_FROM" option to avoid scanning specific
  paths for dependencies.

Deprecated and Removed Features
===============================

* The "Visual Studio 10 2010" generator is now deprecated and will be
  removed in a future version of CMake.

Other Changes
=============

* The "Compile Features" functionality now correctly disables or
  enables compiler extensions when no standard level is specified and
  avoids unnecessarily adding language standard flags if the requested
  settings match the compiler's defaults. See "CMP0128".

* The "Compile Features" functionality now ignores features for
  languages that are not enabled.

* The Ninja Generators now implement the "edit_cache" target using
  "ccmake(1)" if available.

* The "Ninja" and "NMake Makefiles" generators now use the MSVC
  "-external:I" flag for system includes. This became available as of
  VS 16.10 (toolchain version 14.29.30037).

* The "CPack NSIS Generator" now requires NSIS 3.03 or later.

----------------------------------------------------------------------------
Changes made since CMake 3.22.0-rc3:

Antons Jeļkins (2):
  cmTimestamp: Declare component buffer before MinGW-specific code
  MINGW-w64: Fix string(TIMESTAMP) build on 32bits.

Brad King (3):
  libuv: Backport MinGW-w64 compilation fix to CMake 3.22 branch
  IntelLLVM: Enable Fortran module rebuild avoidance in Makefile generators
  CMake 3.22.0

Craig Scott (5):
  Help: Add missing version details for Additional Test Measurements
  Help: Improve cross-referencing of test LABELS and related features
  Help: Clarify meaning of filter expression in gtest_discover_tests()
  Tests: Fix and update wrongly named GoogleTest stdout file
  gtest_discover_tests: Re-run PRE_TEST discovery on any arg change

Revision 1.187 / (download) - annotate - [select for diffs], Sun Oct 31 08:45:00 2021 UTC (2 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.186: +4 -4 lines
Diff to previous 1.186 (colored) to selected 1.73 (colored)

cmake: updated to 3.21.4

CMake 3.21.4
* Tests/RunCMake/Autogen: test CMP0111 behavior
* cmQtAutoGenInitializer: support IMPLIB-only imported targets
* Tests: Fix RunCMake.XcodeProject XcodeIOSInstallCombined cases for Xcode 13.0
* gitlab-ci: update macOS jobs to use Xcode 13.0
* bootstrap: Enable cmake_language command to support cmake-gui with Qt 6.2
* ci: Enable CTest.Update{CVS,SVN,HG} tests
* MSVC: Tolerate cxx_std_23 feature on older compiler versions
* zstd: Backport fix for SIGBUS on armv6 from zstd 1.5.0
* IRSL: Fix discovery of VS 2022 v143 toolset redistributables for preview 5
* Source: Fix typo in _WIN32 preprocessor checks
* BinUtils: Avoid llvm-strip versions older than Clang 11
* VS: Update Visual Studio 17 2022 generator for the Release Candidates
* CPack/IFW: Add support for QtIFW 4.1
* Tests: Specify destination for Xcode scheme
* FindMatlab: Add R2021b => 9.11 version
* NVHPC: only use '-MD' for the C and CXX languages
* FortranCInterface: Fix regression in timestamp check
* TestDriver: Fix old-style-cast warning in C++ mode
* GNUInstallDirs: Fix misinterpretation of Debian Policy on LIBEXECDIR

Revision 1.186 / (download) - annotate - [select for diffs], Tue Oct 26 10:14:25 2021 UTC (2 years, 5 months ago) by nia
Branch: MAIN
Changes since 1.185: +2 -2 lines
Diff to previous 1.185 (colored) to selected 1.73 (colored)

archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip

Revision 1.185 / (download) - annotate - [select for diffs], Thu Oct 7 13:39:19 2021 UTC (2 years, 5 months ago) by nia
Branch: MAIN
Changes since 1.184: +1 -2 lines
Diff to previous 1.184 (colored) to selected 1.73 (colored)

devel: Remove SHA1 hashes for distfiles

Revision 1.184 / (download) - annotate - [select for diffs], Mon Sep 27 19:02:38 2021 UTC (2 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.183: +5 -5 lines
Diff to previous 1.183 (colored) to selected 1.73 (colored)

cmake: updated to 3.21.3

CMake 3.21.3
* FindBoost: Add support for Boost 1.77
* MSVC: Fix MSVC_TOOLSET_VERSION for VS 2022 v143 toolset
* IRSL: Add discovery of VS 2022 v143 toolset redistributables
* gitlab-ci: Update Windows builds to MSVC 19.29-16.11 toolset
* VS: Fix managed C++ project generation for VS 2022
* VS: Update Visual Studio 17 2022 generator for Preview 4
* HIP: Detect ROCm path earlier
* HIP: Remove ROMClang compiler id and use Clang directly
* HIP: Simplify detection of HIP runtime CMake package
* Android: Restore searching PATH for executables
* IAR: Restore support for projects not enabling policy CMP0057
* FindPython: Ensure homebrew on Mac M1 is used
* Ninja: fix ARMClang paths for Windows
* HIP: Use 'rocm_agent_enumerator' to determine CMAKE_HIP_ARCHITECTURES
* KWSys: SystemTools: Ensure Windows Vista APIs are available before using them

Revision 1.183 / (download) - annotate - [select for diffs], Thu Aug 26 06:32:59 2021 UTC (2 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.182: +5 -5 lines
Diff to previous 1.182 (colored) to selected 1.73 (colored)

cmake: updated to 3.21.2

CMake 3.21.2
* AUTOUIC: Add test for cyclic dependency between UI headers and timestamp
* CPackRPM: avoid a spurious `;` in the `%pre` and other sections with scripts
* FindMPI: do not detect `-framework` as a compile flag
* GNUInstallDirs: avoid unwanted variable dereference
* VS: Fix assertion failure on INCLUDE_DIRECTORIES in INTERFACE libraries
* VS: Fix /reference and /headerUnit flag table entries for v142 and v143
* CheckLanguage: Avoid CMP0126 warning
* AUTOUIC: Revert "Fix generating of dependency rules for UI header files"
* VS: Add special case for '-T version=14.29.16.11' under VS 16.11
* VS: Update Visual Studio 17 2022 generator for Preview 3.1
* Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM
* Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILE
* BinUtils: Avoid searching CMAKE_PREFIX_PATH
* macOS: Restore support for Mac OS X 10.4 (Tiger)
* Platform/Haiku: Remove the include-once behavior
* CMakePresets: Check presets with their own file version
* CTest: Reset multi-options to persistent multi-options
* add_custom_command(DEPFILE) independent from CMAKE_DEPENDS_USE_COMPILER
* Help: get_filename_component: fix version info for cmake_path
* FindPkgConfig: Restore legacy behavior when CMP0126 is set to NEW
* Help: cmake_path: add missing parameter
* NVHPC: Support 21.07 change to '-MD' where it behaves like gcc
* NVHPC-CXX: Add support for C++20
* NVHPC-C: Add support for C17
* FindBinUtils: Fall back to ld for Clang without lld
* Android: Fix NDK toolchain dir on arm64 mac
* CUDA/Clang: Fix separable compilation in non-root directories with Makefiles
* CUDA/Clang: Simplify --register-link-binaries logic
* Ninja: Revert accidental LINK_WHAT_YOU_USE impl for static libraries

Revision 1.182 / (download) - annotate - [select for diffs], Thu Jul 29 11:37:40 2021 UTC (2 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.181: +5 -5 lines
Diff to previous 1.181 (colored) to selected 1.73 (colored)

cmake: updated to 3.21.1

CMake 3.21.1
  AUTOUIC: Fix cyclic dependency between generated UI headers and timestamp
  AUTOUIC: Fix generating of dependency rules for UI header files
  ci: use CMake 3.21.0
  Help/ctest_memcheck: mention `ctest_test` arguments
  TestDriver: suppress deprecated header lints for time.h
  TestDriver: use `CM_NULL` to avoid lints about `nullptr` usage
  Help/ctest_test: add a comment to also update `ctest_memcheck`
  enable_language: Fix test for working compiler with CMP0126 NEW behavior
  VS: Recognize CSharp VS 2019 compiler version v142
  VS: Improve v142 CL flag table LanguageStandard ordering
  VS: Add CSharp VS 2022 compiler version and flag table v143
  VS: Add v143 flag tables for VS 17.0 Preview 2
  VS: Fix `/MANIFESTUAC:` link flag mapping for v143
  VS: Map the link `/debug` flag for v143
  VS: Remove the /MERGE flag from v143 link flag table
  VS: Fix `/analyze:log` flag mapping for v143
  VS: Add `-Zc:inline[-]` flag table entry for v143
  VS: Populate `/Y-` flag table entry for v143
  VS: Populate `-Qspectre-` flag table entry for v143
  VS: Populate `/JMC-` flag table entry for v143
  VS: Remove empty ConformanceMode entry from flag table for v143
  VS: Remove empty LanguageStandard entries from flag table for v143
  VS: Remove empty ExternalWarningLevel entry from flag table for v143
  VS: Remove broken EnableASAN entry from flag table for v143
  VS: Fix `/sourceDependencies` flag table entries for v143
  VS: Update Visual Studio 17 2022 generator for Preview 2
  CMakeDetermineCompilerId: Fix CMAKE_EXECUTABLE_FORMAT in CMP0126 NEW behavior
  try_compile: Propagate CMP0126 to the generated test project
  CMakeDependentOption: Revert "Allow parentheses in the depends string"
  cmMessenger: Revert to non-color messages on Windows
  cmGeneratorExpressionNode: Factor out local variable for global generator
  Swift: Update test case to try CMP0126 NEW behavior
  Ninja Multi-Config: Restore TARGET_OBJECTS support in cross-configs
  VS: Remove cl /FS entry from flag table for v142 and v143
  VS: Remove C++ module CompileAs flag table entries for v142 and v143
  Help: Clarify wording of CMP0124
  Help: Explain policy CMP0125 in more detail
  Help: Make policy CMP0126 wording more accurate
  Help: Fix trivial typo
  Help: Clarify which project() call PROJECT_IS_TOP_LEVEL is for
  Help: Re-order file() sub-commands in Filesystem section
  Help: Expand details for file(COPY_FILE)
  Help: Clarify and correct wording around DEPFILE option
  Help: Improve wording and cross-referencing for ctest JUnit output
  Help: Add cross-references between test output size ctest variables
  IAR: Moved search logic to BinUtils.
  AutoGen: Fix needless compilation of mocs_compilation.cpp
  KWSys 2021-07-26 (d5fd6ca2)
  CMakePresets.json: Fix expansion issue with empty binaryDir
  Tests: Clean up Ninja Multi-Config test from cb777dd
  Compiler/IAR: search for both IAR's binaries * and *.exe
  Compiler/IAR: Avoid clobbering CMAKE_EXECUTABLE_SUFFIX
  Help: Document CMAKE_EXECUTABLE_SUFFIX_<LANG> explicitly
  libuv: Fix building with mingw toolchains for ARM/AArch64
  GNU: Correct C23 flags
  FindXCTest: Fix output directory for test bundle with Xcode 12.5
  Tests/CompileOptions: allow CMAKE_BUILD_TYPE=None
  Add option to explicitly avoid using execinfo for backtraces

CMake 3.21 Release Notes
************************

Changes made since CMake 3.20 include the following.

New Features
============

Presets
-------

* "cmake-presets(7)" gained support for specifying the install prefix
  in a configure preset.

* "cmake-presets(7)" gained support for conditional enabling of
  presets.

* "cmake-presets(7)" gained support for a "${hostSystemName}" macro.

* "cmake-presets(7)" gained support for omitting the "generator" and
  "binaryDir" fields.

Generators
----------

* The Makefile Generators and the "Ninja" generator learned to add
  linker launcher tools along with the linker for "C", "CXX", "OBJC",
  and "OBJCXX" languages. See the "CMAKE_<LANG>_LINKER_LAUNCHER"
  variable and "<LANG>_LINKER_LAUNCHER" target property for details.

* The "Visual Studio 17 2022" generator was added.  This is
  experimental and based on "Visual Studio 2022 Preview 1.1" because
  this version of VS has not been released.

Languages
---------

* CMake learned to support "HIP" as a first-class language that can be
  enabled via the "project()" and "enable_language()" commands.

* "C_STANDARD", "OBJC_STANDARD", and the "Compile Features"
  functionality gained support for C17 and C23.

* Source file extensions ".ixx" and ".cppm" are now treated as C++.

Command-Line
------------

* "cmake(1)" gained the "--install-prefix <dir>" command-line option
  to specify the location of the install prefix.

* "cmake(1)" gained the "--toolchain <path/to/file>" command-line
  option to specify a toolchain file.

* "cmake(1)" "-E capabilities" output, for some generators, may now
  contain a "supportedPlatforms" field listing platforms known to be
  supported in "CMAKE_GENERATOR_PLATFORM".

* Messages printed to a terminal now may be colored by message type.

Compilers
---------

* The Fujitsu compiler is now supported using compiler id "Fujitsu" in
  traditional ("Trad") mode, and compiler id "FujitsuClang" in "Clang"
  mode.

Platforms
---------

* CMake now supports the MSYS runtime environment, much like CYGWIN.

File-Based API
--------------

* The "cmake-file-api(7)" "codemodel" version 2 "version" field has
  been updated to 2.3.

* The "cmake-file-api(7)" "codemodel" version 2 gained a new
  "directory" object containing directory-level information. This
  includes a list of installers generated by the "install()" command.

Commands
--------

* The "add_custom_command()" command "DEPFILE" option may now use
  "generator expressions", is now supported by Visual Studio Generators
  for VS 2012 and above, and is now supported by the "Xcode" generator.

* The "add_custom_command(TARGET)" command (for Build Events) gained
  support for resolving target-dependent generator expressions.

* The "build_command()" command gained a "PARALLEL_LEVEL" option.

* The "file(COPY_FILE)" command was added to copy a single file.

* The "file(GET_RUNTIME_DEPENDENCIES)" command gained new
  "POST_INCLUDE_FILES" and "POST_EXCLUDE_FILES" arguments.

* The "file(REAL_PATH)" command gained the option "EXPAND_TILDE" to
  replace any leading tilde with the path to the user's home
  directory.

* The "file(RENAME)" command learned to optionally capture failure in
  a result variable.  It also gained a "NO_REPLACE" option to fail if
  the destination exists.

* The "install()" command gained a new "IMPORTED_RUNTIME_ARTIFACTS"
  mode, which can be used to install the runtime artifacts of imported
  targets.

* The "install()" command gained a new "RUNTIME_DEPENDENCY_SET" mode,
  which can be used to install runtime dependencies using
  "file(GET_RUNTIME_DEPENDENCIES)".

* The "install(TARGETS)" command gained new "RUNTIME_DEPENDENCIES" and
  "RUNTIME_DEPENDENCY_SET" arguments, which can be used to install
  runtime dependencies using "file(GET_RUNTIME_DEPENDENCIES)".

* The "install(SCRIPT|CODE)" command supports a new option
  "ALL_COMPONENTS" which allows the corresponding code to run for
  every component of a per component installation.

* The "project()" command now sets variables "PROJECT_IS_TOP_LEVEL"
  and "<PROJECT-NAME>_IS_TOP_LEVEL" to indicate whether it was called
  in a top-level "CMakeLists.txt" file.

Variables
---------

* The "CMAKE_TOOLCHAIN_FILE" environment variable was added to provide
  a default value for the "CMAKE_TOOLCHAIN_FILE" variable.

Properties
----------

* The "IMPORTED_TARGETS" directory property was added to get a list of
  Imported Targets created in the current directory.

* The "XCODE_EMBED_APP_EXTENSIONS" target property was added to tell
  the "Xcode" generator to embed app extensions such as iMessage
  sticker packs. Aspects of the embedding can be customized with the
  "XCODE_EMBED_APP_EXTENSIONS_PATH",
  "XCODE_EMBED_APP_EXTENSIONS_CODE_SIGN_ON_COPY" and
  "XCODE_EMBED_APP_EXTENSIONS_REMOVE_HEADERS_ON_COPY" properties.

Modules
-------

* The "FindBLAS" and "FindLAPACK" modules learned to support the
  serial "Fujitsu_SSL2" and parallel "Fujitsu_SSL2BLAMP" libraries.

* The "FindDevIL" module now provides imported targets.

* The "FindIconv" module now has version support.

* The "FindIntl" module now has version support.

* The "FindMPI" module learned to support "Fujitsu" and "FujitsuClang"
  in both host and cross compiling modes.

* The "FindMsys" module was added to find MSYS installations. Like
  "FindCygwin", it is used automatically by some other find modules to
  locate UNIX-style tools on Windows.

* The "FindOpenMP" module learned to support "Fujitsu" and
  "FujitsuClang".

* The "FindVulkan" module gained imported targets "Vulkan::Headers"
  and "Vulkan::glslangValidator".

* The "UseJava" module command "add_jar" gained a "RESOURCES" option
  to allow explicit naming of resources with non-optional namespace.

* The "UseSWIG" module use now standard library naming conventions for
  the "CSharp" language. See policy "CMP0122".

* The "UseSWIG" module now supports using the "swig" tool to generate
  implicit dependencies with the "Xcode" generator.

Generator Expressions
---------------------

* A new "TARGET_RUNTIME_DLLS" generator expression was added.

CTest
-----

* "ctest(1)" gained documentation for its ability to capture
  Additional Test Measurements.

* "ctest(1)" learned to recognize files attached to a test at run
  time. Previously it was only possible to attach files to tests at
  configure time by using the "ATTACHED_FILES" or
  "ATTACHED_FILES_ON_FAIL" test properties. See Additional Test
  Measurements for more information.

* "ctest(1)" gained a "--output-junit" option to write test results to
  a JUnit XML file.

* The "ctest_build()" command gained a "PARALLEL_LEVEL" option.

CPack
-----

* The "CPack DragNDrop Generator" gained option "CPACK_DMG_FILESYSTEM"
  to control the ".dmg" filesystem.

* The "CPack IFW Generator" now supports hyphens in names given to
  "cpack_ifw_configure_component()" or
  "cpack_ifw_configure_component_group()" as "DEPENDS" or
  "DEPENDENCIES" arguments.  This requires QtIFW 3.1 or later.

* The "CPack NSIS Generator" gained a new "CPACK_NSIS_EXECUTABLE"
  variable to specify the "makensis" executable to use instead of the
  default one.

* The "CPACK_CUSTOM_INSTALL_VARIABLES" variable was added to set
  variables in "cmake_install.cmake" script invocations made by CPack.

Deprecated and Removed Features
===============================

* Undocumented "CMAKE_SYSTEM_NAME" version-stripping behavior has been
  removed entirely. If it is set by a "-D" flag or by a "toolchain
  file", it is left unaltered, even if it still contains a version
  number. Similar "CMAKE_HOST_SYSTEM_NAME" version-stripping behavior,
  also undocumented, has been moved earlier, before "project()" or
  "enable_language()" is called.

* "ARMClang" cpu/arch compile and link flags are no longer added
  automatically based on the "CMAKE_SYSTEM_PROCESSOR" variable or the
  undocumented "CMAKE_SYSTEM_ARCH" variable. They must be specified
  explicitly.  See policy "CMP0123".

Other Changes
=============

* The "find_file()", "find_path()", "find_program()", and
  "find_library()" commands handle cache variables in the same way
  regardless how they are defined. See policy "CMP0125" for details.

* The "find_file()", "find_path()", "find_program()", and
  "find_library()" commands gained the option "NO_CACHE" to store find
  result in normal variable.

* The "foreach()" command now isolates loop variables in the loop
  scope. See policy "CMP0124" for details.

* The "list()" command's "GET", "INSERT", "SUBLIST", and "REMOVE_AT"
  subcommands now error with invalid (i.e., non-integer) values are
  given as any of their index arguments based on the setting of policy
  "CMP0121".

* The "set(CACHE)" command no longer removes a normal variable of the
  same name, if any. See policy "CMP0126".

* "target_link_libraries()" calls referencing object libraries via the
  "TARGET_OBJECTS" generator expression now place the object files
  before all libraries on the link line, regardless of their specified
  order.  See documentation on Linking Object Libraries via
  $<TARGET_OBJECTS> for details.

* The Ninja Generators now pass source files and include directories
  to the compiler using absolute paths.  This makes diagnostic
  messages and debug symbols more consistent, and matches the Makefile
  Generators.

* The "NMake Makefiles" generator now encodes the generated makefiles
  as UTF-8 with a BOM when using "nmake" from VS 9 or above.

* The Visual Studio Generators for VS 2010 and above now place per-
  source preprocessor definitions after target-wide preprocssor
  definitions.  This makes VS consistent with the Ninja Generators and
  the Makefile Generators.

* The precompiled binaries provided on cmake.org now support "liblzma"
  multi-threading.  See the "CPACK_THREADS" and
  "CPACK_ARCHIVE_THREADS" variables.

Revision 1.181 / (download) - annotate - [select for diffs], Thu Jul 15 21:10:53 2021 UTC (2 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.180: +2 -1 lines
Diff to previous 1.180 (colored) to selected 1.73 (colored)

cmake: Don't add additional -arch flags on Darwin.

Fixes building on arm64 in an x86_64 chroot where it would append
"-arch x86_64" and then fail to link.  schmonz verified that this
change doesn't seem to affect non-chroot native builds.

Revision 1.180 / (download) - annotate - [select for diffs], Thu Jun 24 09:30:55 2021 UTC (2 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.179: +5 -5 lines
Diff to previous 1.179 (colored) to selected 1.73 (colored)

cmake: updated to 3.20.5

CMake 3.20.5
* gitlab-ci: update macOS jobs to use Xcode 12.5
* cmGlobalVisualStudio10Generator: Move static functions to anonymous namespace
* cmGlobalVisualStudio10Generator: Adopt GetVSInstanceVersion method
* VS: Do not apply '/external:W*' flag table mapping on VS < 16.10
* Tests: Fix xcode version detection for Xcode 13 on ARM
* Help: Add 3.20 release note section for 3.20.{3,4,5}
* ExternalProject: Use ${ref}^0 to avoid MSYS/Cygwin shell substitutions
* CMake: Allow override of unexpected non-flow-control commands

Revision 1.179 / (download) - annotate - [select for diffs], Tue Jun 15 10:27:33 2021 UTC (2 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.178: +5 -5 lines
Diff to previous 1.178 (colored) to selected 1.73 (colored)

cmake: updated to 3.20.4

CMake 3.20.4
* ci: use consistent sccache builds
* VS: Add special case for '-T version=14.29.16.10' under VS 16.10
* VS: Add flag table entries for '/external:W*' flags in VS 16.10
* gitlab-ci: Update Windows builds to MSVC 19.29-16.10 toolset
* Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile rule
* presets: Fix buildPreset "jobs" field test case
* IRSL: Add Intel oneAPI redist location on Windows
* fileapi: Fix codemodel-v2 link command fragment relative paths
* FindBoost: Add check for json component header in Boost 1.75+
* Help: cmake_path: fix erroneous example for IS_PREFIX
* MSVC: C++20 final flag, C++23 support
* Clang/MSVC: C++20 final flag, C++23 support
* presets: Fix buildPreset "jobs"
* presets: Fix buildPreset "targets" not allowing a single string

Revision 1.178 / (download) - annotate - [select for diffs], Sat May 29 06:14:40 2021 UTC (2 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.177: +5 -5 lines
Diff to previous 1.177 (colored) to selected 1.73 (colored)

cmake: updated to 3.20.3

CMake 3.20.3
* Help: Use relative path for IDE Integration guide link to preset schema
* BinUtils: Use more-private temporary variable names
* ObjectiveC: Respect OSX_ARCHITECTURES for OBJC
* FindBoost: Add support for Boost 1.76
* Ninja: Restore support for Fortran in a symlinked build tree
* Utilities/Sphinx: Update man page config for Sphinx 4
* ExternalProject: Ensure git fetch if updating to hash we don't have yet
* ExternalProject: Only add git config setting with git 1.7.7 or later
* Ninja Multi-Config: Split long command lines by config
* CMP0082: Check EXCLUDE_FROM_ALL property at generate time
* GNU: C++17 default version
* GNU: Final C++20 flags
* GNU: C++23 support
* CUDA: improve regex for CUDA Toolkit root from nvcc verbose output
* cmCommandLineArgument: Correctly record parsing failures
* cmake: `--build` and `--install` error out when encountering bad flags
* cmCommandLineArgument: Provide more information syntax error messages
* NVHPC: Support explicit language flags
* NVHPC: Support Ninja dependency scanning

Revision 1.177 / (download) - annotate - [select for diffs], Fri Apr 30 06:45:13 2021 UTC (2 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.176: +5 -5 lines
Diff to previous 1.176 (colored) to selected 1.73 (colored)

cmake: updated to 3.20.2

CMake 3.20.2
* ci: pay attention to the machine load when running tests
* ci: limit builds by machine load
* Help: Add 3.20 release note for error on unknown arguments
* gitlab-ci: equally delay all jobs on integration branches
* Autogen: Restore mocs_compilation in OBJECT libraries
* Help: Fix typos in cmake-compile-features(7)
* Help: Do not recommend WCDH in cmake-compile-features(7)
* Intel: Update Classic compiler version detection for 2021
* IntelLLVM: Add special case for ifx 2021.1 version extraction
* Help: Behavior of file(TO_NATIVE_PATH) depends on the host platform
* Help: Document special cases for if(IS_ABSOLUTE)
* Add missing 'not' in error messages
* KWIML 2021-04-21 (49d91529)
* autogen: fix race in depfile parsing
* Ninja Multi-Config: Correctly generate POST_BUILD custom targets
* BinUtils: Restore toolchain prefix detection from compiler name 'c++'
* OpenBSD: Fix system feature definitions

Revision 1.176 / (download) - annotate - [select for diffs], Sat Apr 10 08:35:12 2021 UTC (2 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.175: +5 -5 lines
Diff to previous 1.175 (colored) to selected 1.73 (colored)

cmake: updated to 3.20.1

CMake 3.20.1
* Help: Add Q_NAMESPACE_EXPORT to CMAKE_AUTOMOC_MACRO_NAMES default values
* FindHDF5: search for the new Fortran HL library name
* gitlab-ci: Update Windows builds to MSVC 19.28-16.9 toolset
* FindIntl: Fix detection of intl built in to C library
* GNUInstallDirs: Clarify that CMAKE_INSTALL_<dir> may be absolute
* Tests: Teach RunCMake to ignore incidental 'Recompacting log' ninja output
* Ninja Multi-Config: Fix crash on custom command config with no output
* Tests: Add RunCMake helper to run a plain script
* Help: CMAKE_APPLE_SILICON_PROCESSOR cannot be set in a toolchain file
* gitlab-ci: Tell CDash when a test-ext job is done
* Help: Document in add_library how to import libraries with SONAME
* libarchive: Use uint8_t instead of u_char
* Utilities/Release: Add script to generate a table of files
* Utilities/Release: Add deprecation fields to File Table v1
* UseSWIG: Transform swig depfile to match Ninja generator paths
* ci: add jq and DevIL to Debian and Fedora base images
* ci: Enable jq-based tests on Linux builds
* BinUtils: Avoid clobbering a variable named without a private prefix
* Makefiles: Fix dependency extraction with CUDA < 10.2 and host compiler
* FindBLAS: Fix detection of OpenMP as dependency of BLA_STATIC
* Restore support for backslashes in initial language-wide flags
* CPack: Validate and document NSIS branding text trim positions
* Help: Custom OUTPUT and BYPRODUCTS genexes cannot refer to targets
* Tests: Remove redundant files for configure_file() tests
* Tests: Check host platform instead of target for running stat
* Cleanup: Fix misspelt name of local C++ variable
* Help: Clarify permission-related command options
* Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS too
* Android: Fix search for binutils
* Cray: Detect Fortran compiler version patch level if available
* Ninja Multi-Config: Include configs in long CC scripts
* autogen: Don't include SKIP_AUTOMOC files in depfile
* Tests: Add test for Ninja automoc dependency cyle
* Makefiles dependencies: normalize windows paths
* CUDA Device link: Ensure all link options are correctly formatted
* Genex: $<HOST_LINK:> and $<DEVICE_LINK:> must be usable in try_compile
* FindMPI: avoid host link options to be propagated to device link step
* UseSWIG: Run using policy settings from includer
* cmCommandLineArgument: correctly compute next parse index
* CMakeDetermineCompilerABI: Revert "Parse library arch from versioned paths"
* CMakeDetermineCompilerABI: Extract lib arch from implicit object file paths
* FindIntl: Improve documentation formatting
* Help: Clarify IMPORTED_LOCATION documentation

Revision 1.175 / (download) - annotate - [select for diffs], Wed Mar 31 07:43:39 2021 UTC (3 years ago) by adam
Branch: MAIN
Changes since 1.174: +7 -6 lines
Diff to previous 1.174 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.20.0

CMake 3.20 Release Notes
************************

Changes made since CMake 3.19 include the following.


New Features
============

Presets
-------

* "cmake-presets(7)" gained support for build and test presets.

Generators
----------

* Makefile Generators, for some toolchains, now use the compiler to
  extract implicit dependencies while compiling source files.

Languages
---------

* C++23 compiler modes may now be specified via the "CXX_STANDARD",
  "CUDA_STANDARD", or "OBJCXX_STANDARD" target properties, or via the
  "Compile Features" functionalityÑÔ "cxx_std_23" meta-feature.

* "CUDA" language support now works when "nvcc" is a symbolic link,
  for example due to a "ccache" or "colornvcc" wrapper script.

* The "CUDAARCHS" environment variable was added for initializing
  "CMAKE_CUDA_ARCHITECTURES". Useful in cases where the compiler
  default is unsuitable for the machineãàÑÔ GPU.

Compilers
---------

* The NVIDIA HPC SDK compilers are now supported with compiler id
  "NVHPC".

* The Intel oneAPI NextGen LLVM compilers are now supported with
  compiler id "IntelLLVM":

  * The "icx"/"icpx" C/C++ compilers on Linux, and the "icx" C/C++
    compiler on Windows, are fully supported as of oneAPI 2021.1.

  * The "ifx" Fortran compiler on Linux is partially supported. As of
    oneAPI 2021.1, "ifx" does not define several identification
    macros, so CMake identifies it as the classic "Intel" compiler.
    This works in many cases because "ifx" accepts the same command
    line parameters as "ifort".  A future version of oneAPI may fix
    this.

  * The "ifx" Fortran compiler on Windows is not yet supported.

  The Intel oneAPI Classic compilers ("icc", "icpc", and "ifort")
  continue to be supported with compiler id "Intel".

* Support was added for the IAR STM8 compiler.

Platforms
---------

* CMakeãàÑÔ support for Cross Compiling for Android is now merged with
  the Android NDKãàÑÔ toolchain file. They now have similar behavior,
  though some variable names differ. User-facing changes include:

  * "find_*" functions will search NDK ABI / API specific paths by
    default.

  * The default "CMAKE_BUILD_TYPE" for Android is now
    "RelWithDebInfo".

  * The "CMAKE_ANDROID_NDK_VERSION" variable was added to report the
    version of the NDK.

File-Based API
--------------

* The "cmake-file-api(7)" gained a new ãà×Õoolchainsãàobject kind that
  describes the compiler used for each enabled language.

Commands
--------

* "add_custom_command()" and "add_custom_target()" now support
  "generator expressions" in their "OUTPUT" and "BYPRODUCTS" options.

  Their "COMMAND", "WORKING_DIRECTORY", and "DEPENDS" options gained
  support for new generator expressions "<COMMAND_CONFIG:...>" and
  "<OUTPUT_CONFIG:...>" that control cross-config handling when using
  the "Ninja Multi-Config" generator.

* The "add_custom_command()" command gained "DEPFILE" support on
  Makefile Generators.

* The "add_library()" command previously prohibited imported object
  libraries when using potentially multi-architecture configurations.
  This mostly affected the "Xcode" generator, e.g. when targeting iOS
  or one of the other device platforms.  This restriction has now been
  removed.

* The "cmake_path()" command was added for operations on filesystem
  paths.

* The "configure_file()" command gained "USE_SOURCE_PERMISSIONS" and
  "FILE_PERMISSIONS" options to support copying of permissions of the
  source file and using specified permissions respectively.

* The "file(GENERATE)" command gained a "NEWLINE_STYLE" option to
  specify how newlines are handled for the generated file.

* The "file(GENERATE)" command gained "NO_SOURCE_PERMISSIONS",
  "USE_SOURCE_PERMISSIONS", and "FILE_PERMISSIONS" options for
  controlling the permissions of the generated file.

* The "install(FILES)" command "RENAME" option learned to support
  "generator expressions".

* The "target_include_directories()" command gained a new option
  "AFTER".

* The "target_sources()" command now supports targets created by the
  "add_custom_target()" command.

* The "try_run()" command gained a "WORKING_DIRECTORY" option to set
  the working directory in which to run the compiled check executable.

Variables
---------

* The "CMAKE_<LANG>_BYTE_ORDER" variable was added to provide the
  target architecture byte order detected from the toolchain.

* The "CMAKE_RUNTIME_OUTPUT_DIRECTORY",
  "CMAKE_LIBRARY_OUTPUT_DIRECTORY", and
  "CMAKE_ARCHIVE_OUTPUT_DIRECTORY" variables now support target-
  dependent generator expressions.

Properties
----------

* The "<LANG>_CLANG_TIDY" target property and the associated
  "CMAKE_<LANG>_CLANG_TIDY" variable learned to support the "OBJC" and
  "OBJCXX" languages.

* The "EXPORT_COMPILE_COMMANDS" target property was added for the
  associated "CMAKE_EXPORT_COMPILE_COMMANDS" variable to allow for
  configuration of exporting compile commands per target.

* The "GENERATED" source-file property is now visible from any
  directory scope, regardless of the scope in which it is set. See
  policy "CMP0118".

* The "UNITY_BUILD_UNIQUE_ID" target property was added to support
  generation of an identifier that is unique per source file in unity
  builds.  It can help to resolve duplicate symbol problems with
  anonymous namespaces.

* The "WIN32_EXECUTABLE" target property now works with Clang on
  Windows.

* The "XCODE_EMBED_FRAMEWORKS" target property was added to tell the
  "Xcode" generator to embed frameworks. Aspects of the embedding can
  be customized with the "XCODE_EMBED_FRAMEWORKS_PATH",
  "XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY", and
  "XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY" target properties.

Modules
-------

* The "ExternalData" module "ExternalData_Add_Target()" function
  gained a "SHOW_PROGRESS <bool>" option for controlling whether or
  not to show progress output during the build.

* The "ExternalProject" module "ExternalProject_Add()" function gained
  a "CONFIGURE_HANDLED_BY_BUILD" option.  This can be used to make
  subsequent runs of the configure step be triggered by the build step
  when an external project dependency rebuilds instead of always re-
  running the configure step in such cases.

* The "FindBoost" module gained a "Boost_NO_WARN_NEW_VERSIONS" option
  to silence the warning about unknown dependencies for new Boost
  versions.

* The "FindCUDAToolkit" module gained support for finding CUDA
  toolkits when "nvcc" is a symbolic link, for example due to a
  "ccache" or "colornvcc" wrapper script.

* The "FindGDAL" module has been improved to document and mark as
  advanced its cache variables. There is a new
  "FindGDAL_SKIP_GDAL_CONFIG" variable which may be used to skip over
  the "gdal-config"-based search. Users may also set
  "GDAL_ADDITIONAL_LIBRARY_VERSIONS" to add additional versions to the
  library name search strategy.

* The "FindIntl" module now provides an imported target.

* The "FindOpenSSL" module learned to support a version range.

* The "FindPython3", "FindPython2" and "FindPython" modules gained
  options controlling how unversioned interpreter names are searched.

* The "UseJava" module "add_jar()" commandãàÑÔ "GENERATE_NATIVE_HEADERS"
  feature gained options to export the generated target.

* The "UseSWIG" module gained the capability, for Makefile and Ninja
  generators, to use the "swig" tool to generate implicit
  dependencies.

Autogen
-------

* The AUTOMOC feature now works with per-config sources.

CTest
-----

* "ctest(1)" gained a "--test-dir" option to specify the directory in
  which to look for tests.

CPack
-----

* "CPack" gained the "CPACK_THREADS" variable to control the number of
  threads used for parallelized operations, such as compressing the
  installer package.

* The "CPack DEB Generator" learned a new
  "CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS" variable to specify
  additional search directories for resolving private library
  dependencies when using "dpkg-shlibdeps".

* The "CPack IFW Generator" gained a new
  "CPACK_IFW_PACKAGE_WIZARD_SHOW_PAGE_LIST" variable to control
  visibility of the widget listing installer pages on the left side of
  the wizard. This feature available only since QtIFW 4.0.

* The "CPack NSIS Generator" gained new "CPACK_NSIS_BRANDING_TEXT" and
  "CPACK_NSIS_BRANDING_TEXT_TRIM_POSITION" variables to change the
  text at the bottom of the install window and change its trim
  position

* The "CPack NSIS Generator" now correctly handles Unicode characters.
  If you want to have a "CPACK_RESOURCE_FILE_LICENSE" with UTF-8
  characters, it needs to be encoded in UTF-8 BOM.

* The "CPack NuGet Generator" gained options:

  * "CPACK_NUGET_PACKAGE_ICON" and
    "CPACK_NUGET_<compName>_PACKAGE_ICON" allow package icons to be
    specified by local files.

  * "CPACK_NUGET_PACKAGE_LICENSE_EXPRESSION" and
    "CPACK_NUGET_<compName>_PACKAGE_LICENSE_EXPRESSION" add support
    for specifying licenses recognized by the Software Package Data
    Exchange (SPDX).

  * "CPACK_NUGET_PACKAGE_LICENSE_FILE_NAME" and
    "CPACK_NUGET_<compName>_PACKAGE_LICENSE_FILE_NAME" allow licenses
    to be specified by local files.

  * "CPACK_NUGET_PACKAGE_LANGUAGE" and
    "CPACK_NUGET_<compName>_PACKAGE_LANGUAGE" allow the locale for a
    package to be specified, for example "en_CA".

Deprecated and Removed Features
===============================

* The "cmake-server(7)" mode has been removed. Clients should use the
  "cmake-file-api(7)" instead.

* The "WriteCompilerDetectionHeader" module has been deprecated via
  policy "CMP0120".  Projects should be ported away from it.

* The "TestBigEndian" module has been deprecated in favor of the
  "CMAKE_<LANG>_BYTE_ORDER" variable.

* The "AddFileDependencies" module is deprecated. Port projects to use
  "set_property()" directly.

* The "CPack NuGet Generator" deprecated some variables to reflect
  changes in the NuGet specification:

  * "CPACK_NUGET_PACKAGE_ICONURL" and
    "CPACK_NUGET_<compName>_PACKAGE_ICONURL" have been deprecated;
    replace with a reference to a local icon file.

  * "CPACK_NUGET_PACKAGE_LICENSEURL" and
    "CPACK_NUGET_<compName>_PACKAGE_LICENSEURL" have been deprecated;
    replace with a reference to the projectãàÑÔ license file or SPDX
    license expression.

Other Changes
=============

* Source file extensions must now be explicit. See policy "CMP0115"
  for details.

* The "LANGUAGE" source file property now forces compilation as the
  specified language.  See policy "CMP0119".

* On AIX, installation of XCOFF executables and shared libraries no
  longer requires relinking to change the runtime search path from the
  build-tree RPATH to the install-tree RPATH.  CMake now edits the
  XCOFF binaries directly during installation, as has long been done
  on ELF platforms.

* With MSVC-like compilers the value of "CMAKE_CXX_FLAGS" no longer
  contains the "/GR" flag for runtime type information by default. See
  policy "CMP0117".

* Ninja generators now transform the "DEPFILE" generated by an
  "add_custom_command()". See policy "CMP0116" for details.

* The precompiled Linux binaries provided on cmake.org have changed
  their naming pattern to "cmake-$ver-linux-$arch", where "$arch" is
  either "x86_64" or "aarch64".

* The precompiled Windows binaries provided on cmake.org have changed
  their naming pattern to "cmake-$ver-windows-$arch", where "$arch" is
  either "x86_64" or "i386".

Revision 1.174 / (download) - annotate - [select for diffs], Tue Mar 16 19:50:30 2021 UTC (3 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.173: +5 -5 lines
Diff to previous 1.173 (colored) to selected 1.73 (colored)

cmake: updated to 3.19.7

CMake 3.19.7
* Revert "Cray: Fix Cray compiler detection on new platforms"
* Xcode: Restore support for spaces in framework names
* cmGlobalVisualStudioVersionedGenerator: Clarify local variable name
* VS: Fix '-T version=14.28' under VS 16.9
* VS: Accept and translate '-T version=' values with three components
* Cray: Enable Cray compiler wrapper detection on all platforms

Revision 1.173 / (download) - annotate - [select for diffs], Fri Feb 26 06:20:42 2021 UTC (3 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.172: +5 -5 lines
Diff to previous 1.172 (colored) to selected 1.73 (colored)

cmake: updated to 3.19.6

CMake 3.19.6
* Intel: Make explicit Fortran preprocessing under Ninja more robust
* Tests: Update for upstream ninja change to write status on stderr
* CMakePresets.json: Remove undocumented support for comments
* FindPython: fix erroneous variable handling

Revision 1.172 / (download) - annotate - [select for diffs], Mon Feb 15 20:35:44 2021 UTC (3 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.171: +5 -5 lines
Diff to previous 1.171 (colored) to selected 1.73 (colored)

cmake: updated to 3.19.5

3.19.5
When IOS_INSTALL_COMBINED is enabled and the Xcode generator is used, it is now possible to initiate an install or package creation by running cmake --install or cpack from the command line. When using the Xcode new build system, these are the only supported methods due to a limitation of Xcode. Initiating these operations by building the install or package targets in Xcode is only supported when using the legacy build system.
The framework handling introduced in 3.19.0 as part of supporting XcodeãàÑÔ Link Binaries With Libraries build phase broke the ability to switch between device and simulator builds without reconfiguring. That capability has now been restored.

Revision 1.171 / (download) - annotate - [select for diffs], Sun Jan 31 11:40:59 2021 UTC (3 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.170: +5 -5 lines
Diff to previous 1.170 (colored) to selected 1.73 (colored)

cmake: updated to 3.19.4

CMake 3.19.4
* FindHDF5: avoid writing to the output when testing h5cc
* FindHDF5: silence STATUS messages when found with QUIET
* GetPrerequisites: Include weak macOS dependencies
* file(GET_RUNTIME_DEPENDENCIES): Fix weak macOS libraries not detected
* ci: speed up cmake and ninja downloads on Windows
* ci: download WiX on Windows
* Intel: Replace deprecated Fortran flag -nofor_main with -nofor-main
* Help: Add Ninja Multi-Config to list in GENERATOR_IS_MULTI_CONFIG
* IRSL: Install msvcp${v}${d}_atomic_wait.dll if available with CRT
* Restore support for cross-compiling CMake itself
* VS: Generalize Win10 max SDK version to all VS generators

Revision 1.170 / (download) - annotate - [select for diffs], Sat Jan 16 11:16:25 2021 UTC (3 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.169: +6 -6 lines
Diff to previous 1.169 (colored) to selected 1.73 (colored)

cmake: updated to 3.19.3

CMake 3.19.3
* cmSystemTools: Revert use of MOVEFILE_WRITE_THROUGH by RenameFile on Windows
* Tests: Fix ConfigSources test with empty CMAKE_BUILD_TYPE
* gitlab-ci: consolidate Linux release package job spec for x86_64
* Help: Add 3.19.3 release note for Linux aarch64 binary
* gitlab-ci: update macOS jobs to use Xcode 12.3
* cmGlobalXCodeGenerator: Adopt pbxproj object id generation
* cmGlobalXCodeGenerator: Add infrastructure for deterministic object ids
* Xcode: Use deterministic object ids for script build phases
* gitlab-ci: update upload jobs to go to cmake.org
* cmake-gui: Fix macOS styling for binaries distributed with Qt 5.10+
* Utilities/Release: Fix macOS Qt 5.9 build script umask
* Utilities/Release: Add script to build Qt 5.15.2 macOS universal binaries
* ci: build separate macOS packages for macOS 10.13+ and macOS 10.10+
* Help: Fix Sphinx not recognising list in XCODE_LINK_BUILD_PHASE_MODE
* FetchContent: Relative SOURCE_DIR override cannot be a hard error
* FindMPI: remove single quotes from include path
* Utilities/Release: Add docker specs for Linux aarch64 binaries
* gitlab-ci: add jobs to make Linux release packages for aarch64 on 3.19 branch
* FindHDF5: Fix finding both debug and release libs
* cmake-gui: Restore linking of Qt resources
* cmMakefile: Don't expand bracket arguments in --trace-expand

Revision 1.169 / (download) - annotate - [select for diffs], Thu Dec 17 12:14:35 2020 UTC (3 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.168: +6 -6 lines
Diff to previous 1.168 (colored) to selected 1.73 (colored)

cmake: updated to 3.19.2

CMake 3.19.2
* Compiler/TI: Fix C standard flags in C-only project
* execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenarios
* FindHDF5: improve error messages when a location variable isn't known
* FindHDF5: support the hdf5hl_fortran-based variable names
* FindPython2: avoid doubling the extension in CPython2 SOABI
* Tests: Add CMake_TEST_Java option to control Java tests
* Tests: Teach RunCMake to ignore Xcode install_name_tool signature warnings
* gitlab-ci: update macOS jobs to use Xcode 12.2
* Tests: Fix RunCMake.Check* conditions for enabling Fortran
* Check*: Tolerate variables set with names of languages
* Ninja: Clean metadata after regen during build on Windows with 1.10.2+
* ci: update to use ninja 1.10.2
* Tests: Look for Visual Studio only on Windows hosts
* CMakeDetermineCompilerId: Filter IAR-AVR format INFO strings earlier
* CMakeDetermineCompilerId: Add whitespace to clarify logic
* CMakeDetermineCompilerId: Tolerate stray text around INFO strings
* Revert "Intel: Add Intel Clang compiler identification"
* Revert "Intel: Add Intel DPC++ compiler identification"
* Tests: Add cache entry to control XCTest deployment target
* Tests: Remove outdated exclusion of tests on OS X 10.3
* ci: Hard-code XCTest deployment target to 10.15
* Utilities/Release: Add script to build Qt 5.9.9 macOS universal binaries
* ci: update to pre-built Qt 5.9.9 universal binaries for macOS packages
* ci: do not use sccache for macOS packaging
* ci: update macOS package to produce universal binaries
* macOS: Offer control over host architecture on Apple Silicon hosts
* Tests: Cover macOS host architecture selection on Apple Silicon hosts
* cmake: Clear INSTALL file properties between runs
* macOS: Add /opt/homebrew to CMAKE_SYSTEM_PREFIX_PATH on Apple Silicon
* Ninja: Remove cleandead on regeneration
* Utilities/Release: Update macOS Qt 5.9 build for platform versioning
* cmake-gui: Restore completion during path editing
* Help: xref variable that cmake_minimum_required() sets
* Help: Mention how OPTIMIZE_DEPENDENCIES is initialized
* Help: Re-sort indexes in the manuals
* Help: Clarify scope details of deferred call ids for cmake_language()
* PCH: Fix compiler errors on iOS multi-arch using Ninja Multi-Config
* export: Do not fail generation for separate namelink only case
* Cray: Fix Cray compiler detection on new platforms
* FPHSA: ensure it can be used outside 'find_package'
* Clang on Windows: 'LINKER:' prefix must be honored
* CMakePackageConfigHelpers: Relax restrictions on version range
* CUDA: Fix user-set architectures during detection with Visual Studio
* macOS: Add architecture flags only for native ASM dialect
* Modules: Rename Internal/CMake{CheckCompiler => TryCompilerOrLinker}Flag
* ISPC: Ninja properly compute ISPC_HEADER_DIRECTORY location
* ISPC: Handle OBJECT sources in different directories
* Document CMP0112 covers $
* ISPC: Treat system includes as '-I' includes
* FindGLUT: Handle Mojave and Big Sur 'tbd' framework files
* ISPC: Generated Headers suffix configurable with a better default
* Help: Fix presets typo (longDescription to displayName)
* QNX: Do not disable compiler extensions for CMake itself
* llvm-rc: Force C language for the clang gnu frontend
* llvm-rc: Add CMAKE_VFS_OVERLAY to the preprocessing flags

Revision 1.168 / (download) - annotate - [select for diffs], Wed Nov 25 10:33:28 2020 UTC (3 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.167: +7 -10 lines
Diff to previous 1.167 (colored) to selected 1.73 (colored)

cmake cmake-gui: updated to 3.19.1

CMake 3.19.1

ci: update to use CMake 3.19.0
gitlab-ci: update macOS jobs to use Xcode 12.0
Revert ãà×Ôpecify language flag when source LANGUAGE property is setãàFindGTest: Revert ãà×¢llow either ãà×¥ebugãàor ãà׳eleaseãàconfigurations.ãàMakefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile rule
Xcode: Fix custom command work-dir placeholders in ãà×Ïew build systemãàTests: Match RunCMake.CMP0111 stderr more strictly
cmTarget: Do not enforce CMP0111 on imported INTERFACE libraries
cmVisualStudio10TargetGenerator: Avoid GetFullPath on INTERFACE library
cmGlobalGenerator: FindMakeProgram() at a generator-specific time
cmFileTime: Fix overflow on time computation
Help: Fix ãàÐä ¨ versionaddedãàdirectives for CTEST_CUSTOM_* variables
CUDA: Clang CUDA 11.1 support
CUDA: Error if canãàÑÕ determine toolkit library root


CMake 3.19 Release Notes
************************

Changes made since CMake 3.18 include the following.


New Features
============


Presets
-------

* "cmake(1)" and "cmake-gui(1)" now recognize "CMakePresets.json" and
  "CMakeUserPresets.json" files (see "cmake-presets(7)").


Generators
----------

* The "Xcode" generator now uses the Xcode ãà×Ïew build systemãàwhen
  generating for Xcode 12.0 or higher. See the
  "CMAKE_XCODE_BUILD_SYSTEM" variable. One may use "-T buildsystem=1"
  to switch to the legacy build system.

* The "Xcode" generator gained support for linking libraries and
  frameworks via the *Link Binaries With Libraries* build phase
  instead of always by embedding linker flags directly.  This behavior
  is controlled by a new "XCODE_LINK_BUILD_PHASE_MODE" target
  property, which is initialized by a new
  "CMAKE_XCODE_LINK_BUILD_PHASE_MODE" variable.

* The Visual Studio Generators for VS 2015 and above gained support
  for the Visual Studio Tools for Android.  One may now set
  "CMAKE_SYSTEM_NAME" to "Android" to generate ".vcxproj" files for
  the Android tools.


Languages
---------

* CMake learned to support "ISPC" as a first-class language that can
  be enabled via the "project()" and "enable_language()" commands.
  "ISPC" is currently supported by the Makefile Generators and the
  "Ninja" generator on Linux, macOS, and Windows using the Intel ISPC
  compiler.

* "CUDA" language support for Clang now includes:

  * separable compilation ("CUDA_SEPARABLE_COMPILATION"), and

  * finding scattered toolkit installations when cross-compiling.


File-Based API
--------------

* The "cmake-file-api(7)" ãà×Äodemodelãàversion 2 "version" field has
  been updated to 2.2.

* The "cmake-file-api(7)" ãà×Äodemodelãàversion 2 ãà×Õargetãàobject gained
  a new "languageStandard" field in the "compileGroups" objects.


Command-Line
------------

* The "cmake(1)" command-line toolãàÑÔ "--install" mode gained a "--
  default-directory-permissions" option.

* "cmake(1)" gained a "-E create_hardlink" command-line tool that can
  be used to create hardlinks between files.


GUI
---

* The "CMake GUI" now has an environment variable editor.


Commands
--------

* The "add_test()" command now (officially) supports whitespace and
  other special characters in the name for the test it creates. See
  policy "CMP0110".

* The "cmake_language()" command gained a "DEFER" mode to schedule
  command calls to occur at the end of processing a directory.

* The "configure_file()" command gained a "NO_SOURCE_PERMISSIONS"
  option to suppress copying the input fileãàÑÔ permissions to the
  output file.

* The "execute_process()" command gained a "COMMAND_ERROR_IS_FATAL"
  option to specify a fatal error.

* The "file(ARCHIVE_CREATE)" command gained a "COMPRESSION_LEVEL"
  option to specify the compression level.

* The "file(CHMOD)" and "file(CHMOD_RECURSE)" subcommands were added
  to set permissions of files and directories.

* The "file(DOWNLOAD)" command "" argument is now optional.  If
  it is not specified, the file is not saved.

* The "file(GENERATE)" command gained a new "TARGET" keyword to
  support resolving target-dependent generator expressions.

* The "file()" command gained a new "REAL_PATH" sub-command to compute
  a path with symlinks resolved.

* The "find_package()" command learned to handle a version range.

* The "separate_arguments()" command gained a new "PROGRAM" option. It
  allows the arguments to be treated as a program invocation and will
  resolve the executable to a full path if it can be found.

* The "DIRECTORY" option of the "set_property()", "get_property()",
  and "get_directory_property()" commands now accepts references to
  binary directory paths, such as the value of
  "CMAKE_CURRENT_BINARY_DIR".

* The "string()" command gained a set of new "JSON" sub commands that
  provide JSON parsing capabilities.


Variables
---------

* The "CMAKE_CLANG_VFS_OVERLAY" variable was added to tell Clang to
  use a VFS overlay to support the Windows SDK when cross-compiling
  from hosts with case-sensitive filesystems.

* The "CMAKE_MFC_FLAG" variable now supports generator expressions.

* The "CMAKE_OPTIMIZE_DEPENDENCIES" variable was added to initialize
  the new "OPTIMIZE_DEPENDENCIES" target property and avoid
  unnecessarily building dependencies for a static library.

* The "CMAKE_PCH_INSTANTIATE_TEMPLATES" variable was added to
  initialize the new "PCH_INSTANTIATE_TEMPLATES" target property.

* The "CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM" variable was
  added to tell the Visual Studio Generators what maximum version of
  the Windows SDK to choose.


Properties
----------

* The "EXCLUDE_FROM_ALL" target property now supports "generator
  expressions".

* The "OPTIMIZE_DEPENDENCIES" target property was added to avoid
  unnecessarily building dependencies for a static library.

* The "PCH_INSTANTIATE_TEMPLATES" target property was added to enable
  template instantiation in the precompiled header. This is enabled by
  default and may significantly improve compile times. Currently only
  supported for Clang (version 11 or later).

* The "WIN32_EXECUTABLE" target property now supports "generator
  expressions".


Modules
-------

* The "CheckCompilerFlag" module has been added to generalize
  "CheckCCompilerFlag" and "CheckCXXCompilerFlag" to more languages.
  It also supports the "CUDA" and "ISPC" languages.

* The "CheckLinkerFlag" module now supports the "CUDA" language.

* The "CheckSourceCompiles" module has been added to generalize
  "CheckCSourceCompiles" and "CheckCXXSourceCompiles" to more
  languages. It also supports the "CUDA" and "ISPC" languages.

* The "CheckSourceRuns" module has been added to generalize
  "CheckCSourceRuns" and "CheckCXXSourceRuns" to more languages. It
  also supports the "CUDA" language.

* The "CMakePackageConfigHelpers" module gained support for version
  ranges.

* The "FindCUDAToolkit" module gained support for finding CUDA
  toolkits that do not contain "nvcc", as well as for finding
  scattered toolkit installations when cross-compiling.

* The "FindPackageHandleStandardArgs" module learned to handle version
  ranges. It also gained the "find_package_check_version()" command to
  check the validity of a version against version-related arguments of
  "find_package()" command.

* The "FindPython3", "FindPython2" and "FindPython" modules gained the
  ability to handle a version range.

* The "FindPython3", "FindPython2" and "FindPython" modules provide,
  respectively, the variable "Python3_LINK_OPTIONS",
  "Python2_LINK_OPTIONS" and "Python_LINK_OPTIONS" for link options.

* The "FindSDL" module now provides:

  * An imported target "SDL::SDL".

  * Result variables "SDL_LIBRARIES" and "SDL_INCLUDE_DIRS".

  * Version variables "SDL_VERSION", "SDL_VERSION_MAJOR",
    "SDL_VERSION_MINOR", and "SDL_VERSION_PATCH".

* The "FindSWIG" module gained the ability to handle a version range.

* The "FindTIFF" module gained a "CXX" component to find the "tiffxx"
  library containing C++ bindings.

* The "FindVulkan" module now provides a "Vulkan::glslc" imported
  target and associated "Vulkan_GLSLC_EXECUTABLE" variable which
  contain the path to the GLSL SPIR-V compiler.

* The "UseSWIG" module gained support for new source file properties
  "OUTPUT_DIR" and "OUTFILE_DIR" to manage output directories on a
  per-source basis.


CTest
-----

* "ctest(1)" now supports the CUDA "compute-sanitizer" checker
  (previously known as "cuda-memcheck") as the
  "CTEST_MEMORYCHECK_COMMAND". The different tools ("memcheck",
  "racecheck", "synccheck" and "initcheck") supported by "compute-
  sanitizer" can be selected by adding appropriate flags to the
  "CTEST_MEMORYCHECK_COMMAND_OPTIONS" variable.  The default flags are
  "--tool memcheck --leak-check full".


CPack
-----

* CPack gained the "CPACK_PRE_BUILD_SCRIPTS",
  "CPACK_POST_BUILD_SCRIPTS", and "CPACK_PACKAGE_FILES" variables.

* The "CPack External Generator" gained the
  "CPACK_EXTERNAL_BUILT_PACKAGES" variable.

* The "CPack WIX Generator" gained a "CPACK_WIX_CUSTOM_XMLNS" option
  to specify custom XML namespaces.


Other
-----

* Interface Libraries may now have source files added via
  "add_library()" or "target_sources()".  Those with sources will be
  generated as part of the build system.


Deprecated and Removed Features
===============================

* Compatibility with versions of CMake older than 2.8.12 is now
  deprecated and will be removed from a future version.  Calls to
  "cmake_minimum_required()" or "cmake_policy()" that set the policy
  version to an older value now issue a deprecation diagnostic.

* An explicit deprecation diagnostic was added for policy "CMP0071"
  ("CMP0071" and below were already deprecated). The "cmake-
  policies(7)" manual explains that the OLD behaviors of all policies
  are deprecated and that projects should port to the NEW behaviors.

* macOS SDKs older than 10.5 are no longer supported.

* "cmake-gui(1)" now requires Qt5. Support for compiling with Qt4 has
  been removed.

* The "cmake(1)" command-line option "--warn-unused-vars" has been
  removed and is now silently ignored.  The option has not worked
  correctly since CMake 3.3.


Documentation
=============

The following guides have been added:

* "IDE Integration Guide"

* "Importing and Exporting Guide"


Other Changes
=============

* Building for macOS will now use the latest SDK available on the
  system, unless the user has explicitly chosen a SDK using
  "CMAKE_OSX_SYSROOT".  The deployment target or system macOS version
  will not affect the choice of SDK.

* The "CMAKE_<LANG>_COMPILER" variable may now be used to store
  ãà×Îandatoryãàcompiler flags like the "CC" and other environment
  variables.

* The "CMAKE_<LANG>_FLAGS_INIT" variable will now be considered during
  the compiler identification check if other sources like
  "CMAKE_<LANG>_FLAGS" or "CFLAGS" are not set.

* The "find_program()" command now requires permission to execute but
  not to read the file found.  See policy "CMP0109".

* An imported target missing its location property fails during
  generation if the location is used.  See policy "CMP0111".

* The following target-based generator expressions that query for
  directory or file name components no longer add a dependency on the
  evaluated target. See policy "CMP0112".

  * "TARGET_FILE_DIR"

  * "TARGET_LINKER_FILE_BASE_NAME"

  * "TARGET_LINKER_FILE_NAME"

  * "TARGET_LINKER_FILE_DIR"

  * "TARGET_SONAME_FILE_NAME"

  * "TARGET_SONAME_FILE_DIR"

  * "TARGET_PDB_FILE_NAME"

  * "TARGET_PDB_FILE_DIR"

  * "TARGET_BUNDLE_DIR"

  * "TARGET_BUNDLE_CONTENT_DIR"

* Makefile Generators no longer repeat custom commands from target
  dependencies.  See policy "CMP0113".

* The "ExternalProject" module handling of step target dependencies
  has been revised.  See policy "CMP0114".

* The "OSX_ARCHITECTURES" target property is now respected for the
  "ASM" language.

* If "CUDA" compiler detection fails with user-specified
  "CMAKE_CUDA_ARCHITECTURES" or "CMAKE_CUDA_HOST_COMPILER", an error
  is raised.

Revision 1.167 / (download) - annotate - [select for diffs], Sun Nov 1 10:54:06 2020 UTC (3 years, 4 months ago) by markd
Branch: MAIN
Changes since 1.166: +2 -1 lines
Diff to previous 1.166 (colored) to selected 1.73 (colored)

cmake: patch another instance where should only find pkgsrc selected python

Revision 1.166 / (download) - annotate - [select for diffs], Thu Oct 8 10:57:46 2020 UTC (3 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.165: +5 -5 lines
Diff to previous 1.165 (colored) to selected 1.73 (colored)

cmake: updated to 3.18.4

CMake 3.18.4
* FindJNI: Add aarch64 support
* VS: Populate `std:c{11,17}` flag table entries for v142
* OBJCXX: Fix regression for compiling cpp files as objcxx
* VS: Fix regression in C# source links
* FindPython: Fix erroneous regex in ABI check
* Clang: Look for llvm-lib when using MSVC-like front-end
* FindCUDA/select_compute_arch: Add CUDA 11.1 and SM86 support

Revision 1.165 / (download) - annotate - [select for diffs], Mon Sep 28 07:37:43 2020 UTC (3 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.164: +5 -5 lines
Diff to previous 1.164 (colored) to selected 1.73 (colored)

cmake: updated to 3.18.3

CMake 3.18.3
* AutoGen: Fix moc and uic dependencies when building Qt itself
* foreach: Fix crash parsing integer out of range
* gitlab-ci: Prefer MR rules for any pipeline associated with a MR
* Help: Update 3.18.2 release notes to mention 3.16.9 and 3.17.5
* gitlab-ci: update macOS jobs to use Xcode 11.7
* Check*CompilerFlag: Do not set result as a normal variable too
* PCH: Mark CMake PCH source files as -x -header
* PCH: Fix 30s wait for VS2008 when used via -Tv90
* AutoMoc: Restore support for re-running after project file changes
* AutoMoc: Re-run moc if a dependency is missing
* file(GENERATE): Create output file structures for all directories first
* Tests: Pass additional Qt information to Ninja and NMC tests
* Ninja Multi-Config: Fix clean:all target
* Ninja Multi-Config: Fix cleaning of utility targets with commands
* Ninja Multi-Config: Fix dependencies of utility targets
* Ninja Multi-Config: Fix dependencies of custom commands
* FindJNI: Add arm64 support
* UseSWIG: Update option -interface usage
* FindPython: enhance ABI checks against include directory
* FindPython: CMP0012 must be set to NEW
* ARMClang: Fix link line generation after addition of armlink support
* FindMatlab: add R2020b => 9.9
* MSVC: Record support for c_static_assert
* CUDA: Support setting CUDA14/17 when using MSVC
* Implement cm::static_reference_cast by declval

Revision 1.164 / (download) - annotate - [select for diffs], Fri Aug 21 07:26:51 2020 UTC (3 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.163: +5 -5 lines
Diff to previous 1.163 (colored) to selected 1.73 (colored)

cmake: updated to 3.18.2

Changes made since CMake 3.18.1:
* AutoGen: Fix over-specified direct dependencies of custom command
* AutoGen: Add test to check for correct AutoMoc dependencies
* FindMPI: Fix regression in pthread guard
* FPHSA: detect inclusion between find modules
* Tests: Isolate RunCMake.FindPkgConfig from caller environment
* FindRuby: Restore compatibility variable RUBY_INCLUDE_PATH
* Xcode: Explicitly turn off signing in try_compile projects
* PCH: Avoid Apple-specific architecture flags on other platforms
* gitlab-ci: add 'cmake' tag to all jobs
* Tests: Fix RunCMake.try_compile test for C standards with MSVC 19.27
* gitlab-ci: Update Windows builds to MSVC 19.27
* ExternalProject: Stop patch target from always appearing out-of-date
* ExternalProject: Stop configure target from always appearing out-of-date
* PCH: Avoid unnecessary 30s delay on MSBuild Generator with REUSE_FROM
* FindRuby: Add documentation for deprecated variables
* Autogen: Turn off moc path prefix generation by default
* Help: Add 3.18.2 release note about AUTOMOC_PATH_PREFIX default change
* Ninja: Restore shorter path to response files
* GoogleTest: Restore support for list arguments in TEST_EXECUTOR
* FindPython: ensure user's policies are respected
* FindPython: manage SOABI for all Python versions
* FindPython: enhance robustness of version extraction from library name
* MSVC: Record support for C11 and c_restrict
* CMakeFindBinUtils: Always consider plain binutils when not cross-compiling
* FindHDF5: fix compiler detection when HL is disabled
* llvm-rc: Fix quoting of path to cmake in CMAKE_RC_COMPILE_OBJECT

Revision 1.163 / (download) - annotate - [select for diffs], Fri Jul 31 16:03:13 2020 UTC (3 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.162: +2 -2 lines
Diff to previous 1.162 (colored) to selected 1.73 (colored)

cmake: on Darwin, prefer pkgsrc over system provided libraries

Revision 1.162 / (download) - annotate - [select for diffs], Fri Jul 31 09:42:10 2020 UTC (3 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.161: +2 -1 lines
Diff to previous 1.161 (colored) to selected 1.73 (colored)

cmake: libarchive from PkgSrc currenty does not support ZSTD

Revision 1.161 / (download) - annotate - [select for diffs], Fri Jul 31 09:02:31 2020 UTC (3 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.160: +6 -7 lines
Diff to previous 1.160 (colored) to selected 1.73 (colored)

cmake: update to 3.18.1.

Some of the more significant changes in CMake 3.18 are:

* The ãàפUDAãàlanguage can now be compiled using Clang on non-Windows platforms.
  Separable compilation is not yet supported on any platform.
* ãà×Ämake(1)ãàgained support for profiling of CMake scripts through the
  parameters ãàØäprofiling-outputãàand ãàØäprofiling-formatãà
* The ãà×Âdd_library()ãàand ãà×Âdd_executable()ãàcommands learned to
  create Alias Targets referencing non-ãàרLOBALãàImported Targets.
* The ãà×Ämake_language()ãàcommand was added for meta-operations on
  scripted or built-in commands, starting with a mode to ãàפALLãàother
  commands, and ãàצVAL CODEãàto inplace evaluate a CMake script.
* The ãà×Çile(CONFIGURE)ãàsubcommand was created in order to replicate
  the ãà×Äonfigure_file()ãàfunctionality without resorting to a pre-
  existing file on disk as input. The content is instead passed as a
  string.
* The ãà×Çind_program()ãà ãà×Çind_library()ãà ãà×Çind_path()ãàand
  ãà×Çind_file()ãàcommands gained a new ãà׳EQUIREDãàoption that will stop
  processing with an error message if nothing is found.
* A ãàפMAKE_CUDA_ARCHITECTURESãàvariable was added to specify CUDA
  output architectures. Users are encouraged to use this instead of
  specifying options manually, as this approach is compiler-agnostic.
  The variable is initialized automatically when
  ãàפMAKE_CUDA_COMPILER_IDãàis ãàׯVIDIAãà The variable is used to
  initialize the new ãàפUDA_ARCHITECTURESãàtarget property. See policy
  ãàפMP0104ãà
* The ãà׶NITY_BUILD_MODEãàtarget property was added to tell generators
  which algorithm (ãà×£ATCHãà ãàרROUPãà to use for grouping included source
  files.
* The ãàפheckLinkerFlagãàmodule has been added to provide a facility to
  check validity of link flags.
* The ãà<DEVICE_LINK:ãàand ãà<HOST_LINK:ãàãà×Èenerator
  expressionsãàwere added to manage device and host link steps.
* The ãà<LINK_LANGUAGE:ãàand ãà<LINK_LANG_AND_ID:ãàãà×Èenerator expressionsãàwere added.
* ãà×Ätest(1)ãàgained a new ãàפTEST_RESOURCE_SPEC_FILEãàvariable, which
  can be used to specify a resource specification file.
* ãà×Äcmake(1)ãàlearned to read a ãàפCMAKE_COLORSãàenvironment variable
  to customize colors.
* On Windows, the ãàׯinjaãàand ãàׯinja Multi-Configãàgenerators, when a
  compiler is not explicitly specified, now select the first compiler
  (of any name) found in directories listed by the ãà×±ATHãàenvironment
  variable.

Revision 1.160 / (download) - annotate - [select for diffs], Mon Jun 8 12:00:59 2020 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.159: +1 -2 lines
Diff to previous 1.159 (colored) to selected 1.73 (colored)

cmake: Remove not needed patch for libarchive

According to comment:
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4833#note_769729
the libarchive 3.3.3 is required for CMake build.
It is already contain Zstd support.

Patch by <gang65>

Closes https://github.com/NetBSD/pkgsrc/pull/61

Revision 1.159 / (download) - annotate - [select for diffs], Mon Jun 1 06:21:27 2020 UTC (3 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.158: +5 -5 lines
Diff to previous 1.158 (colored) to selected 1.73 (colored)

cmake: updated to 3.17.3

CMake 3.17.3
* PCH: Fix REUSE_FROM in multi-config generators
* ExternalProject: expose _ep_cache_args_script to the caller
* FindBoost: Add 1.73 to known versions
* bootstrap: Use 'tr' more portably
* FindBoost: Update MinGW compiler tag for Boost 1.73
* CheckLanguage: Fix forwarding of CMAKE_CUDA_HOST_COMPILER
* Help: Add 3.17 release note for FindPkgConfig '-isystem' fix
* FindGTK2: Add harfbuzz target for dependency from pango
* VS: Fix using PCH from source with COMPILE_OPTIONS
* XL: Install our Fortran 'cpp' helper script with execute permission
* MSVC: Use 'pragma system_header' in PCH only on cl 19.13 and above
* Help: Document OBJC and OBJCXX env vars for Objective C/C++ compilers
* Objective C/C++: Honor CC and CXX env vars to select compiler
* Help: Add 3.17.3 release note for Objective C/C++ compiler selection
* cmGeneratorTarget: Clear AllConfigSources in ClearSourcesCache
* VS: Restore .sln support for VS Version Selector
* cm_cxx_features: Filter out libhugetlbfs warnings
* cm_cxx_features: Filter out 'icpc: command line warning 10121'
* CPack-deb: don't add a line with a dot to pkg desc
* Ninja Multi-Config: Make "install" targets depend on default configs
* FindPython: fix error on FPHSA call
* FindPython: ensure any specified version is correctly handled
* FindPython: use CMAKE specific variables to look-up debug library
* Help: clarify add_definitions() and add_compile_definitions() behavior
* Help: Correct CMAKE_CUDA_RUNTIME_LIBRARY applicability
* CUDA: Propagate CMAKE_CUDA_RUNTIME_LIBRARY state to try_compile
* CUDA: Compute CMAKE_CUDA_RUNTIME_LIBRARY default from toolchain
* Tests: Add coverage of ctest_test RETURN_VALUE and REPEAT
* CTest: Make sure NOT_RUN tests show up in the failed test log
* FindPkgConfig: also handle "-isystem" prefixes for include directories
* FindOpenSSL: Detect OpenSSL 3.0.0

Revision 1.158 / (download) - annotate - [select for diffs], Tue May 19 13:52:10 2020 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.157: +2 -1 lines
Diff to previous 1.157 (colored) to selected 1.73 (colored)

Fix a number of long-standing race conditions in cmake's autogen
handling. Bump revision.

Revision 1.157 / (download) - annotate - [select for diffs], Wed Apr 29 06:47:39 2020 UTC (3 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.156: +5 -5 lines
Diff to previous 1.156 (colored) to selected 1.73 (colored)

cmake: updated to 3.17.2

CMake 3.17.2
* BoostScanDeps: Fix typo in numpy handling
* FindBoost: Simplify Boost_VERSION_STRING comparisons
* FindBoost: Add support for Boost 1.73
* iOS: Fix detection of supported SDK architectures
* FindPython: avoid autoderef in version comparisons
* FindPython: remove extra dereference
* AIX: Activate symbol export/import IBM i (OS400)
* Ninja: Document that Fortran support is available with Ninja 1.10+
* CPack: Do not recurse through directory symlinks
* target_precompile_headers: Fix documented example using genex
* Makefiles: Scan Objective C/C++ preprocessor dependencies
* Makefiles: Add Objective C/C++ compilations to compile_commands.json
* FindMPI: Add the pgi compiler wrapper names used by IBM Spectrum MPI
* Help: Fix unescaped asterisks in docs for SKIP_PRECOMPILE_HEADERS
* Help: Minor grammar cleanups of CMAKE_CURRENT_FUNCTION* docs
* Help: Add cross-references for CMAKE_CURRENT_FUNCTION* docs
* Help: Improve wording of CMAKE_CURRENT_FUNCTION_LIST_DIR docs
* Apple: Merge per-arch sysroot parameters if all are the same
* file(UPLOAD): Add default ca_certs
* Ninja: Remove config suffix from order-only target
* FindPython: fix python compiler validation
* FindPython: fix reason failure propagation
* FindBoost: Prevent warning with boost 1.73
* FindCUDAToolkit searches stub location last

Revision 1.156 / (download) - annotate - [select for diffs], Fri Apr 10 05:53:47 2020 UTC (3 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.155: +5 -5 lines
Diff to previous 1.155 (colored) to selected 1.73 (colored)

cmake: updated to 3.17.1

CMake 3.17.1
* ExternalProject: allow `DOWNLOAD_NO_EXTRACT OFF`
* Makefiles: Fix silencing of nested calls for GNU make 4.3
* VS: Fix ClangCL toolset compiler path detection
* Ninja Multi-Config: Fix MSVC showincludes prefix detection
* CheckIPOSupported: Avoid polluting cache with common name 'result'
* CTest: Fix reported duration on timeout when grindchild keeps pipes open
* target_link_libraries: Fix regression in case of $ genex
* AIX: Install ExportImportList script with execute permission
* XL: C++14 language level flags are only available on Linux
* XL: Add comment clarifying why we pretend it has full C++11/14 support
* CPack/NSIS: Document and check requirement of at least NSIS 3.0
* Utilities/Release: Update to openssl 1.1.1f
* Apple: Improve handling of missing SDKs in CMAKE_APPLE_ARCH_SYSROOTS
* Apple: Fix mapping CMAKE_APPLE_ARCH_SYSROOTS to custom OSX_ARCHITECTURES
* cmCursesLongMessageForm: Factor out helper to draw message to form
* Help: Minor typos and formatting for XCODE_SCHEME_WORKING_DIRECTORY
* Help: Add missing XCODE_SCHEME_WORKING_DIRECTORY
* Help: Fix inaccuracies and omissions in MACHO_* property docs
* Help: Fix CMAKE_FIND_DEBUG_MODE list formatting
* Help: Improve discoverability of CMAKE_FIND_DEBUG_MODE
* cmake-gui: Fix use-after-free in Open-possible check
* Help: Fixed typo in CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst
* Help: Move Ninja Multi-Config variable details into their respective pages
* Ninja: Make config uppercase in object order target
* llvm-rc: Enable preprocessing if CMAKE_RC_COMPILER_INIT is an absolute path
* FindPython: misc. fixes
* FindPython: fix variable spelling error
* FindPython: fix handling when FIND_VIRTUALENV == FIRST
* ccmake: Use incremental rendering for the logs
* llvm-rc: Select preprocessor from active languages
* llvm-rc: Write depfile to location specified by the generator
* llvm-rc: Print stderr output when calling tools through cmake_llvm_rc
* llvm-rc: Restore include path for data after explicit preprocessing

Revision 1.155 / (download) - annotate - [select for diffs], Sat Mar 21 12:58:00 2020 UTC (4 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.154: +6 -6 lines
Diff to previous 1.154 (colored) to selected 1.73 (colored)

cmake: updated to 3.17.0

Some of the more significant changes in CMake 3.17 are:

ãà×Ämake(1)ãàgained a ãàׯinja Multi-Configãàgenerator, which is similar to the ãàׯinjaãàgenerator but can be used to build multiple configurations at once.
Visual Studio Generators learned to support per-config sources. Previously only Command-Line Build Tool Generators supported them.
The ãàפompile Featuresãàfunctionality now offers meta-features for the CUDA language standard levels (e.g. ãà×Äuda_std_03ãà ãà×Äuda_std_14ãà. See ãàפMAKE_CUDA_KNOWN_FEATURESãà
The ãàפMAKE_CUDA_RUNTIME_LIBRARYãàvariable and ãàפUDA_RUNTIME_LIBRARYãàtarget property were introduced to select the CUDA runtime library used when linking targets that use CUDA.
The ãàקindCUDAToolkitãàmodule was added to find the CUDA Toolkit without enabling CUDA as a language.
ãà×Ämake(1)ãàgained a ãàØädebug-findãàcommand-line option to enable additional human-readable output on where find commands search.
The ãàפMAKE_FIND_DEBUG_MODEãàvariable was introduced to print extra find call information during the cmake run to standard error. Output is designed for human consumption and not for parsing.
The ãàקindCURLãàmodule learned to find CURL using the ãàפURLConfig.cmakeãàpackage configuration file generated by CURLãàÑÔ cmake buildsystem. It also gained a new ãàפURL_NO_CURL_CMAKEãàoption to disable this behavior.
The ãàקindPythonãàmodule has learned to find Python components in active virtual environments managed by ãà×Äondaãà
The ãà×Ätest(1)ãàtool gained a ãàØäno-tests=<[error|ignore]>ãàoption to explicitly set and unify the behavior between direct invocation and script mode if no tests were found.
The ãà×Ätest(1)ãàtool gained a ãàØärepeat :ãàoption to specify conditions in which to repeat tests. This generalizes the existing ãàØärepeat-until-fail ãàoption to add modes for ãà×Öntil-passãàand ãà×Âfter-timeoutãà
Target link properties ãàתNTERFACE_LINK_OPTIONSãà ãàתNTERFACE_LINK_DIRECTORIESãàand ãàתNTERFACE_LINK_DEPENDSãàare now transitive over private dependencies on static libraries. See policy ãàפMP0099ãà
When using MinGW tools, the ãà×Çind_library()ãàcommand no longer finds ãàdllãàfiles by default. Instead it expects ãàdll.aãàimport libraries to be available.
The ãàׯinjaãàgenerator now prefers the first ninja build tool to appear in the ãà×±ATHãàno matter whether it is called ãà×Ïinja-buildãà ãà×Ïinjaãà or ãà×Ôamuãà Previously the first of those names to appear anywhere in the ãà×±ATHãàwould be preferred.
ãà×Ämake(1)ãàgained a ãàE rmãàcommand-line tool that can be used to remove directories and files. This supersedes the existing ãàE removeãàand ãàE remove_directoryãàtools and has better semantics.

Revision 1.154 / (download) - annotate - [select for diffs], Wed Mar 4 18:20:59 2020 UTC (4 years ago) by adam
Branch: MAIN
Changes since 1.153: +5 -5 lines
Diff to previous 1.153 (colored) to selected 1.73 (colored)

cmake: updated to 3.16.5

CMake 3.16.5
* libarchive: Fix WideCharToMultiByte output buffer size
* libarchive: Add support for UTF-8 locale on Windows
* Propagate backtraces from LINK_LIBRARIES through to link line items
* Help: Update CMake 3.16 release notes for 3.16.5
* Ninja: Do not use nvcc response files with non-nvcc tools
* install: Fix regression when using default destinations
* FindPython: Mark non-public cache entries INTERNAL in CMake 3.16
* FindPython: Do not cache computed result variables in CMake 3.16
* FindPkgConfig: set policies CMP0054 and CMP0057 to new

Revision 1.153 / (download) - annotate - [select for diffs], Thu Feb 6 15:56:32 2020 UTC (4 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.152: +5 -5 lines
Diff to previous 1.152 (colored) to selected 1.73 (colored)

cmake: updated to 3.16.4

CMake 3.16.4
* ASM_MASM: Populate MSVC runtime library abstraction table
* VS: Tell VS 16.4 not to verify SYMBOLIC custom command inputs
* AIX: Restore pre-3.16 undocumented method to suppress exports with XL
* Android: Fix binutils selection with NDK r19+ unified toolchain
* VS: Do not use native unity builds on VS 2017 versions less than 15.8
* file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments
* Help: Add more variable documentation to FindMPI
* CPack: Fix regression in Deb description

Revision 1.152 / (download) - annotate - [select for diffs], Wed Jan 22 08:35:33 2020 UTC (4 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.151: +5 -5 lines
Diff to previous 1.151 (colored) to selected 1.73 (colored)

cmake: updated to 3.16.3

CMake 3.16.3
* FindOpenSSL: Fix ordering of dependency link flags
* GNUtoMS: Add search path for VS 2019 environment scripts
* IRSL: Install msvcp140_{1,2,codecvt_ids}.dll if available
* ObjC: Add _COMPILE_LAUNCHER support
* ObjC: Add VISIBLITY_INLINES_HIDDEN support
* Unity Build: include language in generated source file name
* PCH: No repeated path for internal generated PCH files (MSVC case)
* CTest: Improve error handling when reading resource spec file
* CPack: Fix regression in DEB generator description
* FindPython*: Fix erroneous target properties setting
* macOS: Add support for new Xcode 11 frameworks directory
* FindPython: ensure new Xcode framework for Python3 is detected
* FindPython: Add support for version 3.9
* Fortran: Add support for NAG Fortran submodules
* VS: Add Fortran link flag table entries for /OPT:*
* CUDA: Do not device link if target has no CUDA usage
* Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files
* FindMatlab: add R2019a and R2019b MATLAB_VERSIONS_MAPPING
* FindMatlab: in matlab_add_mex use the correct version file

Revision 1.151 / (download) - annotate - [select for diffs], Sun Dec 29 08:53:14 2019 UTC (4 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.150: +5 -5 lines
Diff to previous 1.150 (colored) to selected 1.73 (colored)

cmake: updated to 3.16.2

CMake 3.16.2
VS: Fix support for v142 toolset minor versions in VS 16.5+
FindBLAS: Consider OpenBLAS with thread libraries only with C or CXX
FindBoost: Add support for Boost 1.72
Autogen: Revert processing of .hh files for compatibility
FindLAPACK: Fix support for LAPACK symbols inside BLAS libraries
PCH: Append pch header file to list of forced include files
Tests: Fix testCTestResourceSpec struct initialization for some compilers

Revision 1.150 / (download) - annotate - [select for diffs], Wed Dec 11 07:05:20 2019 UTC (4 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.149: +5 -5 lines
Diff to previous 1.149 (colored) to selected 1.73 (colored)

cmake: updated to 3.16.1

CMake 3.16.1
* bootstrap: Add target_link_options command
* Check for support before adding bigtoc linker flag
* TestDriver: ignore strcpy call
* FindThreads: Restore hard-coded '-l' flag on library name
* PCH: Do not add #pragma system_header for Xcode generator
* Unity/PCH: Skip more target types when adding automatic sources
* Unity: Generic source file handling for all generators
* Unity: Proper handling of object libraries
* PCH: Use the target's PREFIX for building the pdb file name
* CTest Resource Allocation: Add test for spec file with no version
* FindwxWidgets: Add support for 3.1.3 on macOS

Revision 1.149 / (download) - annotate - [select for diffs], Wed Nov 27 22:32:27 2019 UTC (4 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.148: +13 -14 lines
Diff to previous 1.148 (colored) to selected 1.73 (colored)

cmake: updated to 3.16.0

3.16.0:

New Features
============


Languages
---------

* CMake learned to support the Objective C ("OBJC") and Objective
  C++ ("OBJCXX") languages.  They may be enabled via the "project()"
  and "enable_language()" commands.  When "OBJC" or "OBJCXX" is
  enabled, source files with the ".m" or ".mm", respectively, will be
  compiled as Objective C or C++.  Otherwise they will be treated as
  plain C++ sources as they were before.


Compilers
---------

* The "Clang" compiler is now supported on "Solaris".


Platforms
---------

* On AIX, executables using the "ENABLE_EXPORTS" target property now
  produce a linker import file with a ".imp" extension in addition to
  the executable file.  Plugins (created via "add_library()" with the
  "MODULE" option) that use "target_link_libraries()" to link to the
  executable for its symbols are now linked using the import file. The
  "install(TARGETS)" command now installs the import file as an
  "ARCHIVE" artifact.

* On AIX, runtime linking is no longer enabled by default.  CMake
  provides the linker enough information to resolve all symbols up
  front. One may manually enable runtime linking for shared libraries
  and/or loadable modules by adding "-Wl,-G" to their link flags (e.g.
  in the "CMAKE_SHARED_LINKER_FLAGS" or "CMAKE_MODULE_LINKER_FLAGS"
  variable). One may manually enable runtime linking for executables
  by adding "-Wl,-brtl" to their link flags (e.g. in the
  "CMAKE_EXE_LINKER_FLAGS" variable).


Command-Line
------------

* "cmake(1)" "-E" now supports "true" and "false" commands, which do
  nothing while returning exit codes of 0 and 1, respectively.

* "cmake(1)" gained a "--trace-redirect=" command line option
  that can be used to redirect "--trace" output to a file instead of
  "stderr".

* The "cmake(1)" "--loglevel" command line option has been renamed
  to "--log-level" to make it consistent with the naming of other
  command line options.  The "--loglevel" option is still supported to
  preserve backward compatibility.


Commands
--------

* The "add_test()" command learned the option "COMMAND_EXPAND_LISTS"
  which causes lists in the "COMMAND" argument to be expanded,
  including lists created by generator expressions.

* The "file()" command learned a new sub-command,
  "GET_RUNTIME_DEPENDENCIES", which allows you to recursively get the
  list of libraries linked by an executable or library. This sub-
  command is intended as a replacement for "GetPrerequisites".

* The "find_file()", "find_library()", "find_path()",
  "find_package()", and "find_program()" commands have learned to
  check the following variables to control searching

  * "CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH" - Controls the searching
    the cmake-specific environment variables.

  * "CMAKE_FIND_USE_CMAKE_PATH" - Controls the searching the cmake-
    specific cache variables.

  * "CMAKE_FIND_USE_CMAKE_SYSTEM_PATH" - Controls the searching
    cmake platform specific variables.

  * "CMAKE_FIND_USE_PACKAGE_ROOT_PATH" - Controls the searching of
    "_ROOT" variables.

  * "CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH" - Controls the
    searching the standard system environment variables.

* The "find_package()" command has learned to check the following
  variables to control searching

  * "CMAKE_FIND_USE_PACKAGE_REGISTRY" - Controls the searching the
    cmake user registry.

* The "message()" command learned indentation control with the new
  "CMAKE_MESSAGE_INDENT" variable.

* The "target_precompile_headers()" command was added to specify a
  list of headers to precompile for faster compilation times.


Variables
---------

* The "CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS" variable has been
  introduced to optionally initialize the
  "CUDA_RESOLVE_DEVICE_SYMBOLS" target property.

* The "CMAKE_ECLIPSE_RESOURCE_ENCODING" variable was added to
  specify the resource encoding for the the "Eclipse CDT4" extra
  generator.


Properties
----------

* The "BUILD_RPATH" and "INSTALL_RPATH" target properties now
  support "generator expressions".

* The "INSTALL_REMOVE_ENVIRONMENT_RPATH" target property was added
  to remove compiler-defined "RPATH" entries from a target. This
  property is initialized by the
  "CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH" variable.

* The "PRECOMPILE_HEADERS" target property was added to specify a
  list of headers to precompile for faster compilation times. Set it
  using the "target_precompile_headers()" command.

* The "UNITY_BUILD" target property was added to tell generators to
  batch include source files for faster compilation times.

* The "VS_CONFIGURATION_TYPE" target property now supports
  "generator expressions".

* The "VS_DPI_AWARE" target property was added to tell Visual Studio
  Generators to set the "EnableDpiAwareness" property in ".vcxproj"
  files.

* The "XCODE_SCHEME_DEBUG_DOCUMENT_VERSIONING" target property was
  added to tell the "Xcode" generator to set the value of the "Allow
  debugging when using document Versions Browser" schema option.


Modules
-------

* The "FindDoxygen" module "doxygen_add_docs()" command gained a new
  "USE_STAMP_FILE" option.  When this option present, the custom
  target created by the command will only re-run Doxygen if any of the
  source files have changed since the last successful run.

* The "FindGnuTLS" module now provides an imported target.

* The "FindPackageHandleStandardArgs" module
  "find_package_handle_standard_args()" command gained a new
  "REASON_FAILURE_MESSAGE" option to specify a message giving the
  reason for the failure.

* The "FindPkgConfig" module "pkg_search_module()" macro now defines
  a "_MODULE_NAME" result variable containing the first
  matching module name.

* The "FindPython3" and "FindPython" modules gained options to
  control which "ABIs" will be searched.

* The "FindPython3", "FindPython2", and "FindPython" modules now
  support direct specification of artifacts via cache entries.


Autogen
-------

* When using "AUTOMOC", CMake now generates the "-p" path prefix
  option for "moc".  This ensures that "moc" output files are
  identical on different build setups (given, that the headers
  compiled by "moc" are in an "include directory"). Also it ensures
  that "moc" output files will compile correctly when the source
  and/or build directory is a symbolic link.

  The "moc" path prefix generation behavior can be configured by
  setting the new "CMAKE_AUTOMOC_PATH_PREFIX" variable and/or
  "AUTOMOC_PATH_PREFIX" target property.


CTest
-----

* "ctest(1)" now has the ability to serialize tests based on
  resource requirements for each test. See Resource Allocation for
  details.

* A new test property, "SKIP_REGULAR_EXPRESSION", has been added.
  This property is similar to "FAIL_REGULAR_EXPRESSION" and
  "PASS_REGULAR_EXPRESSION", but with the same meaning as
  "SKIP_RETURN_CODE". This is useful, for example, in cases where the
  user has no control over the return code of the test. For example,
  in Catch2, the return value is the number of assertion failed,
  therefore it is impossible to use it for "SKIP_RETURN_CODE".


CPack
-----

* "cpack(1)" learned support for multiple configurations for "-C"
 option.

* The "CPack DEB Generator" is now able to format generic text
  (usually used as the description for multiple CPack generators)
  according to the Debian Policy Manual.  See the
  "CPACK_PACKAGE_DESCRIPTION_FILE" and
  "CPACK_DEBIAN__DESCRIPTION" variables.

* The "CPack Archive Generator" learned to generate ".tar.zst"
  packages with Zstandard compression.


Deprecated and Removed Features
===============================

* An explicit deprecation diagnostic was added for policy "CMP0067"
  ("CMP0066" and below were already deprecated). The "cmake-
  policies(7)" manual explains that the OLD behaviors of all policies
  are deprecated and that projects should port to the NEW behaviors.

* The "CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY" variable has been
  deprecated.  Use the "CMAKE_FIND_USE_PACKAGE_REGISTRY" variable
  instead.

* The "GetPrerequisites" module has been deprecated, as it has been
  superceded by "file(GET_RUNTIME_DEPENDENCIES)".

* The "CPACK_INSTALL_SCRIPT" variable has been deprecated in favor
  of the new, more accurately named "CPACK_INSTALL_SCRIPTS" variable.


Other Changes
=============

* The "cmake(1)" "-C " option now evaluates the
  initial cache script with "CMAKE_SOURCE_DIR" and "CMAKE_BINARY_DIR"
  set to the top-level source and build trees.

* The "cmake(1)" "-E remove_directory" command-line tool, when given
  the path to a symlink to a directory, now removes just the symlink.
  It no longer removes content of the linked directory.

* The "ctest(1)"  "--build-makeprogram" command-line option now
  specifies the make program used when configuring a project with the
  "Ninja" generator or the Makefile Generators.

* The "ExternalProject" module "ExternalProject_Add()" command has
  been updated so that "GIT_SUBMODULES """ initializes no submodules.
  See policy "CMP0097".

* The "FindGTest" module has been updated to recognize MSVC build
  trees generated by GTest 1.8.1.

* The "project()" command no longer strips leading zeros in version
  components.  See policy "CMP0096".

* The Qt Compressed Help file is now named "CMake.qch", which no
  longer contains the release version in the file name.  When CMake is
  upgraded in-place, the name and location of this file will remain
  constant. Tools such as IDEs, help viewers, etc. should now be able
  to refer to this file at a fixed location that remains valid across
  CMake upgrades.

* "RPATH" entries are properly escaped in the generated CMake
  scripts used for installation.  See policy "CMP0095".

* When using "CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS" on Windows the auto-
  generated exports are now updated only when the object files
  providing the symbols are updated.

Revision 1.148 / (download) - annotate - [select for diffs], Thu Oct 31 13:30:31 2019 UTC (4 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.147: +5 -5 lines
Diff to previous 1.147 (colored) to selected 1.73 (colored)

cmake: updated to 3.15.5

CMake 3.15.5
* Help: Fix COMPILE_LANG_AND_ID genex example
* VS: Fix support for v142 toolset minor versions
* Xcode: Restore CMAKE_XCODE_GENERATE_SCHEME for custom targets
* VS: Tell VS 16.4 not to verify CMake-provided custom command outputs
* VS: Add toolset v142 CSharp flag table
* IRSL: Prefer MSVC runtime libraries from newest toolset first
* IRSL: Install vcruntime140_1.dll if available

Revision 1.147 / (download) - annotate - [select for diffs], Thu Oct 3 08:01:09 2019 UTC (4 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.146: +5 -5 lines
Diff to previous 1.146 (colored) to selected 1.73 (colored)

cmake: updated to 3.15.4

CMake 3.15.4:
* VS: Tell VS 16.4 not to verify SYMBOLIC custom command outputs
* Tests: Teach RunCMake to support a custom working directory
* Tests: Revise RunCMake.add_subdirectory ExcludeFromAll to avoid globbing
* Tests: Clarify target names in RunCMake.add_subdirectory ExcludeFromAll
* Makefiles: Revert "Make build root targets ... recursive"
* Restore "all" target in subdirectories marked EXCLUDE_FROM_ALL
* Help: Add release note for EXCLUDE_FROM_ALL fix in 3.14.7
* Help: Add release note for EXCLUDE_FROM_ALL fix in 3.15.4
* Help: Mention 3.14.7 EXCLUDE_FROM_ALL fix in 3.15.4 release note
* Help: Document VS 2019 toolset in MSVC_TOOLSET_VERSION

Revision 1.146 / (download) - annotate - [select for diffs], Thu Sep 5 08:39:09 2019 UTC (4 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.145: +5 -5 lines
Diff to previous 1.145 (colored) to selected 1.73 (colored)

cmake: updated to 3.15.3

CMake 3.15.3
* Flang: Implement MSVC runtime library abstraction
* CTest: Fix --show-only=json-v1 output with REQUIRED_FILES property
* cmGlobalGenerator: Fix CheckCompilerIdCompatibility local var lifetime
* cmAffinity: Add include for CPU_ZERO on Alpine Linux
* find_path: Fix crash on empty old-style list of names
* fileapi: Fix codemodel v2 target file name for CMP0037 OLD behavior
* FindBoost: Simplify conditional block for last known version
* FindBoost: Remove incorrect 1.70 timer dependency
* FindBoost: Unwrap compatibility INTERFACE targets for legacy variables
* FindBoost: Add support for Boost 1.71
* FindBoost: Clarify role of legacy variables in warning message
* FindBoost: Tolerate future Boost INTERFACE libraries
* CrayPrgEnv: Change default linking mode based on PE version
* ccmake: handle cache entries with empty STRINGS property
* libarchive: We now require at least version 3.3.3
* FindMPI: Restore MPI__COMPILE_FLAGS and MPI__COMPILE_OPTIONS
* Ninja: Add support for ADDITIONAL_CLEAN_FILES in custom targets
* Tests: Extend MakeClean test to test various target types
* Autogen: Fix AUTOUIC segfault, when file includes colliding ui_*.h file

Revision 1.145 / (download) - annotate - [select for diffs], Thu Aug 8 07:04:17 2019 UTC (4 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.144: +5 -5 lines
Diff to previous 1.144 (colored) to selected 1.73 (colored)

cmake: updated to 3.15.2

CMake 3.15.2
* Swift: Restore support for enabling with INTERFACE libraries
* VS: Fix mapping of `-Qspectre-` flag
* source_group: Fix regression in relative FILES
* clang: Restore support for clang-cl on non-Windows hosts
* fileapi: Fix codemodel target install destination for cross-dir rules
* clang: Work around toolchain file use of internal CMake variables
* Help: Add 3.15.2 release notes
* FindGLEW: Fix macOS library suffix selection
* FindGLEW: Add required OpenGL dependency in macOS
* FindGLEW: Fix typo in verbose log message
* find_package: Fix prefer-config mode to not fail on missing optional package

Revision 1.144 / (download) - annotate - [select for diffs], Fri Aug 2 04:46:12 2019 UTC (4 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.143: +5 -5 lines
Diff to previous 1.143 (colored) to selected 1.73 (colored)

cmake: updated to 3.15.1

Changes made since CMake 3.15.0:
* CTest: Generate Done.xml before calculating its hash
* VS: Place intermediate files in the "ASM List Location" next to objects
* MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set
* Clang: For MSVC ABI do not use modes older than C++14
* Tests: Revert "require C++14 for the Tutorial"
* Makefile: Fix regression in dependencies on relative includes
* Help: Add 3.15.1 release notes
* IRSL: Fix typo in v143 toolset version check
* IRSL: Fix discovery of VS 2019 v141 toolset redistributables
* FindPython: ensure interpreter is founded when cross-compiling
* Fix allocation in CROSSCOMPILING_EMULATOR evaluation
* FindMPI: Updated to use INTERFACE_LINK_OPTIONS
* FindMPI: make sure computed link flags are not de-duplicated
* Support per-language library link flags
* Swift: Add library search paths for dependencies
* Swift: add rules for static linking
* Swift: support multithreaded compilation
* Swift: support SONAME on ELFish targets

Revision 1.143 / (download) - annotate - [select for diffs], Fri Jul 19 09:06:23 2019 UTC (4 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.142: +7 -6 lines
Diff to previous 1.142 (colored) to selected 1.73 (colored)

cmake: updated to 3.15.0

3.15.0:

New Features
============


Generators
----------

* The "Xcode" generator now supports per-target schemes. See the
  "CMAKE_XCODE_GENERATE_SCHEME" variable and "XCODE_GENERATE_SCHEME"
  target property.

* The "Green Hills MULTI" generator has been updated:

  * It now supports the "add_custom_command()" and
    "add_custom_target()" commands.

  * It is now available on Linux.


Languages
---------

* Preliminary support for the "Swift" language was added to the
  "Ninja" generator:

  * Use the "SWIFTC" environment variable to specify a compiler.

  * The "Swift_DEPENDENCIES_FILE" target property and
    "Swift_DEPENDENCIES_FILE" source file property were added to
    customize dependency files.

  * The "Swift_MODULE_NAME" target property was added to customize
    the Swift module name.

  * The "Swift_DIAGNOSTICS_FILE" source property was added to
    indicate where to write the serialised Swift diagnostics.

  The Swift support is experimental, not considered stable, and may
  change in future releases of CMake.


Compilers
---------

* The "Clang" compiler variant on Windows that targets the MSVC ABI
  but has a GNU-like command line is now supported.

* Support for the Clang-based ARM compiler was added with compiler
  id "ARMClang".

* Support was added for the IAR compiler architectures Renesas RX,
  RL78, RH850 and Texas Instruments MSP430.

* Support was added for the IAR compilers built for Linux (IAR
  BuildLx).


Command-Line
------------

* The "CMAKE_GENERATOR" environment variable was added to specify a
  default generator to use when "cmake(1)" is run without a "-G"
  option.  Additionally, environment variables
  "CMAKE_GENERATOR_PLATFORM", "CMAKE_GENERATOR_TOOLSET", and
  "CMAKE_GENERATOR_INSTANCE" were created to configure the generator.

* The "cmake(1)" "--build" tool "--target" parameter gained support
  for multiple targets, e.g. "cmake --build . --target Library1
  Library2". It now also has a short form "-t" alias, e.g. "cmake
  --build . -t Library1 Library2".

* The "cmake(1)" command gained a new "--install" option. This may
  be used after building a project to run installation without using
  the generated build system or the native build tool.

* The "cmake(1)" command learned a new CLI option "--loglevel".

* The "cmake(1)" "-E remove_directory" command-line tool learned to
  support removing multiple directories.

* The "cmake(1)" "-E tar" tool has been improved:

  * It now continues adding files to an archive even if some of the
    files are not readable.  This behavior is more consistent with the
    classic "tar" tool.

  * It now parses all flags, and if an invalid flag was provided, a
    warning is issued.

  * It now displays an error if no action flag was specified, along
    with a list of possible actions: "t" (list), "c" (create) or "x"
    (extract).

  * It now supports extracting ("-x") or listing ("-t") only
    specific files or directories.

  * It now supports Zstandard compression with a "--zstd" option.
    Zstandard was designed to give a compression ratio comparable to
    that of the DEFLATE (zip) algorithm, but faster, especially for
    decompression.


Commands
--------

* The "add_custom_command()" and "add_custom_target()" commands
  gained a new "JOB_POOL" option that works with the "Ninja" generator
  to set the pool variable on the build statement.

* The "add_library()" command "ALIAS" option learned to support
  import libraries of the "UNKNOWN" type.

* The "cmake_parse_arguments()" command gained an additional
  "_KEYWORDS_MISSING_VALUES" output variable to report keyword
  arguments that were given by the caller with no values.

* The "execute_process()" command gained a "COMMAND_ECHO" option and
  supporting "CMAKE_EXECUTE_PROCESS_COMMAND_ECHO" variable to enable
  echoing of the command-line string before execution.

* The "file(INSTALL)" command learned a new argument,
  "FOLLOW_SYMLINK_CHAIN", which can be used to recursively resolve and
  install symlinks.

* "list()" learned new sub-commands: "PREPEND", "POP_FRONT" and
  "POP_BACK".

* The "message()" command learned new types: "NOTICE", "VERBOSE",
  "DEBUG" and "TRACE".

* The "string()" learned a new sub-command "REPEAT".


Variables
---------

* The "CMAKE_CROSSCOMPILING_EMULATOR" variable and corresponding
  "CROSSCOMPILING_EMULATOR" target property learned to support
  arguments to the emulator.

* The "CMAKE_FIND_PACKAGE_PREFER_CONFIG" variable was added to tell
  "find_package()" calls to look for a package configuration file
  first even if a find module is available.

* The "CMAKE_FRAMEWORK" variable was added to initialize the
  "FRAMEWORK" property on all targets.

* The "CMAKE_VS_JUST_MY_CODE_DEBUGGING" variable and
  "VS_JUST_MY_CODE_DEBUGGING" target property were added to enable the
  Just My Code feature of the Visual Studio Debugger when compiling
  with MSVC cl 19.05 and higher.

* The "CMAKE_MSVC_RUNTIME_LIBRARY" variable and
  "MSVC_RUNTIME_LIBRARY" target property were introduced to select the
  runtime library used by compilers targeting the MSVC ABI. See policy
  "CMP0091".

* The "CMAKE_PROJECT_INCLUDE" and "CMAKE_PROJECT_INCLUDE_BEFORE"
  variables were added to allow injection of custom code at the sites
  of "project()" calls without knowing the project name a priori.


Properties
----------

* The "ADDITIONAL_CLEAN_FILES" target property and
  "ADDITIONAL_CLEAN_FILES" directory property were added. They allow
  to register additional files that should be removed during the clean
  stage.

* The "PUBLIC_HEADER" and "PRIVATE_HEADER" properties may now be set
  on Interface Libraries. The headers specified by those properties
  can be installed using the "install(TARGETS)" command by passing the
  "PUBLIC_HEADER" and "PRIVATE_HEADER" arguments respectively.

* The "VS_PACKAGE_REFERENCES" target property was added to tell
  Visual Studio Generators to add references to "nuget" packages.

* The "VS_PROJECT_IMPORT" target property was added to allow managed
  Visual Studio project files to import external ".props" files.

* The "VS_NO_SOLUTION_DEPLOY" target property was added to tell
  Visual Studio Generators whether to deploy an artifact to the WinCE
  or Windows Phone target device.


Modules
-------

* The "FindBoost" module was reworked to expose a more consistent
  user experience between its ãàפonfigãàand ãà×®oduleãàmodes and with
  other find modules in general.

  * A new imported target "Boost::headers" is now defined (same as
    "Boost::boost").

  * New output variables "Boost_VERSION_MACRO",
    "Boost_VERSION_MAJOR", "Boost_VERSION_MINOR",
    "Boost_VERSION_PATCH", and "Boost_VERSION_COUNT" were added.

  * The "QUIET" argument passed to "find_package()" is no longer
    ignored in config mode.  Note that the CMake package shipped with
    Boost "1.70.0" ignores the "QUIET" argument passed to
    "find_package()".  This is fixed in the next Boost release.

  * The input switch "Boost_DETAILED_FAILURE_MSG" was removed.

  * "Boost_VERSION" now reports the version in "x.y.z" format in
    module mode.  See policy "CMP0093".

* The "FindCups" module now provides imported targets.

* The "FindEnvModules" module was added to use Lua- and TCL-based
  environment modules in CTest Scripts.

* The "FindGLEW" module now provides an interface more consistent
  with what upstream GLEW provides in its own CMake package files.

* The "FindPkgConfig" now populates "INTERFACE_LINK_OPTIONS"
  property of imported targets with other (non-library) linker flags.

* The "FindPostgreSQL" module learned to find debug and release
  variants separately.

* Modules "FindPython3", "FindPython2" and "FindPython" gained
  additional lookup strategies and controls, and a new default. See
  policy "CMP0094".

* Modules "FindPython", "FindPython2" and "FindPython3" gain a new
  target (respectively "Python::Module", "Python2::Module" and
  "Python3::Module") which can be used to develop Python modules.

* Modules "FindPython3", "FindPython2" and "FindPython" gain
  capability to control how virtual environments are handled.

* The "UseSWIG" module learned to manage alternate library names by
  passing "-interface       " for "python" language or
  "-dllimport       " for "CSharp" language to the "SWIG"
  compiler.


Generator Expressions
---------------------

* The "generator expressions" "C_COMPILER_ID", "CXX_COMPILER_ID",
  "CUDA_COMPILER_ID", "Fortran_COMPILER_ID", "COMPILE_LANGUAGE",
  "COMPILE_LANG_AND_ID", and "PLATFORM_ID" learned to support matching
  one value from a comma-separated list.


CTest
-----

* The "ctest_submit()" command learned a new option: "BUILD_ID".
  This can be used to store the ID assigned to this build by CDash to
  a variable.

* The "ctest_update()" command learned to honor a new variable:
  "CTEST_UPDATE_VERSION_OVERRIDE". This can be used to specify the
  current version of your source tree rather than using the update
  command to discover the current version that is checked out.

CPack
-----

* The "CPack IFW Generator" gained a new
  "CPACK_IFW_PACKAGE_STYLE_SHEET" variable to customize the installer
  stylesheet.

Deprecated and Removed Features
===============================

* The "cmake-server(7)" mode has been deprecated and will be removed
  from a future version of CMake.  Please port clients to use the
  "cmake-file-api(7)" instead.

* The "ADDITIONAL_MAKE_CLEAN_FILES" directory property is now
  deprecated.  Use the "ADDITIONAL_CLEAN_FILES" directory property
  instead.

* The variable "CMAKE_AUTOMOC_RELAXED_MODE" is considered
  deprecated. Support still exists but will be removed in future
  versions.

* The "export(PACKAGE)" command now does nothing unless enabled via
  "CMAKE_EXPORT_PACKAGE_REGISTRY". See policy "CMP0090".

* The "Xcode" generator now requires at least Xcode 5.

* An explicit deprecation diagnostic was added for policy "CMP0066"
  ("CMP0065" and below were already deprecated). The "cmake-
  policies(7)" manual explains that the OLD behaviors of all policies
  are deprecated and that projects should port to the NEW behaviors.

Other Changes
=============

* CMake learned how to compile C++14 with the IBM AIX XL compiler
  and the SunPro compiler and to compile C++20 with the AppleClang
  compiler.

* With MSVC-like compilers the value of "CMAKE__FLAGS" no
  longer contains warning flags like "/W3" by default. See policy
  "CMP0092".

* IBM Clang-based XL compilers that define "__ibmxl__" now use the
  compiler id "XLClang" instead of "XL".  See policy "CMP0089".

* The "file(REMOVE)" and "file(REMOVE_RECURSE)" commands were
  changed to ignore empty arguments with a warning instead of treating
  them as a relative path and removing the contents of the current
  directory.

Revision 1.142 / (download) - annotate - [select for diffs], Sat Jun 1 20:24:07 2019 UTC (4 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.141: +5 -5 lines
Diff to previous 1.141 (colored) to selected 1.73 (colored)

cmake: updated to 3.14.5

Changes in 3.14.5 since 3.14.4:
* FindBoost: Add compiler features for Boost Contract library
* libarchive: avoid b64_encode name conflict with Solaris built-in function
* FindThreads: Drop incorrect docs about usage with C++
* Do not exclude include directories made implicit by CPATH
* VS: Isolate custom command input/output generation scopes
* VS: Clarify name of custom commands AdditionalInputs variable
* VS: De-duplicate custom command dependencies

Revision 1.141 / (download) - annotate - [select for diffs], Wed May 15 09:06:10 2019 UTC (4 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.140: +5 -5 lines
Diff to previous 1.140 (colored) to selected 1.73 (colored)

cmake: updated to 3.14.4

Changes in 3.14.4 since 3.14.3:
* FindBoost: Record compiler features for Boost 1.67 and above
* FindBoost: Fix compiler features for `fiber` and `context`
* iOS: Fix try_compile FILE_COPY not to fail
* target_link_libraries: Fix static library private deps in other dirs
* Help: Add 3.14.4 release notes
* FindSWIG: Support swig4.0
* Apple: Preserve high resolution mtime for static libraries
* Apple: Properly lookup XCTest for iOS and tvOS
* FindPython: NumPy: fix erroneous dependencies management
* FindPython: ensure variable Python_RUNTIME_LIBRARY_DIRS is set correctly

Revision 1.140 / (download) - annotate - [select for diffs], Tue Apr 23 09:29:08 2019 UTC (4 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.139: +5 -5 lines
Diff to previous 1.139 (colored) to selected 1.73 (colored)

cmake: updated to 3.14.3

Changes in 3.14.3 since 3.14.2:
* FindOpenGL: look for GLVND libraries with a libglvnd suffix
* FindBoost: Add support for MSVC toolset version 14.2
* IRSL: Update redist directory for VS 2019 update 1
* VS: Provide the default platform name to project code
* FindQt3: Restore missing lib and bin path suffixes
* FindBoost: Fix detection with version suffixes on Gentoo

Revision 1.139 / (download) - annotate - [select for diffs], Mon Apr 15 06:59:08 2019 UTC (4 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.138: +5 -5 lines
Diff to previous 1.138 (colored) to selected 1.73 (colored)

cmake: updated to 3.14.2

Changes in 3.14.2 since 3.14.1:
* MSVC: Fix MSVC_TOOLSET_VERSION for VS 2019 v142 toolset
* ARMCC: Do not identify ARMClang as ARMCC
* IRSL: Fix discovery of VS 2019 v142 toolset redistributables
* Tests: Clarify hand-written cases in RunCMake.ParseImplicitIncludeInfo
* Tests: Teach RunCMake.ParseImplicitIncludeInfo to match output by regex
* Fix implicit include directory extraction for adaptive relative paths
* Xcode: Factor out duplicate source group code into lambda
* Xcode: Avoid mutating App Bundle targets during generation
* cmake-gui: Fix icon overlay on windows
* Modules/CTest: Fix SubmitURL
* cmake-gui: Fix theme on Windows with Qt >= 5.10

Revision 1.138 / (download) - annotate - [select for diffs], Mon Apr 1 08:17:34 2019 UTC (4 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.137: +5 -5 lines
Diff to previous 1.137 (colored) to selected 1.73 (colored)

cmake: updated to 3.14.1

Changes in 3.14.1 since 3.14.0:
* VS: Fix x64 host recognition by x86 cmake process
* find_program: Restore leading double slash on Windows network path
* Eclipse: Fix extra generator to not crash on interface libraries
* ARMCC: Fix identification of ARM compiler when it defines GNU macros
* Help: Clarify policy CMP0082 documentation
* Restore support for include_directories() in toolchain files
* CUDA: Tolerate square brackets in PROMPT environment variable
* cmake: Fix '-E copy foo .' to avoid clobbering file
* FindFontconfig: Convert module variables to camel case
* ParseImplicitIncludeInfo: Canonicalize implicit include dirs
* CPackIFW: Add missing cpack_ifw_configure_component_group option processing
* FindPython*: ensure correct architecture is selected.
* Autogen: Do not treat hard-coded -I/usr/include exclusion as implicit include
* ctest_coverage: fix out-of-bounds index in Jacoco parser

Revision 1.137 / (download) - annotate - [select for diffs], Mon Mar 18 09:05:59 2019 UTC (5 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.136: +9 -8 lines
Diff to previous 1.136 (colored) to selected 1.73 (colored)

cmake: updated to 3.14.0

3.14.0:
New Features
Generators
* The Visual Studio 16 2019 generator was added. This is experimental and based on ãà×·isual Studio 2019 Preview 4ãàbecause this version of VS has not been released.
* The Green Hills MULTI generator has been updated:

File-Based API
* A file-based api for clients to get semantic buildsystem information has been added.

Platforms
* CMake now supports Cross Compiling for iOS, tvOS, or watchOS using simple toolchain files.

Command-Line
* The cmake(1) Build Tool Mode (cmake --build) gained --verbose and -v options to specify verbose build output. Some generators such as Xcode donãàÑÕ support this option currently.
* The cmake(1) -E compare_files command learned a new --ignore-eol option to specify that end-of-line differences (e.g. LF vs CRLF) should be ignored when comparing files.
* The cmake-gui(1) dialog gained new -S and -B arguments to explicitly specify source and build directories.

Commands
* The file() command learned a new sub-command, CREATE_LINK, which can be used to create hard or symbolic links.
* The file() command learned a new sub-command, READ_SYMLINK, which can be used to determine the path that a symlink points to.
* The file() command gained a SIZE mode to get the size of a file on disk.
* The find_package() command learned to optionally resolve symbolic links in the paths to package configuration files. See the CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS variable.
* The get_filename_component() command gained new LAST_EXT and NAME_WLE variants to work with the extension after the last . in the name.
* The if() command gained support for checking if cache variables are defined with the DEFINED CACHE{VAR} syntax.
* The install(CODE) and install(SCRIPT) commands learned to support generator expressions. See policy CMP0087.
* The install(TARGETS) command learned how to install to an appropriate default directory for a given target type, based on variables from the GNUInstallDirs module and built-in defaults, in lieu of a DESTINATION argument.
* The install(FILES) and install(DIRECTORY) commands learned a new set of parameters for installing files as a file type, setting the destination based on the appropriate variables from GNUInstallDirs and built-in defaults, in lieu of a DESTINATION argument.
* The list() operations REMOVE_ITEM, REMOVE_DUPLICATES, SORT, REVERSE, and FILTER all now accept a non-existent variable as the list since these operations on empty lists is also the empty list.
* The list() operation REMOVE_AT now indicates that the given indices are invalid for a non-existent variable or empty list.
* The try_compile() and try_run() commands gained a new LINK_OPTIONS option.

Variables
* A CMAKE_BUILD_RPATH_USE_ORIGIN variable and corresponding BUILD_RPATH_USE_ORIGIN target property were added to enable use of relative runtime paths (RPATHs). This helps achieving relocatable and reproducible builds that are invariant of the build directory.

Properties
* A CMAKE_ROLE global property was added to allow scripts to determine whether theyãàÑÓe running in project mode, script mode, find-package mode, CTest, or CPack.
* The CUDA_RESOLVE_DEVICE_SYMBOLS target property is now supported on shared library, module library, and executable targets. Previously it was only honored on static libraries.
* The EXCLUDE_FROM_ALL target property was created to override the setting of its directory. A target will now be built as part of ãà×Âllãàif its EXCLUDE_FROM_ALL property is set to OFF, even if its containing directory is marked as EXCLUDE_FROM_ALL.
* INTERFACE_POSITION_INDEPENDENT_CODE target property gains the support of generator expressions.

Revision 1.136 / (download) - annotate - [select for diffs], Wed Feb 27 13:18:01 2019 UTC (5 years, 1 month ago) by maya
Branch: MAIN
Changes since 1.135: +3 -2 lines
Diff to previous 1.135 (colored) to selected 1.73 (colored)

cmake: specifically test for some C++17 features.

In case the compiler used advertises C++17 but uses a C++ library that
lacks some features, we'll need specific testing.

Unbreaks the build for: libstdc++ from 5.4 and clang 7.0
Submitted upstream: https://gitlab.kitware.com/cmake/cmake/merge_requests/3030/diffs
(No response yet)

From wizermil.

Revision 1.135 / (download) - annotate - [select for diffs], Tue Feb 5 09:52:23 2019 UTC (5 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.134: +5 -5 lines
Diff to previous 1.134 (colored) to selected 1.73 (colored)

cmake: updated to 3.13.4

Changes in 3.13.4 since 3.13.3:
* Tests: add cases for providing Qt5Core_VERSION manually
* AutoGen: query Qt5 version from directory properties
* Revert "file: Allow DOWNLOAD/UPLOAD using alternate authentication
  methods"
* Intel: Record support for relaxed constexpr by version 18.0.5
* macOS: Restore compatibility for setting FRAMEWORK after install()
* FindLAPACK: Distinguish check result variable name from FindBLAS
* macOS: Add missing explicit dependency on CoreServices framework
* cmake: Convert no source/build dir error to warning
* Help: Add 3.13.4 release note for no source/build dir error/warning
* FindDoxygen: Escape backslashes in default values

Revision 1.134 / (download) - annotate - [select for diffs], Tue Jan 15 09:02:28 2019 UTC (5 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.133: +5 -5 lines
Diff to previous 1.133 (colored) to selected 1.73 (colored)

cmake: updated to 3.13.3

Changes in 3.13.3 since 3.13.2:
- VS: Exclude VS 2019 instances when using VS 2017 generator
- Tests: Add cases for -{C,D,U} without a source tree
- Tests: Add case for warning when AUTOMOC/UIC/RCC gets disabled
- cmake: Stop processing if -P option lacks file name
- cmake: Ensure source and binary dirs are set
- cmake: distinguish '-Cpath' from '-C path' in source dir parsing
- Autogen: Issue a warning when AUTOMOC/UIC/RCC gets disabled.
- BundleUtilities: Ensure target dir exists when creating symlinks

Revision 1.133 / (download) - annotate - [select for diffs], Fri Jan 4 17:47:12 2019 UTC (5 years, 2 months ago) by triaxx
Branch: MAIN
Changes since 1.132: +3 -2 lines
Diff to previous 1.132 (colored) to selected 1.73 (colored)

Fix PR pkg/53816.

* Fix from upstream: https://gitlab.kitware.com/cmake/cmake/issues/17614
* Patch comment to appease pkglint
* Bump revision

Revision 1.132 / (download) - annotate - [select for diffs], Sat Dec 15 23:23:14 2018 UTC (5 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.131: +5 -5 lines
Diff to previous 1.131 (colored) to selected 1.73 (colored)

cmake: updated to 3.13.2

Changes in 3.13.2 since 3.13.1:
* CUDA: Add CUDA 10 (Turing) detection
* CUDA: Fix crash on linking to a CUDA target without CUDA enabled
* CPack/External: Fix status messages of staging scripts
* Autogen: Revert passing compiler implicit includes to moc

Revision 1.131 / (download) - annotate - [select for diffs], Wed Nov 28 14:42:52 2018 UTC (5 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.130: +5 -5 lines
Diff to previous 1.130 (colored) to selected 1.73 (colored)

cmake: updated to 3.13.1

Changes in 3.13.1 since 3.13.0:
      Fortran: Fix module dependency scanning with upper-case SUBMODULE
      FindBoost: Restore finding without CXX language enabled
      VS: Avoid crash with VS 2015 when all SDKs are higher than 10.0.14393.0
      Autogen: Fix empty uic executable string

Revision 1.130 / (download) - annotate - [select for diffs], Wed Nov 21 16:58:52 2018 UTC (5 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.129: +6 -6 lines
Diff to previous 1.129 (colored) to selected 1.73 (colored)

cmake: updated to 3.13.0

CMake 3.13.0:
The Visual Studio Generators for VS 2010 and above learned to
support the ãàתNTERPROCEDURAL_OPTIMIZATIONãàtarget property and
supporting ãàפheckIPOSupportedãàmodule.
The ãàרreen Hills MULTIãàgenerator has been updated to include
support for platform, architecture, and toolset selection.
The ãà×Ämakeãàcommand gained the ãàS <source_dir>ãàcommand line
option to specify the location of the source directory. This option
can be used independently of ãàBãà
The ãà×Ämakeãàcommand gained the ãàB <build_dir>ãàcommand line
option to specify the location of the build directory. This option
can be used independently of ãàSãà
The ãà×ÄmakeãàãàE create_symlinkãàcommand can now be used on
Windows.
The ãà×Õarget_link_directories()ãàcommand was created to specify
link directories for targets and their dependents.
The ãà×Õarget_link_options()ãàcommand was created to specify link
options for targets and their dependents.
The ãà×Õarget_link_libraries()ãàcommand may now be called to modify
targets created outside the current directory. See policy ãàפMP0079ãà
The ãà×Ênstall(TARGETS)ãàcommand learned to install targets created
outside the current directory.
A ãà×·S_DEBUGGER_COMMAND_ARGUMENTSãàtarget property was created to
set the debugging command line arguments with Visual Studio
Generators for VS 2010 and above.
A ãà×·S_DEBUGGER_ENVIRONMENTãàtarget property was created to set the
debugging environment with Visual Studio Generators for VS 2010 and
above.
The ãà×Ðption()ãàcommand now honors an existing normal variable of
the same name and does nothing instead of possibly creating a cache
entry (or setting its type) and removing the normal variable. See
policy ãàפMP0077ãà
The ãà×Õarget_sources()ãàcommand now interprets relative source file
paths as relative to the current source directory. This simplifies
incrementally building up a targetãàÑÔ sources from subdirectories.
The ãàפMP0076ãàpolicy was added to provide backward compatibility
with the old behavior where required.

Revision 1.129 / (download) - annotate - [select for diffs], Tue Oct 16 16:37:21 2018 UTC (5 years, 5 months ago) by leot
Branch: MAIN
Changes since 1.128: +3 -2 lines
Diff to previous 1.128 (colored) to selected 1.73 (colored)

cmake: Use NetBSD curses(3) when possible

ccmake needs wsyncup(3) and since NetBSD 8.0 it is present on NetBSD.
Handle that via `USE_CURSES= wsyncup' and remove enforcements about
ncurses in CMakeLists.txt and Source/Checks/Curses/CMakeLists.txt.

Bump PKGREVISION

Revision 1.128 / (download) - annotate - [select for diffs], Thu Oct 4 13:09:54 2018 UTC (5 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.127: +5 -5 lines
Diff to previous 1.127 (colored) to selected 1.73 (colored)

cmake: updated to 3.12.3

Changes in 3.12.3 since 3.12.2:
* CTest: Fix --test-load regression
* FindMPI: Restore MPI__COMPILE_FLAGS as a command-line string
* FindDoxygen: Ensure policy settings allow use of IN_LIST
* libarchive: Backport fix for build with LibreSSL 2.7
* libuv: do not require PATH_MAX to be defined
* VS: Fix CSharp flag selection when linking to a static C++ library
* CSharp: Fix regression in VS project type selection
* CTest: Fix regression in ctest_start()
* Help: TESTS property: clarify usage.

Revision 1.127 / (download) - annotate - [select for diffs], Sat Sep 8 06:55:51 2018 UTC (5 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.126: +6 -6 lines
Diff to previous 1.126 (colored) to selected 1.73 (colored)

cmake: updated to 3.12.2

Changes in 3.12.2 since 3.12.1:
* Android: Add support for NDK r18
* CheckIPOSupported: Simplify result reporting logic
* CheckIPOSupported: Tolerate backslashes in output of failed checks
* VS: Restore CMakeLists.txt references in each target
* EXPORT_PROPERTIES: Add test for an undefined property
* EXPORT_PROPERTIES: Prevent null dereference for undefined property
* Help: Fix typo in clang-tidy example -checks option
* FindBoost: Fix context discovery for 1.60 and below
* FindCUDA: Do not find cublas_device on CUDA >= 9.2
* FindMatlab: Remove erroneous duplicate code
* CUDA: Avoid using deprecated cublas_device to identify device lib dirs
* cmState: Clear GlobVerificationManager state on Reset

Revision 1.126 / (download) - annotate - [select for diffs], Fri Aug 10 06:59:04 2018 UTC (5 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.125: +5 -5 lines
Diff to previous 1.125 (colored) to selected 1.73 (colored)

cmake: update to 3.12.1

Changes in 3.12.1 since 3.12.0:
- CSharp: Set CMAKE_CSharp_COMPILER_LOADED variable when language is enabled
- UseSWIG: Use CSharp language only if it is enabled
- Help: Add explicit <PackageName>_ROOT variable documentation
- Tests: Add case showing CMP0048 warning on injected project command
- project: Do not issue CMP0048 warnings on injected call
- CPack: Restore support for 0-valued version components
- FindCUDA/select_compute_arch: Restore two-component CUDA_VERSION
- GoogleTest: Ensure policy settings allow use of IN_LIST
- FindTCL: Add support for version 8.7
- FindPython*: fix erroneous behavior on multiple 'find_package' calls
- UseSWIG: restore legacy behavior for SWIG_MODULE_<name>_EXTRA_FLAGS

Revision 1.125 / (download) - annotate - [select for diffs], Tue Jul 24 12:14:38 2018 UTC (5 years, 8 months ago) by ryoon
Branch: MAIN
Changes since 1.124: +2 -1 lines
Diff to previous 1.124 (colored) to selected 1.73 (colored)

Fix curses detection under NetBSD 8 and current at least

Fix PR pkg/53469

Revision 1.124 / (download) - annotate - [select for diffs], Sat Jul 21 06:52:55 2018 UTC (5 years, 8 months ago) by ryoon
Branch: MAIN
Changes since 1.123: +7 -8 lines
Diff to previous 1.123 (colored) to selected 1.73 (colored)

Update to 3.12.0

Changelog:
Changes made since CMake 3.11 include the following.

New Features

Generators

  * The Visual Studio Generators for VS 2017 learned to support a version=14.##
    option in the CMAKE_GENERATOR_TOOLSET value (e.g. via the cmake(1) -T
    option) to specify a toolset version number.

Command-Line

  * The cmake(1) Build Tool Mode (cmake --build) gained --parallel [<jobs>] and
    -j [<jobs>] options to specify a parallel build level. They map to
    corresponding options of the native build tool.

Commands

  * The add_compile_definitions() command was added to set preprocessor
    definitions at directory level. This supersedes add_definitions().
  * The cmake_minimum_required() and cmake_policy(VERSION) commands now accept
    a version range using the form <min>[...<max>]. The <min> version is
    required but policies are set based on the older of the running CMake
    version and the version specified by <max>. This allows projects to specify
    a range of versions for which they have been updated and avoid explicit
    policy settings.
  * The file(GLOB) and file(GLOB_RECURSE) commands learned a new flag
    CONFIGURE_DEPENDS which enables expression of build system dependency on
    globbed directoryãàÑÔ contents.
  * The file(TOUCH) and file(TOUCH_NOCREATE) commands were added to expose
    TOUCH functionality without having to use CMakeãàÑÔ command-line tool mode
    with execute_process().
  * The find_package() command now searches a prefix specified by a
    PackageName_ROOT CMake or environment variable. Package roots are
    maintained as a stack so nested calls to all find_* commands inside find
    modules also search the roots as prefixes. See policy CMP0074.
  * The install() command learned an optional NAMELINK_COMPONENT parameter,
    which allows you to change the component for a shared libraryãàÑÔ namelink.
    If none is specified, the value of COMPONENT is used by default.
  * The list() command learned a JOIN sub-command to concatenate listãàÑÔ
    elements separated by a glue string.
  * The list() command learned a SUBLIST sub-command to get a sublist of the
    list.
  * The list() command learned a TRANSFORM sub-command to apply various string
    transformation to listãàÑÔ elements.
  * The project() command learned an optional HOMEPAGE_URL parameter which has
    the effect of setting variables like PROJECT_HOMEPAGE_URL, <PROJECT-NAME>
    _HOMEPAGE_URL and CMAKE_PROJECT_HOMEPAGE_URL.
  * The string() command learned a JOIN sub-command to concatenate input
    strings separated by a glue string.
  * target_compile_options() and add_compile_options() commands gained a SHELL:
    prefix to specify a group of related options using shell-like quoting.
  * The target_link_libraries() command now supports Object Libraries. Linking
    to an object library uses its object files in direct dependents and also
    propagates usage requirements.

Variables

  * The CMAKE_FOLDER variable was added to initialize the FOLDER property on
    all targets.
  * The CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION variable was defined to
    initialize all DOTNET_TARGET_FRAMEWORK_VERSION target properties.
  * CMAKE_PROJECT_VERSION* variables have been introduced:
      + CMAKE_PROJECT_VERSION
      + CMAKE_PROJECT_VERSION_MAJOR
      + CMAKE_PROJECT_VERSION_MINOR
      + CMAKE_PROJECT_VERSION_PATCH
      + CMAKE_PROJECT_VERSION_TWEAK
  * The CMAKE_SUPPRESS_REGENERATION variable was extended to support the Ninja
    and Makefile Generators. It is also now documented.
  * CMAKE_VS_SDK_*_DIRECTORIES variables were defined to tell Visual Studio
    Generators for VS 2010 and above how to populate fields in .vcxproj files
    that specify SDK directories. The variables are:
      + CMAKE_VS_SDK_EXCLUDE_DIRECTORIES
      + CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES
      + CMAKE_VS_SDK_INCLUDE_DIRECTORIES
      + CMAKE_VS_SDK_LIBRARY_DIRECTORIES
      + CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES
      + CMAKE_VS_SDK_REFERENCE_DIRECTORIES
      + CMAKE_VS_SDK_SOURCE_DIRECTORIES
  * A MSVC_TOOLSET_VERSION variable was added to provide the MSVC toolset
    version associated with the current MSVC compiler version in MSVC_VERSION.

Properties

  * The COMMON_LANGUAGE_RUNTIME target property was introduced to configure the
    use of managed C++ for Visual Studio Generators for VS 2010 and above. A
    corresponding IMPORTED_COMMON_LANGUAGE_RUNTIME target property was added to
    support C++/CLI for imported targets.
  * The DOTNET_TARGET_FRAMEWORK_VERSION target property was introduced as
    replacement for VS_DOTNET_TARGET_FRAMEWORK_VERSION, which is considered
    deprecated now.
  * An EXPORT_PROPERTIES target property was added to specify a custom list of
    target properties to include in targets exported by the install(EXPORT) and
    export() commands.
  * The PDB_OUTPUT_DIRECTORY property learned to support generator expressions.
  * A TESTS directory property was added to hold the list of tests defined by
    the add_test() command.
  * A VS_DEBUGGER_COMMAND target property was created to set the debugging
    command line with Visual Studio Generators for VS 2010 and above.
  * HLSL source file properties VS_SHADER_DISABLE_OPTIMIZATIONS and
    VS_SHADER_ENABLE_DEBUG gained support for generator expressions.
  * HLSL source file property VS_SHADER_OBJECT_FILE_NAME has been added to the
    Visual Studio Generators for VS 2010 and above. The property specifies the
    file name of the compiled shader object.

Modules

  * The FindALSA module now provides imported targets.
  * The FindCURL module now provides imported targets.
  * The FindJPEG module now provides imported targets.
  * The FindLibXml2 module now provides imported targets.
  * The FindMatlab module now supports the Matlab Runtime Compiler (MCR) for
    compiling and linking matlab extensions.
  * A FindODBC module was added to find an Open Database Connectivity (ODBC)
    library.
  * The FindPkgConfig module has learned to export the found libraries with
    full path for direct consumption with the target_link_libraries() command.
  * New FindPython3 and FindPython2 modules, as well as a new FindPython
    module, have been added to provide a new way to locate python environments.
  * The UseSWIG module gained a whole refresh and is now more consistent with
    standard CMake commands to generate libraries and is fully configurable
    through properties.
  * The UseSWIG module learned to manage multiple behaviors through
    UseSWIG_MODULE_VERSION variable to ensure legacy support as well as more
    robust handling of SWIG advanced features (like %template).
  * The UseSWIG module learned to support CSHARP variant wrapper files.
  * The WriteCompilerDetectionHeader module gained a BARE_FEATURES option to
    add a compatibility define for the exact keyword of a new language feature.

Generator Expressions

  * A new $<GENEX_EVAL:...> and $<TARGET_GENEX_EVAL:target,...> generator
    expression has been added to enable consumption of generator expressions
    whose evaluation results itself in generator expressions.
  * A new $<IN_LIST:...> generator expression has been added.
  * A new $<TARGET_EXISTS:...> generator expression has been added.
  * A new $<TARGET_NAME_IF_EXISTS:...> generator expression has been added.

CTest

  * The ctest_start() command has been reworked so that you can simply call
    ctest_start(APPEND) and it will read all the needed information from the
    TAG file. The argument parsing has also been relaxed so that the order of
    the arguments is less significant.
  * A PROCESSOR_AFFINITY test property was added to request that CTest run a
    test with CPU affinity for a set of processors disjoint from other
    concurrently running tests with the property set.

CPack

  * The CPack module now uses variables CMAKE_PROJECT_VERSION_MAJOR,
    CMAKE_PROJECT_VERSION_MINOR and CMAKE_PROJECT_VERSION_PATCH to initialize
    corresponding CPack variables.
  * cpack(1) gained basic support for NuGet. See the CPackNuGet module.

Other

  * The Compile Features functionality is now aware of C++ 20. No specific
    features are yet enumerated besides the cxx_std_20 meta-feature.
  * The Compile Features functionality is now aware of the availability of C
    features in MSVC since VS 2010.
  * The Compile Features functionality is now aware of C language standards
    supported by Texas Instruments C compilers.

Deprecated and Removed Features

  * The Visual Studio 8 2005 generator has been removed.
  * CMake no longer produces <tgt>_LIB_DEPENDS cache entries for library
    targets. See policy CMP0073.

Other Changes

  * Include flags for directories marked as SYSTEM are now moved after
    non-system directories. The -isystem flag does this automatically, so
    moving them explicitly to the end makes the behavior consistent on
    compilers that do not have any -isystem flag.
  * Fortran dependency scanning now supports dependencies implied by Fortran
    Submodules.
  * The existence and functionality of the file ${CMAKE_BINARY_DIR}/
    cmake_install.cmake has now been documented in the install() documentation
    so that external packaging software can take advantage of CPack-style
    component installs.
  * The CheckIncludeFile module check_include_file macro learned to honor the
    CMAKE_REQUIRED_LIBRARIES variable. See policy CMP0075.
  * The CheckIncludeFileCXX module check_include_file_cxx macro learned to
    honor the CMAKE_REQUIRED_LIBRARIES variable. See policy CMP0075.
  * The CheckIncludeFiles module check_include_files macro learned to honor the
    CMAKE_REQUIRED_LIBRARIES variable. See policy CMP0075.
  * The cmake(1) -E copy_directory tool now fails when the source directory
    does not exist. Previously it succeeded by creating an empty destination
    directory.
  * The UseSWIG module swig_add_library() command (and legacy swig_add_module
    command) now set the prefix of Java modules to "" for MINGW, MSYS, and
    CYGWIN environments.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Jun 24 09:13:22 2018 UTC (5 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.122: +6 -5 lines
Diff to previous 1.122 (colored) to selected 1.73 (colored)

cmake: updated to 3.11.4

3.11.4:
Windows: Restore support for running CMake through a symlink
ExternalProject: Fix cache generation when args end with "-NOTFOUND"
ExternalProject: Improve URL_HASH argument description

Revision 1.122 / (download) - annotate - [select for diffs], Mon Jun 11 17:33:51 2018 UTC (5 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.121: +2 -1 lines
Diff to previous 1.121 (colored) to selected 1.73 (colored)

cmake: Fix build under macOS with Xcode 9.4

Xcode 9.4 triggers linker warnings that the C++ feature detection
code considers fatal. Simply ignore these warning by adding an entry
to the existing filter table.

Revision 1.121 / (download) - annotate - [select for diffs], Fri Jun 1 07:16:03 2018 UTC (5 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.120: +5 -5 lines
Diff to previous 1.120 (colored) to selected 1.73 (colored)

cmake: updated to 3.11.3

Changes in 3.11.3:
* cmSystemTools: Revert GetRealPath implementation on Windows
* CPack: Fix cross-compilation of WiX generator
* TestDriver: Replace strncpy with strcpy

Revision 1.120 / (download) - annotate - [select for diffs], Fri May 18 07:15:30 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.119: +5 -5 lines
Diff to previous 1.119 (colored) to selected 1.73 (colored)

cmake: updated to 3.11.2

3.11.2:
Ninja: Do not add empty custom command for file(GENERATE) outputs
C++ feature checks: Filter out warnings caused by local configuration
libuv: linux/sparc64: use fcntl to set and clear O_NONBLOCK
FindCUDA: Fix regression in separable compilation without cublas
FindBoost: Remove extra indentation in 1.65/1.66 dependency block
add_library: Restore error on alias of non-global imported target
add_custom_{command,target}: Fix crash on empty expanded command
CMake 3.11.2

IRSL: Fix Intel library list for ifort-only setups

InstallRequiredSystemLibraries: Check for existence of mfcm dlls

FindBoost: Backport versioned python dependencies for v1.35 to v1.66

Fix CMAKE_DISABLE_SOURCE_CHANGES recognition of top of build tree
FindJava, FindJNI, UseJava: update for version 10 support
FindJava, FindJNI: Ensure most recent version is searched first
FindJava, FindJNI: fix erroneous regex, enhance registry lookup
Help: Specify COMPILE_OPTIONS and COMPILE_FLAGS source properties
usage

Qt4Macros: Use get_property/set_property
Qt4Macros: Don't AUTOMOC or AUTOUIC qt4-generated files

FindPkgConfig: do not unset unused variable
FindBLAS: do not write an imported target name into BLAS_LIBRARIES

Autogen: Register generated dependency files

Revision 1.119 / (download) - annotate - [select for diffs], Fri May 11 13:39:57 2018 UTC (5 years, 10 months ago) by jperkin
Branch: MAIN
Changes since 1.118: +2 -1 lines
Diff to previous 1.118 (colored) to selected 1.73 (colored)

cmake: Fix build on illumos with C++17 header issues.

Revision 1.118 / (download) - annotate - [select for diffs], Thu Apr 26 17:30:36 2018 UTC (5 years, 11 months ago) by minskim
Branch: MAIN
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored) to selected 1.73 (colored)

devel/cmake: -lcrypto should appear later in the command

This fixes PR pkg/53117.

Revision 1.117 / (download) - annotate - [select for diffs], Tue Apr 17 16:28:35 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.116: +5 -5 lines
Diff to previous 1.116 (colored) to selected 1.73 (colored)

cmake: updated to 3.11.1

Changes in 3.11.1 since 3.11.0:
Revert "CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES"
CPack: Fix crash on invalid generator name
Restore support for explicitly referenced CMakeLists.txt sources
Exclude "libgcc_eh" library files from implicit link libraries
Features: Record for VS 2017 through 15.6
Explicitly require LibUV 1.10 or higher to build CMake
bootstrap: Add option to enable/disable usage of system libuv
Fix crash with --trace-expand --warn-uninitialized together
FindOpenMP: Fix support for Intel on Windows
Autogen: Protected calls to cmSystemTools::CollapseCombinedPath
Autogen: Protected calls to cmSystemTools::Split/JoinPath
Autogen: Protected calls to cmSystemTools::GetFilenameWithoutLastExtension
Autogen: Protected calls to cmQtAutoGen::SubDirPrefix
Autogen: Protected calls to cmFilePathChecksum
Autogen: Use std::istreambuf_iterator for file so string reading
Autogen: Print moc/uic/rcc output to stdout

Revision 1.116 / (download) - annotate - [select for diffs], Sun Apr 8 19:09:45 2018 UTC (5 years, 11 months ago) by chuck
Branch: MAIN
Changes since 1.115: +2 -1 lines
Diff to previous 1.115 (colored) to selected 1.73 (colored)

add CMAKE_PKGSRC_BUILD_FLAGS for pkgsrc build to set opts

With pkgsrc built packages, the goal is to have the user's compiler
optimization flags set by the user using CFLAGS, etc.   To that end,
the cmake Makefile has subst.mk code to "sed -e 's,-O.,,'" out opt.
flags in Modules/Compiler/*.cmake for cmake compiles with the
CMAKE_BUILD_TYPE set (e.g. to Release).

Unfortunately, this sed-based approach has two drawbacks: First, it
gets applied to packages build with cmake outside of pkgsrc (changing
the semantics of -DCMAKE_BUILD_TYPE=Release in an unexpected way by
remove -O flags from it).   Second, the sed expression damages some
of the Modules/Compiler/*.cmake as not all opt flags match the "-O."
regular expression.

To address this we:
  1. remove the subst.mk sed operation on Modules/Compiler/*.cmake
  2. add a new config variable CMAKE_PKGSRC_BUILD_FLAGS that should
     be set for pkgsrc-based cmake builds (e.g. in mk/configure/cmake.mk)
  3. we add a patch for Modules/Compiler/GNU.cmake to look for
     CMAKE_PKGSRC_BUILD_FLAGS and choose a set of non-opt compiler
     flags when this is set (to provide the desired behavior under pksrc).
     note that the GNU.cmake file is also used by clang.   We can
     make the corresponding changes to other compilers if desired.

The result is that cmake compiles under pkgsrc set CMAKE_PKGSRC_BUILD_FLAGS
and follow CFLAGS, etc. (bypassing CMAKE_BUILD_TYPE), but cmake compiles
outside of pkgsrc follow the standard cmake semantics for CMAKE_BUILD_TYPE.
Also, we no longer damage Modules/Compiler/*.cmake with sed.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Apr 2 19:36:44 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.114: +5 -6 lines
Diff to previous 1.114 (colored) to selected 1.73 (colored)

cmake: updated to 3.11.0

Some of the more significant changes in CMake 3.11 are:

The Makefile Generators and the ãàׯinjaãàgenerator learned to add
compiler launcher tools along with the compiler for the ãàקortranãàlanguage (ãàפãà ãàפXXãà and ãàפUDAãàwere supported previously). See the
ãàפMAKE_<LANG>_COMPILER_LAUNCHERãàvariable and
ãàLANG>_COMPILER_LAUNCHERãàtarget property for details.

Visual Studio Generators learned to support the ãàפOMPILE_LANGUAGEãàãà×Èenerator expressionãàin target-wide ãàפOMPILE_DEFINITIONSãà
ãàתNCLUDE_DIRECTORIESãà ãàפOMPILE_OPTIONSãà and ãà×Çile(GENERATE)ãà See
generator expression documentation for caveats.

The ãà×¹codeãàGenerator learned to support the ãàפOMPILE_LANGUAGEãàãà×Èenerator expressionãàin target-wide ãàפOMPILE_DEFINITIONSãàand
ãàתNCLUDE_DIRECTORIESãà It previously supported only
ãàפOMPILE_OPTIONSãàand ãà×Çile(GENERATE)ãà See generator expression
documentation for caveats.

ãà×Âdd_library()ãàand ãà×Âdd_executable()ãàcommands can now be called
without any sources and will not complain as long as sources are
added later via the ãà×Õarget_sources()ãàcommand.

The ãà×Õarget_compile_definitions()ãàcommand learned to set the
ãàתNTERFACE_COMPILE_DEFINITIONSãàproperty on Imported Targets.

The ãà×Õarget_compile_features()ãàcommand learned to set the
ãàתNTERFACE_COMPILE_FEATURESãàproperty on Imported Targets.

The ãà×Õarget_compile_options()ãàcommand learned to set the
ãàתNTERFACE_COMPILE_OPTIONSãàproperty on Imported Targets.

The ãà×Õarget_include_directories()ãàcommand learned to set the
ãàתNTERFACE_INCLUDE_DIRECTORIESãàproperty on Imported Targets.

The ãà×Õarget_sources()ãàcommand learned to set the
ãàתNTERFACE_SOURCESãàproperty on Imported Targets.

The ãà×Õarget_link_libraries()ãàcommand learned to set the
ãàתNTERFACE_LINK_LIBRARIESãàproperty on Imported Targets.

The ãàפOMPILE_DEFINITIONSãàsource file property learned to support
ãà×Èenerator expressionsãà

A ãàפOMPILE_OPTIONSãàsource file property was added to manage list
of options to pass to the compiler.

When using ãà×¢UTOMOCãàor ãà×¢UTOUICãà CMake now starts multiple
parallel ãà×Îocãàor ãà×Öicãàprocesses to reduce the build time. A new
ãàפMAKE_AUTOGEN_PARALLELãàvariable and ãà×¢UTOGEN_PARALLELãàtarget
property may be set to specify the number of parallel ãà×Îocãàor ãà×Öicãàprocesses to start. The default is derived from the number of CPUs
on the host.

Revision 1.114 / (download) - annotate - [select for diffs], Sat Mar 17 08:03:09 2018 UTC (6 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.113: +5 -5 lines
Diff to previous 1.113 (colored) to selected 1.73 (colored)

cmake: updated to 3.10.3

CMake 3.10.3
* GoogleTest: Rename TIMEOUT parameter to avoid clash
* Autogen: Fix for the empty source file crash in 3.10.2
* ccmake: fix status line buffer overflow on very wide terminals

Revision 1.113 / (download) - annotate - [select for diffs], Fri Jan 19 07:49:06 2018 UTC (6 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.112: +5 -5 lines
Diff to previous 1.112 (colored) to selected 1.73 (colored)

cmake: updated to 3.10.2

Changes in 3.10.2:
KWIML: Backport RISC-V update to CMake 3.10
FindPostgreSQL: Add support for PG10
cmGraphVizWriter: Updated to create and follow dependers for interface targets
Autogen: Fix for problematic nested list separator
Autogen: Ignore not existing source files in cmMakefile

Revision 1.112 / (download) - annotate - [select for diffs], Mon Jan 15 18:12:41 2018 UTC (6 years, 2 months ago) by minskim
Branch: MAIN
Changes since 1.111: +2 -1 lines
Diff to previous 1.111 (colored) to selected 1.73 (colored)

devel/cmake: Add the upstream patch to support boost-libs-1.66

Bump PKGREVISION.

Revision 1.111 / (download) - annotate - [select for diffs], Thu Dec 14 22:13:34 2017 UTC (6 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.110: +6 -6 lines
Diff to previous 1.110 (colored) to selected 1.73 (colored)

cmake: updated to 3.10.1

3.10.1:
bootstrap: Check support for unordered_map from compiler mode
CPack: Fix macOS PKG component dependency information
CUDA: Treat /usr/include as an implicit include directory
server: Revert "Report backtraces in codemodel response"
CMake 3.10.1
FindMPI: Correct legacy variable handling
FindMPI: Fix multiple configure runs
FindMPI: Fix various legacy problems
IRSL: Fix MSVC variable deferencing
IAR: FindBinUtils should work for CXX as well as C
GoogleTest: Fix multiple discovery on same target
GoogleTest: Improve gtest_discover_tests messages
GoogleTest: Add timeout to discovery
GoogleTest: Add test for missing test executable
CUDA: Shared libraries on Darwin properly setup @rpath install_names
Autogen: Fix for AUTOMOC on macOS frameworks in CMake 3.10
Autogen: Tests: Add test for MacOS frameworks
Clang: Do not mistake clang-cl 6.0 for GNU-like clang

Revision 1.110 / (download) - annotate - [select for diffs], Thu Nov 30 15:41:17 2017 UTC (6 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.109: +6 -5 lines
Diff to previous 1.109 (colored) to selected 1.73 (colored)

cmake: updated to 3.10.0

CMake 3.10 are:

The flang Fortran compiler is now supported, with compiler id
ãàקlangãà

Support for the MSVC ARM64 architecture was added. Visual Studio
2017 Update 4 and above offer an ARM64 toolchain.

The ãà×Ênclude_guard()ãàcommand was introduced to allow guarding
CMake scripts from being included more than once. The command
supports ãà×¥IRECTORYãàand ãàרLOBALãàoptions to adjust the
corresponding include guard scope. If no options given, include
guard is similar to basic variable-based check.

ãàקindMPIãàreceived a major overhaul. It now features language specific
components, better Fortran support, and support for statically linked
MPI implementations.

A ãàקindOpenACCãàmodule was added to detect compiler support for
OpenACC. Currently only supports PGI, GNU and Cray compilers.
The ãàקindOpenGLãàmodule underwent numerous improvements. It has gained
support for GLVND and EGL on Linux. It now has import targets that
separate the OpenGL library and OpenGL contexts.

The ãàרoogleTestãàmodule gained a new command
ãà×Ètest_discover_tests()ãàimplementing dynamic (build-time) test
discovery.

When using ãà×¢UTOMOCãàor ãà×¢UTOUICãà source files that are
ãàרENERATEDãàwill be processed as well. They were ignored by
ãà×¢UTOMOCãàand ãà×¢UTOUICãàin earlier releases. See policy ãàפMP0071ãà

A ãàפTEST_LABELS_FOR_SUBPROJECTSãàCTest module variable and CTest
script variable were added to specify a list of labels that should
be treated as subprojects by CDash. To use this value in both the
CTest module and the ctest command line Dashboard Client mode (e.g.
ãà×Ätest -Sãà set it in the ãàפTestConfig.cmakeãàconfig file.
CPack gained a ãàקREEBSDãàgenerator for FreeBSD ãà×Ñkg(8)ãà
configured by the ãàפPackFreeBSDãàmodule.

The CPack ãà×¥EBãàgenerator, configured by the ãàפPackDebãàmodule,
was enabled on Windows. While not fully featured (due to the lack
of external UNIX tools) this will allow building basic cross-
platform Debian packages.

The ãà×Ämake(1)ãàãàEãàmode gained support for ãà×Ôha1sumãà
ãà×Ôha224sumãà ãà×Ôha256sumãà ãà×Ôha384sumãà and ãà×Ôha512sumãà

The ãà×Çile(GENERATE)ãàcommand now interprets relative paths given
to its ãà×°UTPUTãàand ãàתNPUTãàarguments with respect to the callerãàÑÔ
current binary and source directories, respectively. See policy
ãàפMP0070ãà

Revision 1.109 / (download) - annotate - [select for diffs], Mon Nov 13 13:38:03 2017 UTC (6 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.108: +5 -5 lines
Diff to previous 1.108 (colored) to selected 1.73 (colored)

cmake: updated to 3.9.6

CMake 3.9.6:
* Restore exclusion of "gcc_eh" from implicit link libraries

Revision 1.108 / (download) - annotate - [select for diffs], Mon Nov 6 10:02:03 2017 UTC (6 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.107: +5 -5 lines
Diff to previous 1.107 (colored) to selected 1.73 (colored)

cmake: updated to 3.9.5

Changes in 3.9.5:
* Autogen: Don't add AUTOMOC_MOC_OPTIONS to moc-predefs command

Revision 1.107 / (download) - annotate - [select for diffs], Fri Oct 6 04:35:23 2017 UTC (6 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.106: +5 -5 lines
Diff to previous 1.106 (colored) to selected 1.73 (colored)

cmake: update to 3.9.4

Changes in 3.9.4:
FindBoost: Finish reverting "Simplify search in lists" for 3.9

Revision 1.106 / (download) - annotate - [select for diffs], Tue Sep 26 04:50:50 2017 UTC (6 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.105: +5 -6 lines
Diff to previous 1.105 (colored) to selected 1.73 (colored)

cmake: update to 3.9.3

Changes in 3.9.3 since 3.9.2:
* VS: Do not consider MAP_IMPORTED_CONFIG_ on non-imported targets
  bootstrap: Fix running multiple times in-source
* vim: Remove default setting of expandtab
* FindBoost: Add support for Boost 1.65.0 and 1.65.1 to CMake 3.9
* CTest: fix crash if source file for coverage cannot be found
* Autogen: Backport autogen target dependency as file dependency fix
* Autogen: Tests: Backport tests for _autogen target dependencies

Revision 1.105 / (download) - annotate - [select for diffs], Tue Sep 19 15:58:21 2017 UTC (6 years, 6 months ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.104: +2 -1 lines
Diff to previous 1.104 (colored) to selected 1.73 (colored)

Patch cmake to find boost version 1.65 (i.e., the one in pkgsrc)

Revision 1.104 / (download) - annotate - [select for diffs], Fri Sep 8 07:56:08 2017 UTC (6 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.103: +5 -5 lines
Diff to previous 1.103 (colored) to selected 1.73 (colored)

Changes in 3.9.2 since 3.9.1:
InstallRequiredSystemLibraries: Factor redist name into variable
InstallRequiredSystemLibraries: Find VS 2017 Update 3 redist directory
macOS: Revert default Hi-DPI support in applications
Ninja: Fix support for MSVC with non-English output
Xcode: Revert addition of "outputPaths" to custom command build phase
cmCPackDragNDropGenerator: Add missing include
cmake: Fix --find-package mode with imported targets
Genex: Fix TARGET_PROPERTY value of SOURCES
Android: Update for NDK r16
FindBoost: Revert "Simplify search in lists."
InstallRequiredSystemLibraries: Add support for future VS 2017 toolchains
Tests: Fix RunCMake.GeneratorExpression to run in CMake 3.9
FindOpenMP: Restore OpenMP_FOUND result variable
CUDA: Pass host compiler to nvcc while device linking
VS: Do not reference output assemblies if not possible for CSharp target
VS: Initialize CSharp flags consistently
Autogen: Restore AUTOUIC lookup paths from 3.8.2
Autogen: Update AUTOUIC documentation for search paths
Autogen: Extend AUTOUIC search paths test
Clang: Find version-suffixed LLVM/Clang binutils
FindCygwin: Fix regression when CYGWIN_INSTALL_PATH is already set

Revision 1.103 / (download) - annotate - [select for diffs], Sat Aug 12 21:06:30 2017 UTC (6 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.102: +5 -5 lines
Diff to previous 1.102 (colored) to selected 1.73 (colored)

Changes in 3.9.1 since 3.9.0:

Utilities/Sphinx: Restore compatibility with Sphinx pre-1.2
Help: Silence warning about document not included in toctree
UseSWIG: Fix when Java is enabled as a language
VS: Fix VCTargetsPath detection
Android: Fix support for CMAKE_SYSROOT without CMAKE_SYSROOT_COMPILE
expat: Update script to get Expat 2.2.3
expat: Update CMake build for 2.2.3
Tests: Simplify RunCMake.find_package PackageRoot case regexes
find_*: Disable the PACKAGE_ROOT search path group for CMake 3.9
find_package: Add missing PACKAGE_ROOT_PATH search path implementation.
find_package: Fix PACKAGE_ROOT test to check find_pacakge(CONFIG) mode.
find_package: Split PACKAGE_ROOT tests to work with smaller regex
FindJava: Allow early access version trailing string to be mixed case
FindBoost: pop policy stack before returning
expat 2017-08-02 (97c6bd01)
server: Fix crash on missing cache entries
FindJava: fix hint for windows jre 1.6
Help: Fix module and function names in CMP0069 examples
Autogen: Always create AUTOMOC/AUTOUIC include directory

Revision 1.102 / (download) - annotate - [select for diffs], Wed Jul 19 17:44:34 2017 UTC (6 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.101: +9 -10 lines
Diff to previous 1.101 (colored) to selected 1.73 (colored)

3.9.0:
* The ãà×·isual Studio 14 2015ãàgenerator has been taught about a
change to the ãà××140ãàtoolset made by a VS 2015 update. VS changed
the set of values it understands for the ãàרenerateDebugInformationãàlinker setting that produces the ãàDEBUGãàlinker flag variants.

* ãàפUDAãàis now supported by the Visual Studio Generators for VS
2010 and above. This complements the existing support by the
Makefile Generators and the ãàׯinjaãàgenerator. CUDA 8.0.61 or higher
is recommended due to known bugs in the VS integration by earlier
versions.

* CMake is now aware of the ãàפ++ standardsãàand ãàפ standardsãàand
their associated meta-features for the following ãà×Äompiler idsãà
ãàפrayãà ãà×±GIãà and ãà×¹Lãà

* The ãà×Âdd_library()ãàcommand ãàתMPORTEDãàoption learned to support
Object Libraries.

* All ãà×Çind_ãàcommands now have a ãà×±ACKAGE_ROOTãàsearch path group
that is first in the search heuristics. If a ãà×Çind_ãàcommand is
called from inside a find module, then the CMake variable and
environment variable named ãà×ÀROOTãàare used as prefixes
and are the first set of paths to be searched.

* The ãà×Ênstall(TARGETS)ãàcommand learned a new ãà×°BJECTSãàoption to
specify where to install Object Libraries.

* The ãà×Ênstall(EXPORT)ãàcommand learned how to export Object
Libraries.

* A ãà×£UILD_WITH_INSTALL_NAME_DIRãàtarget property and corresponding
ãàפMAKE_BUILD_WITH_INSTALL_NAME_DIRãàvariable were added to control
whether to use the ãàתNSTALL_NAME_DIRãàtarget property value for
binaries in the build tree. This is for macOS ãà×Ênstall_nameãàas
ãà×£UILD_WITH_INSTALL_RPATHãàis for ãà׳PATHãà
* A ãàפUDA_PTX_COMPILATIONãàtarget property was added to Object
Libraries to support compiling to ãàptxãàfiles instead of host
object files.

* A new ãàרoogleTestãàmodule was added to provide the
ãà×Ètest_add_tests()ãàfunction independently of the ãàקindGTestãàmodule. The function was also updated to support keyword arguments,
with functionality expanded to allow a test name prefix and suffix
to be specified, the dependency on the source files to be optional
and the list of discovered test cases to be returned to the caller.

* The ãàׯinjaãàgenerator has loosened the dependencies of object
compilation. Object compilation now depends only on custom targets
and custom commands associated with libraries on which the objectãàÑÔ
target depends and no longer depends on the libraries themselves.
Source files in dependent targets may now compile without waiting
for their targetsãàdependencies to link.
* Interprocedural optimization (IPO) is now supported for GNU and
Clang compilers using link time optimization (LTO) flags. See the
ãàתNTERPROCEDURAL_OPTIMIZATIONãàtarget property and
ãàפheckIPOSupportedãàmodule.

* The ãà×µARGET_OBJECTSãàãà×Èenerator expressionãàis now supported by
the ãà×Âdd_custom_command()ãàand ãà×Çile(GENERATE)ãàcommands.

Revision 1.101 / (download) - annotate - [select for diffs], Thu Jun 1 20:47:25 2017 UTC (6 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.100: +5 -5 lines
Diff to previous 1.100 (colored) to selected 1.73 (colored)

Changes in 3.8.2 since 3.8.1:
* bootstrap: fix build on mingw-w64
* cmFileCommand: Fix build on mingw-w64
* GNUtoMS: Add search path for VS 2015 environment scripts
* GNUtoMS: Add search path for VS 2017 environment scripts
* FindDevIL: Restore IL_FOUND result variable
* FindOpenSSL: Restore support for crypto-only result
* source_group: Restore TREE support for relative paths
* VS: Fix debugging of C++ executables if CSharp is enabled

Revision 1.100 / (download) - annotate - [select for diffs], Wed May 3 09:33:06 2017 UTC (6 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.99: +5 -5 lines
Diff to previous 1.99 (colored) to selected 1.73 (colored)

Changes in 3.8.1 since 3.8.0:
* FindOpenSSL: Add more library name alternatives
* FindBoost: Restore tolerance of backslashes in paths
* Tests: Fix FindModulesExecuteAll when KDE4 is installed
* Tests: Simplify CMakeOnly.AllFindModules policy settings
* FindBoost: Fix library directory for VS 2017
* CPack/RPM doc: CPACK_RPM_BUILDREQUIRES docs
* source_group: Fix TREE with root that is not current source dir
* FindMatlab: Add support for Matlab 2017a
* VS: Fix project reference inspection in VS IDE
* FindBoost: Allow testing for multiple compiler suffixes
* FindBoost: Support prebuilt Windows binaries from SourceForge
* VS2017: Verify Windows 8.1 SDK before using it

Revision 1.99 / (download) - annotate - [select for diffs], Wed Apr 26 18:19:31 2017 UTC (6 years, 11 months ago) by maya
Branch: MAIN
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored) to selected 1.73 (colored)

cmake: revise netbsd-6 build fix patch as suggested by Brad King
TagRunPath = 0 may cause client code such as cmSystemTools::RemoveRPath
to misbehave.

Define DT_RUNPATH to the expected value (29) instead.

bump pkgrevision

Revision 1.98 / (download) - annotate - [select for diffs], Mon Apr 24 22:48:48 2017 UTC (6 years, 11 months ago) by maya
Branch: MAIN
Changes since 1.97: +3 -2 lines
Diff to previous 1.97 (colored) to selected 1.73 (colored)

cmake: fix build under netbsd-6

don't use DT_RUNPATH if it's not defined
include cstdlib as our patch uses exit

from yancm via pkgsrc-users

Revision 1.97 / (download) - annotate - [select for diffs], Tue Apr 11 20:18:54 2017 UTC (6 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.96: +6 -6 lines
Diff to previous 1.96 (colored) to selected 1.73 (colored)

Changes 3.8.0:
CMake learned to support CSharp (C#) as a first-class language that can be enabled via the project() and enable_language() commands. It is currently supported by the Visual Studio Generators for VS 2010 and above.

C# assemblies and programs can be added just like common C++ targets using the add_library() and add_executable() commands. References between C# targets in the same source tree may be specified by target_link_libraries() like for C++. References to system or 3rd-party assemblies may be specified by the target properties VS_DOTNET_REFERENCE_<refname> and VS_DOTNET_REFERENCES.

More fine tuning of C# targets may be done using target and source file properties. Specifically the target properties related to Visual Studio (VS_*) are worth a look (for setting toolset versions, root namespaces, assembly icons, ...).

CMake learned to support CUDA as a first-class language that can be enabled via the project() and enable_language() commands.
CUDA is currently supported by the Makefile Generators and the Ninja generator on Linux, macOS, and Windows. Support for the Visual Studio IDE is under development but not included in this release.
The NVIDIA CUDA Toolkit compiler (nvcc) is supported.

The Compile Features functionality now offers meta-features that request compiler modes for specific language standard levels (e.g. cxx_std_11). See CMAKE_C_KNOWN_FEATURES and CMAKE_CXX_KNOWN_FEATURES.
The Compile Features functionality is now aware of C++ 17. No specific features are yet enumerated besides the cxx_std_17 meta-feature.
The Compile Features functionality is now aware of the availability of C99 in gcc since version 3.4.

A new minimal platform file for Fuchsia was added.

The CodeBlocks extra generator may now be used to generate with NMake Makefiles JOM.
The Visual Studio Generators for VS 2013 and above learned to support a host=x64 option in the CMAKE_GENERATOR_TOOLSET value (e.g. via the cmake(1) -T option) to request use of a VS 64-bit toolchain on 64-bit hosts.
The Visual Studio Generators learned to treat files passed to target_link_libraries() whose names end in .targets as MSBuild ãà×Õargetsãàfiles to be imported into generated project files.

...more...

Revision 1.96 / (download) - annotate - [select for diffs], Mon Jan 16 08:49:42 2017 UTC (7 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.95: +5 -5 lines
Diff to previous 1.95 (colored) to selected 1.73 (colored)

Changes 3.7.2:
Bug fixes.

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Fri Jan 13 19:33:46 2017 UTC (7 years, 2 months ago) by bsiegert
Branch: pkgsrc-2016Q4
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored) next main 1.95 (colored) to selected 1.73 (colored)

Pullup ticket #5183 - requested by joerg
devel/cmake: build fix

Revisions pulled up:
- devel/cmake/Makefile                                          1.129
- devel/cmake/distinfo                                          1.95
- devel/cmake/patches/patch-Modules_FindCurses.cmake            1.1
- devel/ncurses/builtin.mk                                      1.40

---
   Module Name:	pkgsrc
   Committed By:	joerg
   Date:		Thu Jan  5 22:18:03 UTC 2017

   Modified Files:
   	pkgsrc/devel/ncurses: builtin.mk

   Log Message:
   Drop buildlink-ncurses-fake-libs, it didn't get applied due to a typo
   and it doesn't help with the directory scanning of cmake anyway, since
   that one only looks in the real prefix.

---
   Module Name:	pkgsrc
   Committed By:	joerg
   Date:		Thu Jan  5 22:34:25 UTC 2017

   Modified Files:
   	pkgsrc/devel/cmake: Makefile distinfo
   Added Files:
   	pkgsrc/devel/cmake/patches: patch-Modules_FindCurses.cmake

   Log Message:
   Recognize libgnuform as valid implementation of a form library to match
   devel/ncurses. This is necessary due to cmake's insistance of scanning
   PREFIX/lib directly. Bump revision.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Jan 5 22:34:25 2017 UTC (7 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored) to selected 1.73 (colored)

Recognize libgnuform as valid implementation of a form library to match
devel/ncurses. This is necessary due to cmake's insistance of scanning
PREFIX/lib directly. Bump revision.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Dec 4 08:52:56 2016 UTC (7 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base
Branch point for: pkgsrc-2016Q4
Changes since 1.93: +5 -5 lines
Diff to previous 1.93 (colored) to selected 1.73 (colored)

Changes 3.7.1:
Unknown

Revision 1.93 / (download) - annotate - [select for diffs], Sat Nov 12 07:49:18 2016 UTC (7 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.92: +5 -9 lines
Diff to previous 1.92 (colored) to selected 1.73 (colored)

Some of the more significant changes in CMake 3.7 are:

CMake now supports Cross Compiling for Android with simple toolchain files.
The ãàׯinjaãàgenerator learned to conditionally support Fortran when using a ãà×Ïinjaãàtool that has the necessary features. See generator documentation for details.
The ãà×Êf()ãàcommand gained new boolean comparison operations ãà×­ESS_EQUALãà ãàרREATER_EQUALãà ãà×´TRLESS_EQUALãà ãà×´TRGREATER_EQUALãà ãà×·ERSION_LESS_EQUALãà and ãà×·ERSION_GREATER_EQUALãà
The ãà×Õry_compile()ãàcommand source file signature now honors configuration-specific flags (e.g. ãàפMAKE_<LANG>_FLAGS_DEBUGãà in the generated test project. Previously only the default such flags for the current toolchain were used. See policy ãàפMP0066ãà
ãà×µoolchain filesãàmay now set ãàפMAKE_EXE_LINKER_FLAGS_INITãà ãàפMAKE_SHARED_LINKER_FLAGS_INITãà and ãàפMAKE_MODULE_LINKER_FLAGS_INITãàvariables to initialize the ãàפMAKE_EXE_LINKER_FLAGSãà ãàפMAKE_SHARED_LINKER_FLAGSãà and ãàפMAKE_MODULE_LINKER_FLAGSãàcache entries the first time a language is enabled in a build tree.
CTest now supports test fixtures through the new ãàקIXTURES_SETUPãà ãàקIXTURES_CLEANUPãàand ãàקIXTURES_REQUIREDãàtest properties. When using regular expressions or ãàØärerun-failedãàto limit the tests to be run, a fixtureãàÑÔ setup and cleanup tests will automatically be added to the execution set if any test requires that fixture.
We no longer provide Linux i386 binaries for download from ãà×Ämake.orgãàfor new versions of CMake.
Vim support files ãà×Ämake-indent.vimãà ãà×Ämake-syntax.vimãà and ãà×Ämake-help.vimãàhave been removed in favor of the files now provided from the vim-cmake-syntax project.
Support for building CMake itself with some compilers was dropped:
Visual Studio 7.1 and 2005 ãàsuperseded by VS 2008 and above
MinGW.org mingw32 ãàsuperseded by MSYS2 mingw32 and mingw64
CMake still supports generating build systems for other projects using these compilers.

Revision 1.92 / (download) - annotate - [select for diffs], Fri Nov 4 20:41:09 2016 UTC (7 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.91: +5 -5 lines
Diff to previous 1.91 (colored) to selected 1.73 (colored)

Changes in 3.6.3 since 3.6.2:
FindHDF5: Restore pre-3.6 behavior of finding only C by default CMake 3.6.3
cmake-gui: Do not remove library paths for Qt5 plugins.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Sep 12 17:22:45 2016 UTC (7 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.90: +5 -5 lines
Diff to previous 1.90 (colored) to selected 1.73 (colored)

Changes in 3.6.2 since 3.6.1:

Ben Boeckel (3):
      Intel-C: declare support for gnu11
      Intel-C: support gnu89 and gnu99 extension flags
      Intel-C: standard flags are also supported in 12.0

Brad King (11):
      Add script to update curl from upstream
      curl: Update script to get curl 7.50.1
      curl: Remove CMake-specific README
      VS: Fix VS 2015 .vcxproj debug setting for Windows7.1SDK toolset
      GetPrerequisites: Fix regression in gp_resolved_file_type
      Fortran: Fix .mod file comparison for Intel 16 format
      VS: Fix VS 2015 .vcxproj debug setting for v80 toolset
      FindHDF5: Fix regression in providing HDF5_IS_PARALLEL
      FindHDF5: Fix regression in finding hdf5hl_fortran
      curl: Backport certificate reuse fix from 7.50.2
      CMake 3.6.2

Chuck Atkins (2):
      FindHDF5: Make sure compile definition vars keep the -D flag
      CrayLinuxEnvironment: Add alternative methods to get version info

Curl Upstream (2):
      curl 2015-08-11 (1a7f66a3)
      curl 2016-08-03 (f2cb3a01)

Fujii Hironori (1):
      VS: Fix out-of-bounds write on empty Nsight Tegra version

Konstantin Sinitsyn (1):
      FindProtobuf: Restore support for PROTOBUF_IMPORT_DIRS

Revision 1.90 / (download) - annotate - [select for diffs], Wed Aug 3 15:53:38 2016 UTC (7 years, 7 months ago) by prlw1
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) to selected 1.73 (colored)

According to Brad King, cmake developer, who kindly reviewed our patches:

The SIZEOF_VOID_P macro is defined by code in CMakeLists.txt using
the value of CMAKE_SIZEOF_VOID_P.  The former is a C++ preprocessor
macro.  The latter is only visible in CMake code.

Revision 1.89 / (download) - annotate - [select for diffs], Thu Jul 28 17:44:43 2016 UTC (7 years, 8 months ago) by prlw1
Branch: MAIN
Changes since 1.88: +8 -8 lines
Diff to previous 1.88 (colored) to selected 1.73 (colored)

Update cmake to 3.6.1

CMake 3.6 Release Notes
***********************

Changes made since CMake 3.5 include the following.

New Features
============

Generators
----------

* The :generator:`Ninja` generator learned to produce phony targets
  of the form ``sub/dir/all`` to drive the build of a subdirectory.
  This is equivalent to ``cd sub/dir; make all`` with
  :ref:`Makefile Generators`.

* The :generator:`Ninja` generator now includes system header files in build
  dependencies to ensure correct re-builds when system packages are updated.

* The :generator:`Visual Studio 14 2015` generator learned to support the
  Clang/C2 toolsets, e.g. with the ``-T v140_clang_3_7`` option.
  This feature is experimental.

Commands
--------

* The :command:`add_custom_command` and :command:`add_custom_target` commands
  learned how to use the :prop_tgt:`CROSSCOMPILING_EMULATOR` executable
  target property.

* The :command:`install` command learned a new ``EXCLUDE_FROM_ALL`` option
  to leave installation rules out of the default installation.

* The :command:`list` command gained a ``FILTER`` sub-command to filter
  list elements by regular expression.

* The :command:`string(TIMESTAMP)` and :command:`file(TIMESTAMP)`
  commands gained support for the ``%s`` placeholder.  This is
  the number of seconds since the UNIX Epoch.

Variables
---------

* A :variable:`CMAKE_DEPENDS_IN_PROJECT_ONLY` variable was introduced
  to tell :ref:`Makefile Generators` to limit dependency scanning only
  to files in the project source and build trees.

* A new :variable:`CMAKE_HOST_SOLARIS` variable was introduced to
  indicate when CMake is running on an Oracle Solaris host.

* A :variable:`CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES` variable was
  added for use by toolchain files to specify system include directories
  to be appended to all compiler command lines.

* The :variable:`CMAKE_<LANG>_STANDARD_LIBRARIES` variable is now documented.
  It is intended for use by toolchain files to specify system libraries to be
  added to all linker command lines.

* A :variable:`CMAKE_NINJA_OUTPUT_PATH_PREFIX` variable was introduced
  to tell the :generator:`Ninja` generator to configure the generated
  ``build.ninja`` file for use as a ``subninja``.

* A :variable:`CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable was
  added for use by toolchain files to specify platform-specific
  variables that must be propagated by the :command:`try_compile`
  command into test projects.

* A :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` variable was added
  to optionally tell the :command:`try_compile` command to build
  a static library instead of an executable.  This is useful for
  cross-compiling toolchains that cannot link binaries without
  custom flags or scripts.

Properties
----------

* A :prop_tgt:`DEPLOYMENT_REMOTE_DIRECTORY` target property was introduced
  to tell the :generator:`Visual Studio 9 2008` and
  :generator:`Visual Studio 8 2005` generators to generate the "remote
  directory" for WinCE project deployment and debugger settings.

* A :prop_tgt:`<LANG>_CLANG_TIDY` target property and supporting
  :variable:`CMAKE_<LANG>_CLANG_TIDY` variable were introduced to tell the
  :ref:`Makefile Generators` and the :generator:`Ninja` generator to run
  ``clang-tidy`` along with the compiler for ``C`` and ``CXX`` languages.

* A :prop_test:`TIMEOUT_AFTER_MATCH` test property was introduced to
  optionally tell CTest to enforce a secondary timeout after matching
  certain output from a test.

* A :prop_tgt:`VS_CONFIGURATION_TYPE` target property was introduced
  to specify a custom project file type for :ref:`Visual Studio Generators`
  supporting VS 2010 and above.

* A :prop_dir:`VS_STARTUP_PROJECT` directory property was introduced
  to specify for :ref:`Visual Studio Generators` the default startup
  project for generated solutions (``.sln`` files).

Modules
-------

* The :module:`CMakePushCheckState` module now pushes/pops/resets the variable
  ``CMAKE_EXTRA_INCLUDE_FILE`` used in :module:`CheckTypeSize`.

* The :module:`ExternalProject` module leared the ``GIT_SHALLOW 1``
  option to perform a shallow clone of a Git repository.

* The :module:`ExternalProject` module learned to initialize Git submodules
  recursively and also to initialize new submodules on updates.  Use the
  ``GIT_SUBMODULES`` option to restrict which submodules are initalized and
  updated.

* The :module:`ExternalProject` module leared the ``DOWNLOAD_NO_EXTRACT 1``
  argument to skip extracting the file that is downloaded (e.g., for
  self-extracting shell installers or ``.msi`` files).

* The :module:`ExternalProject` module now uses ``TLS_VERIFY`` when fetching
  from git repositories.

* The :module:`FindBLAS` and :module:`FindLAPACK` modules learned to
  support `OpenBLAS <http://www.openblas.net>`__.

* The :module:`FindCUDA` module learned to find the ``cublas_device`` library.

* The :module:`FindGTest` module ``gtest_add_tests`` function now causes
  CMake to automatically re-run when test sources change so that they
  can be re-scanned.

* The :module:`FindLTTngUST` module was introduced to find the LTTng-UST
  library.

* The :module:`FindPkgConfig` module learned to optionally create imported
  targets for the libraries it has found.

* The :module:`FindProtobuf` module learned to provide a ``Protobuf_VERSION``
  variable and check the version number requested in a :command:`find_package`
  call.

* The :module:`InstallRequiredSystemLibraries` module learned a new
  ``CMAKE_INSTALL_UCRT_LIBRARIES`` option to enable app-local deployment
  of the Windows Universal CRT libraries with Visual Studio 2015.

Platforms
---------

* The Clang compiler is now supported on CYGWIN.

* Support was added for the Bruce C Compiler with compiler id ``Bruce``.

CTest
-----

* The :command:`ctest_update` command now looks at the
  :variable:`CTEST_GIT_INIT_SUBMODULES` variable to determine whether
  submodules should be updated or not before updating.

* The :command:`ctest_update` command will now synchronize submodules on an
  update. Updates which add submodules or change a submodule's URL will now be
  pulled properly.

CPack
-----

* The :module:`CPackDeb` module learned how to handle ``$ORIGIN``
  in ``CMAKE_INSTALL_RPATH`` when :variable:`CPACK_DEBIAN_PACKAGE_SHLIBDEPS`
  is used for dependency auto detection.

* The :module:`CPackDeb` module learned how to generate ``DEBIAN/shlibs``
  contorl file when package contains shared libraries.

* The :module:`CPackDeb` module learned how to generate ``DEBIAN/postinst`` and
  ``DEBIAN/postrm`` files if the package installs libraries in
  ldconfig-controlled locations (e.g. ``/lib/``, ``/usr/lib/``).

* The :module:`CPackDeb` module learned how to generate dependencies between
  Debian packages if multi-component setup is used and
  :variable:`CPACK_COMPONENT_<compName>_DEPENDS` variables are set.
  For backward compatibility this feature is disabled by default.
  See :variable:`CPACK_DEBIAN_ENABLE_COMPONENT_DEPENDS`.

* The :module:`CPackDeb` module learned how to set custom package file names
  including how to generate properly-named Debian packages::

    <PackageName>_<VersionNumber>-<DebianRevisionNumber>_<DebianArchitecture>.deb

  For backward compatibility this feature is disabled by default. See
  :variable:`CPACK_DEBIAN_FILE_NAME` and
  :variable:`CPACK_DEBIAN_<COMPONENT>_FILE_NAME`.

* The :module:`CPackDeb` module learned how to set the package release number
  (``DebianRevisionNumber`` in package file name when used in combination with
  ``DEB-DEFAULT`` value set by :variable:`CPACK_DEBIAN_FILE_NAME`).  See
  :variable:`CPACK_DEBIAN_PACKAGE_RELEASE`.

* The :module:`CPackDeb` module learned how to set the package architecture
  per-component.  See :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_ARCHITECTURE`.

* The :module:`CPackDMG` module learned a new option to tell the CPack
  ``DragNDrop`` generaor to skip the ``/Applications`` symlink.
  See the :variable:`CPACK_DMG_DISABLE_APPLICATIONS_SYMLINK` variable.

* The :module:`CPackIFW` module gained a new
  :command:`cpack_ifw_update_repository` command to update a QtIFW-specific
  repository from a remote repository.

* The :module:`CPackRPM` module learned how to set RPM ``dist`` tag as part of
  RPM ``Release:`` tag when enabled (mandatory on some Linux distributions for
  e.g. on Fedora).
  See :variable:`CPACK_RPM_PACKAGE_RELEASE_DIST`.

* The :module:`CPackRPM` module learned how to set default values for owning
  user/group and file/directory permissions of package content.
  See :variable:`CPACK_RPM_DEFAULT_USER`, :variable:`CPACK_RPM_DEFAULT_GROUP`,
  :variable:`CPACK_RPM_DEFAULT_FILE_PERMISSIONS`,
  :variable:`CPACK_RPM_DEFAULT_DIR_PERMISSIONS` and their per component
  counterparts.

* The :module:`CPackRPM` module learned how to set user defined package file
  names, how to specify that rpmbuild should decide on file name format as
  well as handling of multiple rpm packages generated by a single user defined
  spec file.
  See :variable:`CPACK_RPM_PACKAGE_NAME` and
  :variable:`CPACK_RPM_<component>_PACKAGE_NAME`.

* The :module:`CPackRPM` module learned how to correctly handle symlinks
  that are pointing outside generated packages.

Other
-----

* The :manual:`Compile Features <cmake-compile-features(7)>` functionality
  is now aware of features supported by Intel C++ compilers versions 12.1
  through 16.0 on UNIX platforms.

Deprecated and Removed Features
===============================

* The :module:`CMakeForceCompiler` module and its macros are now deprecated.
  See module documentation for an explanation.

* The :command:`find_library`, :command:`find_path`, and :command:`find_file`
  commands no longer search in installation prefixes derived from the ``PATH``
  environment variable on non-Windows platforms.  This behavior was added in
  CMake 3.3 to support Windows hosts but has proven problematic on UNIX hosts.
  Users that keep some ``<prefix>/bin`` directories in the ``PATH`` just for
  their tools do not necessarily want any supporting ``<prefix>/lib``
  directories searched.  One may set the ``CMAKE_PREFIX_PATH`` environment
  variable with a :ref:`;-list <CMake Language Lists>` of prefixes that are
  to be searched.

* The :generator:`Visual Studio 7 .NET 2003` generator is now
  deprecated and will be removed in a future version of CMake.

* The :generator:`Visual Studio 7` generator (for VS .NET 2002) has been
  removed.  It had been deprecated since CMake 3.3.

* The :generator:`Visual Studio 6` generator has been removed.
  It had been deprecated since CMake 3.3.

Other Changes
=============

* The precompiled OS X binary provided on ``cmake.org`` now requires
  OS X 10.7 or newer.

* On Linux and FreeBSD platforms, when building CMake itself from source and
  not using a system-provided libcurl, OpenSSL is now used by default if it is
  found on the system.  This enables SSL/TLS support for commands supporting
  network communication via ``https``, such as :command:`file(DOWNLOAD)`,
  :command:`file(UPLOAD)`, and :command:`ctest_submit`.

* The :manual:`cmake(1)` ``--build`` command-line tool now rejects multiple
  ``--target`` options with an error instead of silently ignoring all but the
  last one.

* :prop_tgt:`AUTOMOC` now diagnoses name collisions when multiple source
  files in different directories use ``#include <moc_foo.cpp>`` with the
  same name (because the generated ``moc_foo.cpp`` files would collide).

* The :module:`FindBISON` module ``BISON_TARGET`` macro now supports
  special characters by passing the ``VERBATIM`` option to internal
  :command:`add_custom_command` calls.  This may break clients that
  added escaping manually to work around the bug.

* The :module:`FindFLEX` module ``FLEX_TARGET`` macro now supports
  special characters by passing the ``VERBATIM`` option to internal
  :command:`add_custom_command` calls.  This may break clients that
  added escaping manually to work around the bug.

* The :module:`FindProtobuf` module input and output variables were all renamed
  from ``PROTOBUF_`` to ``Protobuf_`` for consistency with other find modules.
  Input variables of the old case will be honored if provided, and output
  variables of the old case are always provided.

* The :module:`CPackRPM` module now supports upper cased component
  names in per component CPackRPM specific variables.
  E.g. component named ``foo`` now expects component specific
  variable to be ``CPACK_RPM_FOO_PACKAGE_NAME`` while before
  it expected ``CPACK_RPM_foo_PACKAGE_NAME``.
  Upper cased component name part in variables is compatible
  with convention used for other CPack variables.
  For back compatibility old format of variables is still valid
  and preferred if both versions of variable are set, but the
  preferred future use is upper cased component names in variables.
  New variables that will be added to CPackRPM in later versions
  will only support upper cased component variable format.

* The CPack NSIS generator's configuration file template was fixed to
  quote the path to the uninstaller tool used by the
  :variable:`CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL` option.
  This avoids depending on an insecure Windows feature to run an
  uninstaller tool with a space in the path.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Apr 17 10:10:04 2016 UTC (7 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.87: +5 -5 lines
Diff to previous 1.87 (colored) to selected 1.73 (colored)

Update cmake to 3.5.2.

Changes not found.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Apr 7 05:24:00 2016 UTC (7 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored) to selected 1.73 (colored)

Changes 3.5.1:
Bug fix release.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Mar 14 10:49:55 2016 UTC (8 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.85: +7 -7 lines
Diff to previous 1.85 (colored) to selected 1.73 (colored)

Changes 3.5.0:
The cmake-gui(1) gained options to control warnings about deprecated functionality.
The cmake-gui(1) learned an option to set the toolset to be used with VS IDE and Xcode generators, much like the existing -T option to cmake(1).
The cmake-gui(1) gained a Regular Expression Explorer which may be used to create and evaluate regular expressions in real-time. The explorer window is available via the Tools menu.
The -Wdev and -Wno-dev cmake(1) options now also enable and suppress the deprecated warnings output by default.
The suppression of developer warnings as errors can now be controlled with the new -Werror=dev and -Wno-error=dev cmake(1) options.
The cmake(1) -E command-line tools copy, copy_if_different, copy_directory, and make_directory learned to support multiple input files or directories.
The cmake_parse_arguments() command is now implemented natively. The CMakeParseArguments module remains as an empty placeholder for compatibility.
The install(DIRECTORY) command learned to support generator expressions in the list of directories.
The CMAKE_ERROR_DEPRECATED variable can now be set using the -Werror=deprecated and -Wno-error=deprecated cmake(1) options.
The CMAKE_WARN_DEPRECATED variable can now be set using the -Wdeprecated and -Wno-deprecated cmake(1) options.
The VS_GLOBAL_<variable> target property is now implemented for VS 2010 and above. Previously it worked only in VS 2008 and below.
The ExternalProject module learned a new GIT_REMOTE_NAME option to control the git clone --origin value.
The FindBoost module now provides imported targets such as Boost::boost and Boost::filesystem.
The FindFLEX module FLEX_TARGET macro learned a new DEFINES_FILE option to specify a custom output header to be generated.
The FindGTest module now provides imported targets.
The FindGTK2 module, when GTK2_USE_IMPORTED_TARGETS is enabled, now sets GTK2_LIBRARIES to contain the list of imported targets instead of the paths to the libraries. Moreover it now sets a new GTK2_TARGETS variable containing all the targets imported.
The FindOpenMP module learned to support Clang.
The FindOpenSSL module gained a new OPENSSL_MSVC_STATIC_RT option to search for libraries using the MSVC static runtime.
The FindPNG module now provides imported targets.
The FindTIFF module now provides imported targets.
A FindXalanC module was introduced to find the Apache Xalan-C++ XSL transform processing library.
The FindXercesC module now provides imported targets.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Jan 26 16:33:38 2016 UTC (8 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.84: +5 -5 lines
Diff to previous 1.84 (colored) to selected 1.73 (colored)

Changes 3.4.3:
* VS: Do not fail on Windows 10 with VS 2015 if no SDK is available

Revision 1.84 / (download) - annotate - [select for diffs], Mon Jan 25 11:22:40 2016 UTC (8 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.83: +5 -5 lines
Diff to previous 1.83 (colored) to selected 1.73 (colored)

Changes 3.4.2:
CMakeDetermineCompilerId: Fix VS Itanium platform name
VS: Do not select a partial Windows 10 SDK folder
VS: Fix VS 2015 .vcxproj file value for GenerateDebugInformation
cmSystemTools: Add VersionCompareEqual helper
VS: Fix Windows 10 SDK version selection
FindJava: Fix typos in IdlJ and JarSigner component implementation
AIX,HP-UX: Fix RPATH handling when CMP0065 is set to NEW

Revision 1.83 / (download) - annotate - [select for diffs], Fri Dec 11 19:23:22 2015 UTC (8 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored) to selected 1.73 (colored)

initscr is supposed to return NULL on error. Some versions of ncurses at
least like to play nanny and error out internally, but catch those
errors explicitly. Stops segfault when using NetBSD curses with invalid
TERM settings.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Dec 7 09:30:32 2015 UTC (8 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.81: +5 -5 lines
Diff to previous 1.81 (colored) to selected 1.73 (colored)

Changes in 3.4.1 since 3.4.0:
     Fix auto export symbols for Dlls containing /bigobj for 64bit builds.
      Cray: Implement Fortran compiler version detection
      MSVC: Fix linking with /MANIFEST:NO option
      Make C and C++ default dialect detection robust to advanced optimizations
      FindGTest: Refactor test type checks to avoid cases triggering CMP0064
      Android: Restore generation of non-versioned soname
      Project: Guess default standard dialect if compiler was forced
      Revert "Disable shared library support when compiler links statically"
      Tests: Add case for add_subdirectory inside a function
      Tests: Add case for unmatched cmake_policy({PUSH,POP})
      Tests: Add case for package version file unmatched policy scope
      cmState: Skip variable scope snapshots to avoid call stack duplicates
      cmMakefile: Clarify purpose of method that pops a scope snapshot
      cmMakefile: Remove unused PolicyPushPop interfaces
      cmLocalGenerator: Use ScopePushPop RAII class to manage local variable scopes
      cmState: Enforce policy scope balancing around variable scopes
      cmLinkedTree: Rename 'Extend' method to 'Push'
      cmLinkedTree: Add Pop method
      cmListFileCache: Implement cmListFileBacktrace ctor/dtor out-of-line
      cmState: Avoid accumulating policy stack storage for short-lived scopes
      cmState: Avoid accumulating snapshot storage for short-lived scopes
      cmOrderDirectories: Factor out directory comparison
      cmOrderDirectories: Reduce repeat realpath() calls
      Include `sys/types.h` header to get `mode_t`
      Add NIOS2 CPU support
      cmELF: Avoid divide by zero if there are no dynamic section entries

Revision 1.81 / (download) - annotate - [select for diffs], Tue Nov 17 12:12:11 2015 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.80: +6 -12 lines
Diff to previous 1.80 (colored) to selected 1.73 (colored)

Update cmake to 3.4.0:

CMake 3.4 Release Notes
***********************

Changes made since CMake 3.3 include the following.

New Features
============

Generators
----------

* The :generator:`Visual Studio 14 2015` generator learned to select
  a Windows 10 SDK based on the value of the :variable:`CMAKE_SYSTEM_VERSION`
  variable and the SDKs available on the host.

* CMake learned rudimentary support for the Apple Swift language.  When using
  the :generator:`Xcode` generator with Xcode 6.1 or higher, one may enable
  the ``Swift`` language with the :command:`enable_language` command or the
  :command:`project` command (this is an error with other generators or when
  Xcode is too old).  Then one may list ``.swift`` source files in targets
  for compilation.

Commands
--------

* The :command:`find_program` command learned a ``NAMES_PER_DIR``
  option to consider all given ``NAMES`` in each directory before
  moving on to the next directory.

* The :command:`get_filename_component` command learned a new ``BASE_DIR``
  subcommand.  This is used to specify a base directory when calculating an
  absolute path from a relative path.

* The :command:`if` command learned a new ``TEST`` operator that evaluates
  to true if a given test name has been defined by the :command:`add_test`
  command.  See policy :policy:`CMP0064`.

* The :command:`install(DIRECTORY)` command ``DESTINATION`` option learned to
  support :manual:`generator expressions <cmake-generator-expressions(7)>`.

* The :command:`install(FILES)` command ``DESTINATION`` option learned to
  support :manual:`generator expressions <cmake-generator-expressions(7)>`.

* The :command:`string` command learned a new ``APPEND`` subcommand.

Variables
---------

* The :ref:`Makefile Generators` and the :generator:`Ninja` generator
  learned to add compiler launcher tools like distcc and ccache along
  with the compiler for ``C`` and ``CXX`` languages.  See the
  :variable:`CMAKE_<LANG>_COMPILER_LAUNCHER` variable and
  :prop_tgt:`<LANG>_COMPILER_LAUNCHER` target property for details.

* New :variable:`CMAKE_LINK_SEARCH_START_STATIC` and
  :variable:`CMAKE_LINK_SEARCH_END_STATIC` variables were
  introduced to initialize the
  :prop_tgt:`LINK_SEARCH_START_STATIC` and
  :prop_tgt:`LINK_SEARCH_END_STATIC` target properties,
  respectively.

Properties
----------

* :ref:`Visual Studio Generators` learned to support additonal
  target properties to customize projects for NVIDIA Nsight
  Tegra Visual Studio Edition:

  * :prop_tgt:`ANDROID_ANT_ADDITIONAL_OPTIONS`
  * :prop_tgt:`ANDROID_ARCH`
  * :prop_tgt:`ANDROID_ASSETS_DIRECTORIES`
  * :prop_tgt:`ANDROID_JAR_DEPENDENCIES`
  * :prop_tgt:`ANDROID_JAR_DIRECTORIES`
  * :prop_tgt:`ANDROID_JAVA_SOURCE_DIR`
  * :prop_tgt:`ANDROID_NATIVE_LIB_DEPENDENCIES`
  * :prop_tgt:`ANDROID_NATIVE_LIB_DIRECTORIES`
  * :prop_tgt:`ANDROID_PROCESS_MAX`
  * :prop_tgt:`ANDROID_PROGUARD`
  * :prop_tgt:`ANDROID_PROGUARD_CONFIG_PATH`
  * :prop_tgt:`ANDROID_SECURE_PROPS_PATH`
  * :prop_tgt:`ANDROID_SKIP_ANT_STEP`
  * :prop_tgt:`ANDROID_STL_TYPE`

* The :prop_tgt:`ARCHIVE_OUTPUT_DIRECTORY`,
  :prop_tgt:`LIBRARY_OUTPUT_DIRECTORY`, and
  :prop_tgt:`RUNTIME_OUTPUT_DIRECTORY` target properties learned to
  support :manual:`generator expressions <cmake-generator-expressions(7)>`.

* The :prop_tgt:`SOURCE_DIR` and :prop_tgt:`BINARY_DIR` target properties
  were introduced to allow project code to query where a target is defined.

* The :prop_tgt:`OUTPUT_NAME` target property and its variants learned to
  support :manual:`generator expressions <cmake-generator-expressions(7)>`.

* A :prop_gbl:`TARGET_MESSAGES` global property was added to tell the
  :ref:`Makefile Generators` whether to generate commands to print output
  after each target is completed.

* On Windows with MS-compatible tools, CMake learned to optionally
  generate a module definition (``.def``) file for ``SHARED`` libraries.
  See the :prop_tgt:`WINDOWS_EXPORT_ALL_SYMBOLS` target property.

Modules
-------

* The :module:`ExternalProject` module :command:`ExternalProject_Add`
  function ``GIT_SUBMODULES`` option now also limits the set of
  submodules that are initialized in addition to the prior behavior
  of limiting the set of submodules that are updated.

* The :module:`ExternalProject` module learned new ``USES_TERMINAL``
  arguments for giving steps exclusive terminal access.  This is
  useful with the :generator:`Ninja` generator to monitor CMake
  superbuild progress and prevent CPU oversubscription.

* The :module:`FindBISON` module ``BISON_TARGET`` macro learned a
  new ``DEFINES_FILE`` option to specify a custom output header
  to be generated.

* The :module:`FindHDF5` module learend a new ``HDF5_PREFER_PARALLEL``
  option allowing users to specify that a parallel HDF5 tool is
  preferred if both are available.

* The :module:`FindIce` module now provides imported targets.

* The :module:`FindJava` module learned to optionally find
  the ``idlj`` and ``jarsigner`` tools.

* The :module:`FindOpenSSL` module now provides imported targets.

* The :module:`FindOpenSSL` module learned a new ``OPENSSL_USE_STATIC_LIBS``
  option to search only for static libraries.

* The :module:`FindPkgConfig` learned a new :command:`pkg_get_variable`
  command which may be used to query for arbitrary variables from a package
  (such as for related tools or data and plugin install paths).

* The :module:`FindProtobuf` module gained a new
  :command:`protobuf_generate_python` function to generate python
  sources from ``.proto`` files.

* The :module:`FindTIFF` module learned to search separately for
  debug and release variants.

* The :module:`FindwxWidgets` module learned to support version requests.

* The :module:`FindXercesC` module learned to search separately for
  debug and release variants.

* The :module:`FindZLIB` module learned to search separately for
  debug and release variants.

* The :module:`GNUInstallDirs` module learned special default values
  for certain installation prefixes according to the `GNU Coding
  Standards`_ and the `Filesystem Hierarchy Standard`_.

* The :module:`UseJava` module ``add_jar`` function learned
  to support response files (e.g. ``@srcs.txt``) for source
  specification.

* The :module:`UseJava` module ``install_jar`` function learned
  new ``DESTINATION`` and ``COMPONENT`` options to specify
  the corresponding :command:`install` command options.

* The :module:`UseJava` module gained a new ``create_javah``
  function to create C headers from Java classes.

.. _`GNU Coding Standards`: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
.. _`Filesystem Hierarchy Standard`: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html

Generator Expressions
---------------------

* A new ``$<SHELL_PATH:...>``
  :manual:`generator expression <cmake-generator-expressions(7)>`
  has been added.

CTest
-----

* CTest learned to optionally measure the CPU load during parallel
  testing and avoid starting tests that may cause the load to exceed
  a given threshold.  See the :manual:`ctest(1)` command ``--test-load``
  option, the ``TestLoad`` setting of the :ref:`CTest Test Step`,
  the :variable:`CTEST_TEST_LOAD` variable, and the ``TEST_LOAD``
  option of the :command:`ctest_test` command.

* :manual:`ctest(1)` learned options
  ``--test-output-size-passed`` and ``--test-output-size-failed``
  to customize the limit on test output size submitted when
  running as a :ref:`Dashboard Client`.

CPack
-----

* The :module:`CPackDeb` module learned to set package dependencies
  per component.  See variables:

  * :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_BREAKS`
  * :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_CONFLICTS`
  * :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_ENHANCES`
  * :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_PREDEPENDS`
  * :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_PROVIDES`
  * :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_RECOMMENDS`
  * :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_REPLACES`
  * :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_SUGGESTS`

* The :module:`CPack` module learned to package empty directories.

* The :module:`CPack` module gained a new setting, ``CPACK_VERBATIM_VARIABLES``,
  which can be used to ensure the cpack program receives the settings' values
  exactly as they were set, even if they contain CMake-special characters.
  For compatibility, it's off by default.

Other
-----

* The :manual:`Compile Features <cmake-compile-features(7)>` functionality
  is now aware of features supported by GNU C compilers on Windows.

* CMake learned to honor ``*.manifest`` source files with MSVC tools.
  Manifest files named as sources of ``.exe`` and ``.dll`` targets
  will be merged with linker-generated manifests and embedded in the
  binary.

* The `Concurrent Fortran 77 <https://ccur.com>`__ compiler is now supported.
  Its :variable:`compiler id <CMAKE_<LANG>_COMPILER_ID>` is ``CCur``.

* :manual:`cmake(1)` gained a new ``--trace-expand`` command line option
  that is like ``--trace`` but expands variable references in the output.

Deprecated and Removed Features
===============================

* The :module:`CMakeExpandImportedTargets` module is now documented
  as deprecated.  See module documentation for an explanation.

* The :variable:`CMAKE_USE_RELATIVE_PATHS` variable no longer has any
  effect.  Previously it was partially implemented and unreliable.

Other Changes
=============

* The :module:`CheckFunctionExists`, :module:`CheckLibraryExists`,
  :module:`CheckSymbolExists`, and :module:`FindThreads` modules learned to
  work in environments where only CXX is enabled.

* The :module:`CPackDeb` module now correctly excludes symlinks during package
  checksum calculation.

* The :module:`CPackDeb` no longer uses fakeroot and system tar program for
  packaging.

* The :module:`CPack` module no longer mangles settings with CMake-special
  characters when they're used as defaults for other settings. The macro
  ``cpack_set_if_not_set``, which was responsible for this, is now deprecated.

* CMake no longer links executables with flags to export symbols
  unless the :prop_tgt:`ENABLE_EXPORTS` target property is set.
  See policy :policy:`CMP0065`.

* The ``SONAME`` field is no longer set for ``MODULE`` libraries
  created with the :command:`add_library` command.  ``MODULE``
  libraries are meant for explicit dynamic loading at runtime.
  They cannot be linked so ``SONAME`` is not useful.

* The internal :variable:`CMAKE_<LANG>_COMPILE_OBJECT` rule variable now
  substitutes compiler include flags in a separate ``<INCLUDES>`` placeholder
  instead of the main ``<FLAGS>`` placeholder.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Nov 3 03:27:19 2015 UTC (8 years, 4 months ago) by agc
Branch: MAIN
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored) to selected 1.73 (colored)

Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.79 / (download) - annotate - [select for diffs], Tue Sep 29 08:34:14 2015 UTC (8 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.78: +4 -4 lines
Diff to previous 1.78 (colored) to selected 1.73 (colored)

Update to 3.3.2:

Changes in 3.3.2 since 3.3.1:

Brad King (2):
     Makefile: Print color escapes only when necessary
     CMake 3.3.2

Chuck Atkins (1):
     find_*: Fix search order when the environment duplicates some HINTS

Daniel Pfeifer (3):
     cmExtra{Kate,SublimeText}Generator: Remove unused cmXMLSafe includes
     cmCTest{BZR,GIT,P4}: Remove unused cmXMLSafe includes
     CTest: Fix XML double-encoding cases

Matt McCormick (1):
     CMakeDetermine{C,CXX}Compiler: Avoid if() auto-dereferene in quoted arguments

Revision 1.78 / (download) - annotate - [select for diffs], Tue Sep 15 13:08:37 2015 UTC (8 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) to selected 1.73 (colored)

Depend on ncurses for !NetBSD and NetBSD before 6.0. Do not force
ncurses on the cmake side. Avoids picking up ncurses from pkgsrc when it
is installed, but not intended to be used by cmake.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Sep 12 16:46:11 2015 UTC (8 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.76: +5 -5 lines
Diff to previous 1.76 (colored) to selected 1.73 (colored)

Add URLs to upstream bug reports.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Sep 12 15:15:49 2015 UTC (8 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.75: +5 -1 lines
Diff to previous 1.75 (colored) to selected 1.73 (colored)

Remove the need for ncurses, just a curses with libform is enough.
Bump revision.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Aug 20 11:35:33 2015 UTC (8 years, 7 months ago) by ryoon
Branch: MAIN
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored) to selected 1.73 (colored)

Update to 3.3.1

Changelog:
Changes in 3.3.1 since 3.3.0:

Ben Boeckel (1):
      ctest: fix add_subdirectory() crash

Brad King (3):
      add_subdirectory: Fix error message on missing CMakeLists.txt (#15680)
      Fortran: Store detected compiler version persistently (#15684)
      CMake 3.3.1

Gregor Jasny (1):
      Xcode: Quote strings containing a tilde (#15672)

Revision 1.74 / (download) - annotate - [select for diffs], Sun Jul 26 23:10:47 2015 UTC (8 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.73: +5 -5 lines
Diff to previous 1.73 (colored)

Update to 3.3.0:

I am proud to announce that CMake 3.3.0 is now available for download.

Release notes appear are published at
  http://www.cmake.org/cmake/help/v3.3/release/3.3.html

Some of the more significant features of CMake 3.3 are:

* The "if()" command learned a new "IN_LIST" operator that evaluates
  to true if a given element is contained in a named list.

* The "add_dependencies()" command learned to allow dependencies to
  be added to *interface libraries*. Dependencies added to an
  interface library are followed transitively in its place since the
  target itself does not build.

* The "find_library()", "find_path()", and "find_file()" commands
  now search in installation prefixes derived from the "PATH"
  environment variable.

* The "<LANG>_VISIBILITY_PRESET" and "VISIBILITY_INLINES_HIDDEN"
  target properties now affect compilation in sources of all target
  types.  See policy "CMP0063".

* A "<LANG>_INCLUDE_WHAT_YOU_USE" target property and supporting
  "CMAKE_<LANG>_INCLUDE_WHAT_YOU_USE" variable were introduced to tell
  the *Makefile Generators* and the "Ninja" generator to run "include-
  what-you-use" along with the compiler for "C" and "CXX" languages.

Deprecated and Removed Features:

* The "ctest_build()" and "build_command()" commands no longer tell
  "make" tools to ignore errors with the "-i" option. Previously this
  was done for *Makefile Generators* but not others. See policy
  "CMP0061".

* The "Visual Studio 7" generator (.NET 2002) is now deprecated and
  will be removed in a future version of CMake.

* The "Visual Studio 6" generator is now deprecated and will be
  removed in a future version of CMake.

* The "add_definitions()" command no longer causes a "DEFINITIONS"
  directory property to be populated. See policy "CMP0059".

Revision 1.73 / (download) - annotate - [selected], Fri Jun 12 18:50:03 2015 UTC (8 years, 9 months ago) by richard
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

regen distinfo for cmake

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jun 12 18:42:25 2015 UTC (8 years, 9 months ago) by richard
Branch: MAIN
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (colored) to selected 1.73 (colored)

Update FindX11 patch and avoid isfinite redefinition for jsoncpp on SunOS
Revbump as well...

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jun 9 08:21:40 2015 UTC (8 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.70: +4 -4 lines
Diff to previous 1.70 (colored) to selected 1.73 (colored)

Changes 3.2.3:
* Makefile: Workaround mingw32-make trailing backslash trouble
* Makefile: Fix compilation after parent commit was backported
* InstallRequiredSystemLibraries: Update for VS 2015
* Fix assertion failure on unmatched foreach in function
* ctest_build: Fix regression in GNU make error message matching

Revision 1.70 / (download) - annotate - [select for diffs], Wed Apr 15 11:28:18 2015 UTC (8 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored) to selected 1.73 (colored)

Changes 3.2.2:
* file(LOCK): Close file descriptor/handle when releasing a lock
* FindMFC: Use if(DEFINED) to simplify condition
* curl: Never consider using Windows APIs on Cygwin
* liblzma: Use unaligned access only on Intel and PowerPC archs
* liblzma: Disable XL compiler optimizations
* liblzma: Disable GNU 3.3 compiler optimizations
* KWSys SystemTools: Teach Touch with !create to succeed on missing file
* Makefile: Fix multiple custom command outputs with one missing
* libarchive: Fix string concatentation in Windows mktemp implementation

Revision 1.69 / (download) - annotate - [select for diffs], Tue Apr 7 20:53:48 2015 UTC (8 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.68: +5 -5 lines
Diff to previous 1.68 (colored) to selected 1.73 (colored)

Changes 3.2.1:
* CMake learned to support unicode characters *encoded as UTF-8* on
  Windows.  This was already supported on platforms whose system APIs
  accept UTF-8 encoded strings. Unicode characters may now be used in
  CMake code, paths to source files, configured files such as ".h.in"
  files, and other files read and written by CMake.  Note that because
  CMake interoperates with many other tools, there may still be some
  limitations when using certain unicode characters.

* The "Compile Features" functionality is now aware of features
  supported by more compilers, including:

  * Apple Clang ("AppleClang") for Xcode versions 4.4 though 6.1.

  * GNU compiler versions 4.4 through 5.0 on UNIX and Apple ("GNU").

  * Microsoft Visual Studio ("MSVC") for versions 2010 through 2015.

  * Oracle SolarisStudio ("SunPro") version 12.4.

* The "add_custom_command()" and "add_custom_target()" commands
  learned a new "BYPRODUCTS" option to specify files produced as side
  effects of the custom commands.  These are not outputs because they
  do not always have to be newer than inputs.

* The "file(GENERATE)" command can now generate files which are used
  as source files for buildsystem targets.  Generated files
  automatically get their "GENERATED" property set to "TRUE".

Deprecated and Removed Features:

* Files written in the "cmake-language(7)", such as "CMakeLists.txt"
  or "*.cmake" files, are now expected to be encoded as UTF-8.  If
  files are already ASCII, they will be compatible.  If files were in
  a different encoding, including Latin 1, they will need to be
  converted.

* The "FindOpenGL" module no longer explicitly searches for any
  dependency on X11 libraries with the "FindX11" module.  Such
  dependencies should not need to be explicit. Applications using X11
  APIs themselves should find and link to X11 libraries explicitly.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Feb 13 14:03:48 2015 UTC (9 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored) to selected 1.73 (colored)

Changes 3.1.3:
Do not call setlocale() globally in CMake applications
Add setlocale() calls around use of libarchive APIs
Makefile: Fix regression in target-bound custom command COMMENT output

Revision 1.67 / (download) - annotate - [select for diffs], Thu Feb 5 18:20:06 2015 UTC (9 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.66: +1 -2 lines
Diff to previous 1.66 (colored) to selected 1.73 (colored)

Bug was fixed slightly differently upstream, remove unnecessary patch.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Feb 5 17:45:22 2015 UTC (9 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.65: +5 -5 lines
Diff to previous 1.65 (colored) to selected 1.73 (colored)

Changes 3.1.2:
* install: Fix regression in default configuration selection
* CPack: Fix packaging of source tarballs with symbolic links
* KWSys Directory: Check opendir return value before using it
* Help: Clarify status of link_libraries command
* Normalize OBJECT_DEPENDS paths to match custom commands
* MSVC: Fix initialization of RelWithDebInfo shared library link flags
* FeatureSummary: Fix bracket in documentation.
* FindOpenSSL: fix detection of OpenSSL 1.0.2
* ctest_build: Update GNU make error message matching

Revision 1.65 / (download) - annotate - [select for diffs], Sat Jan 24 16:55:20 2015 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.64: +4 -4 lines
Diff to previous 1.64 (colored) to selected 1.73 (colored)

Update to 3.1.1:

Changes in 3.1.1 since 3.1.0:

André Klitzing (1):
      Eclipse: Add org.eclipse.cdt.core.cnature to CXX projects (#15068)

Ben Boeckel (4):
      get_test_property: clarify the documentation
      set_tests_properties: fix documentation
      tests: add tests for querying properties
      Xcode: Sort targets deterministically and with ALL_BUILD first (#15346)

Brad King (14):
      bootstrap: Fix syntax for Solaris 10 shell (#15317)
      Help: Clarify MinGW v. MSYS Makefiles generators (#15319)
      Ninja: Do not crash when CMAKE_<LANG>_COMPILE_OBJECT is empty (#15325)
      Ninja: Generate rules only for languages compiled in a target (#15325)
      Tests: Test using objects from a language enabled in a subdirectory (#15325)
      Help: Add 3.1 release note about '#' escaping in Makefiles (#15322)
      Help: Clarify if(<variable>) documentation (#15335)
      Help: Document CMAKE_FIND_PACKAGE_NAME variable
      Xcode: Do not require code signing for compiler id (#15214)
      Copyright.txt: Update year range to end in 2015
      XL: Fix link flags for executables on Linux with XL compilers
      QNX: Fix detection of QCC compiler id (#15349)
      Xcode: Fix early termination on per-config source file error
      CMake 3.1.1

Calin Cascaval (1):
      CPack: Fix PackageMaker internal versioning for OS X 10.10

Chuck Atkins (1):
      Fix compilation with the Oracle / Sun compiler (#15318)

Daniele E. Domenichelli (1):
      Help: Small fixes in CPackComponent documentation

David Coppa (1):
      FindRuby: fix selection of version x.0 (#15345)

Domen Vrankar (1):
      CPack: Avoid crash on invalid CMake generator name (#15308)

Evangelos Foutras (1):
      FindRuby: Fix output check in _RUBY_CONFIG_VAR

Gregor Jasny (1):
      find_package: Document CMAKE_FIND_PACKAGE_NAME variable

Justin Borodinsky (1):
      QtAutoUic: Restore source file AUTOUIC_OPTIONS settings

Mark Abraham (1):
      FindCUDA: Do not assume CMAKE_SYSTEM_PROCESSOR is set

Peter Vasil (2):
      cmake-mode.el: Fix extracting keyword at point in cmake-help
      cmake-mode.el: Re-add explicit call to require thingatpt

Rolf Eike Beer (5):
      FindIce: Port to work with CMP0054 NEW behavior
      FindSDL: Allow if() to dereference SDL_INCLUDE_DIR for matching
      FindQt: fix setting DESIRED_QT_VERSION if "find_package(Qt VVV)" was called
      FindQt: fix variable name in error message
      FindQt: explicitely mention that it cannot Qt5 or later

Sergey Nikulov (1):
      FindBoost: Add latest Boost version 1.57.0 and next milestone 1.58.0

Simon Gomizelj (1):
      KWSys Terminal: Add xterm-termite to VT100 color support whitelist

Stephen Kelly (7):
      Help: Document valid 14 value for CXX_STANDARD. (#15339)
      get_target_property: discern empty from undefined properties (#15333)
      QtAutoUic: Add a test for the regression in the parent commit.
      cmMakefile: Rename a method to what it really does.
      Features: Fix the COMPILE_FEATURES genex for unavailable features.
      cmTarget: Compute link language of TARGET_OBJECTS with CMP0026 OLD (#15338)
      Help: Link relevant documents for virtual override features (#15311)

Tim Blechmann (1):
      Help: Add INTERFACE_LIBRARY to TYPE target property documentation

William Lynch (1):
      Help: Update cmake.org links to avoid redirects

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jan 23 04:06:08 2015 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored) to selected 1.73 (colored)

When opendir() fails, readdir() is called with a NULL pointer, leading to
a segfault.

Reported at http://public.kitware.com/Bug/view.php?id=15367

Bump PKGREVISION.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:55 2015 UTC (9 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.62: +9 -9 lines
Diff to previous 1.62 (colored) to selected 1.73 (colored)

Changes 3.1.0:
* Windows Phone and Windows Store support has been added to  Visual Studio 11
  (2012) and above Generators.
* NVIDIA Nsight Tegra support has been added to  Visual Studio 10 (2010) and
  above Generators.
* New "target_compile_features" command allows populating target based compile
  features. CMake uses this information to ensure that the compiler in use is
  capable of building the target, and to add any necessary compile flags
  such as -std=gnu++11 to support language features.
  More information on this is found at:
  - http://www.cmake.org/cmake/help/v3.1/manual/cmake-compile-features.7.html
* The syntax for *Variable References* and *Escape Sequences* was simplified in
  order to allow a much faster implementation. See policy "CMP0053".
* The "if" command no longer automatically dereferences variables named in
  quoted or bracket arguments.  See policy "CMP0054".
* The target property "SOURCES" now generally supports "Generator Expressions".
  The generator expressions may be used in the "add_library" and
  "add_executable" commands.
* It is now possible to write and append to the target property "SOURCES".
  The variable "CMAKE_DEBUG_TARGET_PROPERTIES" can be used to trace the
  origin of sources.
* CPack gained "7Z" and "TXZ" generators supporting lzma-compressed archives.
* The ExternalProject module has learned to support lzma-compressed
  source tarballs with ".7z", ".tar.xz", and ".txz" extensions.
* The ExternalProject module ExternalProject_Add command learned a new
  BUILD_ALWAYS option to cause the external project build step to run every
  time the host project is built.
* The ctest_coverage command learned to support Intel coverage files with the
  "codecov" tool.
* The ctest_memcheck command learned to support sanitizer modes, including
  "AddressSanitizer", "MemorySanitizer", "ThreadSanitizer", and
  "UndefinedBehaviorSanitizer".

Revision 1.62 / (download) - annotate - [select for diffs], Wed Oct 1 07:33:24 2014 UTC (9 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored) to selected 1.73 (colored)

Changes 3.0.2:
Bug fix release.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Aug 10 10:02:51 2014 UTC (9 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.60: +5 -7 lines
Diff to previous 1.60 (colored) to selected 1.73 (colored)

Changes 3.0.1:
We are pleased to announce the release of CMake 3.0.0. In CMake 3.0, the CMake language has been extended with *Bracket Argument* and *Bracket Comment* syntax inspired by Lua long bracket, and the CMake documentation has been converted to reStructuredText.

Furthermore, new "CodeLite" and "Kate" extra generators are available for use with the Makefile or Ninja generators. In addition, the "add_library()" command learned a new "INTERFACE" library type, the "export()" command learned a new "EXPORT" mode that retrieves the list of targets to export from an export set configured by the "install(TARGETS)" command "EXPORT" option, and the "project()" command learned to set some version variables to values specified by the new "VERSION" option or to empty strings.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jul 18 10:00:18 2014 UTC (9 years, 8 months ago) by ryoon
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.73 (colored)

Fix SCO OpenServer 5.0.7/3.2 build really.
Treat SCO_SV as SysV.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jul 17 13:44:28 2014 UTC (9 years, 8 months ago) by ryoon
Branch: MAIN
Changes since 1.58: +4 -1 lines
Diff to previous 1.58 (colored) to selected 1.73 (colored)

Add SCO OpenServer 5.0.7/3.2 support. Fix build.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Mar 25 07:11:52 2014 UTC (10 years ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.73 (colored)

Treat DragonFly the same way as FreeBSD.
This fixes build on DragonFly 3.7 as reported by David Shao in PR pkg/48660.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Mar 24 20:42:11 2014 UTC (10 years ago) by asau
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.73 (colored)

Treat NetBSD, FreeBSD, and OpenBSD uniformly.
This fixes build on FreeBSD 10 (tested by Youri Mouton) and 9.1.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Mar 22 08:39:10 2014 UTC (10 years ago) by markd
Branch: MAIN
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored) to selected 1.73 (colored)

fix check for freetype-2.5.1
Julian Ospald in http://www.cmake.org/Bug/view.php?id=14601
Bump PKGREVISION

Revision 1.55 / (download) - annotate - [select for diffs], Sat Feb 1 11:14:06 2014 UTC (10 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored) to selected 1.73 (colored)

Changes 2.8.12.2:
      VS: Map /Fd to ProgramDataBaseFileName for VS 7,8,9
      Replace <OBJECT_DIR> rule placeholder consistently
      VS: Convert include path to backslashes for VS >= 10
      Revert "Ninja: Track configured files so we can regenerate them."
      FindOpenMP: fix detecting compilers that do not need any special flag
      Xcode: Fix storyboard view
      CMakeDetermineCompilerId: Fix compiler line match for Xcode 5.1

Revision 1.54 / (download) - annotate - [select for diffs], Thu Nov 14 07:59:44 2013 UTC (10 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored) to selected 1.73 (colored)

Changes 2.8.12.1:
* MSVC: Add /FS flag for cl >= 18 to allow parallel compilation
* Genex: Reject $<TARGET_FILE:...> for object libraries
* Check for OBJECT_LIBRARY source files at start of generation
* CMP0022: Plain target_link_libraries must populate link interface
* Do not export INTERFACE_LINK_LIBRARIES from non-linkable targets
* CMP0022: Warn about a given target at most once
* Fix summary documentation of INTERFACE_LINK_LIBRARIES
* file(GENERATE): Clear internal records between configures
* cmake: Validate -E cmake_automoc argument count
* Fix spelling in INTERFACE_LINK_LIBRARIES documentation
* CMP0022: Output link interface mismatch for static library warning
* Don't add invalid content to static lib INTERFACE_LINK_LIBRARIES.
* CMP0022: Add unit test for null pointer check and message.
* CMP0022: Add test for target_link_libraries plain signature
* Automoc: Add directory-level COMPILE_DEFINITIONS to command line
* FindCUDA: Fix NPP library search for CUDA 5.5

Revision 1.53 / (download) - annotate - [select for diffs], Fri Oct 25 10:49:23 2013 UTC (10 years, 5 months ago) by obache
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.73 (colored)

Add conditions for NetBSD, especially fixes build on NetBSD-current.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Oct 24 04:50:57 2013 UTC (10 years, 5 months ago) by obache
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) to selected 1.73 (colored)

Remove patch for NetBSD to ride on Linux condition.

NetBSD condition exists since 2.8.11, and current linux condition part
including fenv.h, it does not exist on NetBSD<6 and  not usable except
arm, i386, sparc and x86_64 even on NetBSD-current.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Oct 19 08:04:34 2013 UTC (10 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) to selected 1.73 (colored)

Fix building on SunOS

Revision 1.50 / (download) - annotate - [select for diffs], Thu Oct 17 14:42:46 2013 UTC (10 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.49: +6 -7 lines
Diff to previous 1.49 (colored) to selected 1.73 (colored)

Changes 2.8.12:
Xcode: Fix test architecture selection for Xcode >= 5
Xcode: Teach Tests/BuildDepends to allow LINK_DEPENDS_NO_SHARED failure
Xcode: Drop XCODE_DEPEND_HELPER for Xcode >= 5
Xcode: Fix OBJECT library support for Xcode 5 (#14254)
Genex: Fix processing multiple include directories for relative paths
More...

Revision 1.49 / (download) - annotate - [select for diffs], Wed Oct 2 20:04:04 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.48: +2 -1 lines
Diff to previous 1.48 (colored) to selected 1.73 (colored)

Adjust Cygwin to the normal pkgsrc installation layout. Add one file
that doesn't seem to get installed otherwise.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jul 20 12:49:26 2013 UTC (10 years, 8 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored) to selected 1.73 (colored)

Update to 2.8.11.2

Chagnelog

Changes in CMake 2.8.11.2 (since 2.8.11.1)
------------------------------------------
Alex Neundorf (1):
      asm support: adapt to changes in CMakeDetectCompiler in 2.8.10

Bjoern Thiel (1):
      SelectLibraryConfigurations: Fix for cached <base>_LIBRARY

Brad King (5):
      cmCryptoHash: Increase alignment of HashFile buffer
      cmcurl: Backport curl bug 1192 fix (#14250)
      VS12: Add Visual Studio 12 generator (#14251)
      VS12: Generate flag tables from MSBuild v120 tool files
      FindBoost: Add -vc120 mangling for VS 12

Robert Maynard (1):
      VS: Clarify Visual Studio product year for each version

Changes in CMake 2.8.11.1 (since 2.8.11)
----------------------------------------
Brad King (5):
      ExternalData: Do not re-stage staged object files
      try_compile: Fix quoting of libraries in generated CMakeLists.txt
      KWSys: Fix SystemTools::FileIsDirectory with long paths (#14176)
      FindBoost: Fix handling of \ in input paths (#14179)
      Xcode: Fix framework search paths in STATIC library targets (#14191)

Modestas Vainius (1):
      Fix test failures caused by regexp-sensitive characters in the build paths

Stephen Kelly (9):
      include_directories: Fix handling of empty or space-only entries
      try_compile: Trim whitespace from LINK_LIBRARIES entries
      cmTarget: Remove some hardcoding of transitive property names.
      GenexEval: Extract a getLinkedTargetsContent from TargetPropertyNode.
      GenexEval: Fix evaluation of INCLUDE_DIRECTORIES target property.
      GenexEval: Test evaluation of INCLUDE_DIRECTORIES target property.
      FindQt4: Don't fail if certain Qt modules are unavailable.
      Qt4Macros: Handle Qt ActiveX libraries in qt4_use_modules.
      Genex: Fix the HEAD target used for evaluated expressions

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 3 08:45:27 2013 UTC (10 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.46: +2 -1 lines
Diff to previous 1.46 (colored) to selected 1.73 (colored)

Use the correct CMake define, from wiz.  Fixes SunOS build.

Revision 1.46 / (download) - annotate - [select for diffs], Wed May 29 09:59:15 2013 UTC (10 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.45: +4 -5 lines
Diff to previous 1.45 (colored) to selected 1.73 (colored)

Changes 2.8.11:
This new release of CMake features the introduction of Target Usage Requirements and a Generator Toolset Selection for Visual Studio and XCode, as well as a variety of other improvements.

With the Target Usage Requirements, developers can now specify target usage requirements for their consumers such as include directories and preprocessor definitions, whereas in previous versions only link dependencies were supported. Additionally, with the target_link_libraries(myexe yourlib), developers can now build myexe sources with requirements specified by yourlib. There are also a new target include directory and target compile definitions commands that offer public, private, and interface options. The detailed discussion on this topic is available on the KDE website.

The new Generator Toolset selection for Visual Studio and XCode inform the IDE which compiler toolchain to use. Other improvements include the introduction of the ExternalData Module and the ability to reference data unambiguously from source tree by the content hash.

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 3 01:37:02 2013 UTC (10 years, 10 months ago) by mef
Branch: MAIN
Changes since 1.44: +0 -1 lines
Diff to previous 1.44 (colored) to selected 1.73 (colored)

PR pkg/47792
Let me revert to as of 30mins before.
/usr/local may be left as it is for the case to compile
stuff outside of pkgsrc with this cmake.

Revision 1.44 / (download) - annotate - [select for diffs], Fri May 3 00:58:06 2013 UTC (10 years, 10 months ago) by mef
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored) to selected 1.73 (colored)

PR pkg/47792
Correct install PREFIX found on Modules/CMakeGenericSystem.cmake.
The example of problem was found on wip/trustedQSL (1.14)

Revision 1.43 / (download) - annotate - [select for diffs], Sat Feb 16 11:40:37 2013 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored) to selected 1.73 (colored)

Detect png-1.6. Bump PKGREVISION.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Nov 15 19:31:54 2012 UTC (11 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.41: +8 -8 lines
Diff to previous 1.41 (colored) to selected 1.73 (colored)

With the 2.8.10 release, users now have a new way to arrange exported targets that depend on other targets into "export sets." In addition, there are new target properties for PDB_OUTPUT_DIRECTORY and PDB_NAME implemented for Visual Studio 7 and later.

Generator expressions, which are used to introduce conditional statements at generate time rather than at CMake compile time, are now available in more contexts, notably in the INCLUDE_DIRECTORIES and COMPILE_DEFINITIONS target properties. There are also new generator expressions available in the 2.8.10 release.

The file(DOWNLOAD command can accommodate https URLs. The pre-built binaries for this are available from Kitware and link to OpenSSL. The team has also added uniform compiler "id" and version number variables available for nearly all known compilers and platforms.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Oct 24 22:42:16 2012 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.73 (colored)

Add upstream bug report URL.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Sep 14 13:26:20 2012 UTC (11 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 (colored) to selected 1.73 (colored)

Add comments to patches.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Aug 11 11:10:54 2012 UTC (11 years, 7 months ago) by marino
Branch: MAIN
Changes since 1.38: +7 -7 lines
Diff to previous 1.38 (colored) to selected 1.73 (colored)

devel/cmake: Update from 2.8.8 to 2.8.9

Version 2.8.8 has some serious bugs regarding pkgconfig handling.  Luckily
2.8.9 was just released which resolves them.

There are numerous bugfixes, see:
http://www.cmake.org/files/v2.8/CMakeChangeLog-2.8.9

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 7 16:18:26 2012 UTC (11 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.37: +7 -7 lines
Diff to previous 1.37 (colored) to selected 1.73 (colored)

Changes 2.8.8:
* CheckIncludeFiles: Shorten check description message
* CPackNSIS: Rewrite variable documentation to make it more readable.
* OS X: Use correct extra path when searching for applicaton bundles
* OS X: Mark find_program results as advanced
* Fix some doc typo and add an undocumented var.
* OS X: Use OSX_DEVELOPER_ROOT for app search path
* FindBoost: add support for 1.49 and 1.50

Revision 1.37 / (download) - annotate - [select for diffs], Mon May 28 18:06:48 2012 UTC (11 years, 10 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored) to selected 1.73 (colored)

Add VAX to the list of supported architectures
(That is not a typo)

Revision 1.36 / (download) - annotate - [select for diffs], Thu Feb 16 18:32:25 2012 UTC (12 years, 1 month ago) by hans
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored) to selected 1.73 (colored)

Fix two problems observed on SunOS:
 - don't try to find a python executable when running for pkgsrc
 - use g++ instead of gcc for linking c++ libraries, patch from
   http://public.kitware.com/pipermail/cmake/2011-July/045300.html

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jan 8 17:44:23 2012 UTC (12 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored) to selected 1.73 (colored)

Fix for PR#45800

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jan 8 09:47:42 2012 UTC (12 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored) to selected 1.73 (colored)

Changes 2.8.7:
This release includes the addition of file( and string( commands for
computing hash values and more cryptographic hash implementations, such as
SHA1, SHA224, SHA256, SHA384, SHA512. There are new LINK_PUBLIC and LINK_PRIVATE
options for  target_link_libraries command as well as a new DeployQt4 module.

With the 2.8.7 release, there are two sets of installers for the Mac. The
"Darwin" versions are for Mac OSX 10.4 and later, and are "ppc;i386" universal
binaries. The "Darwin64" versions are for 10.6 and later, and are "x86_64;i386"
universal binaries.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Oct 15 07:24:30 2011 UTC (12 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored) to selected 1.73 (colored)

Changes 2.8.6:
Kitware is pleased to announce the release of CMake 2.8.6. This release features several notable changes, including a new AUTOMOC target property that helps make it easier to build Qt projects and support for the Intel Fortran compiler in VisualStudio10. Additionally, VisualStudio 9 and 10 generators for Itanium platform have been added, and appear as the ×·isual Studio 9 2008 IA64ãàand ãà×·isual Studio 10 IA64ãàgenerators on Windows builds of CMake.

This release also contains an experimental generator in the Windows build targeting VisualStudio 11. It will remain "Experimental" until VisualStudio 11 itself is finalized. If you have the developer preview of VisualStudio 11, we would appreciate any feedback you have. Please keep in mind that this is very new, and has only been tested enough to be useful to include for the community to test drive and provide feedback on.

Other improvements include the movement of many files from KDE's overrides of CMake module files, which have been accepted into upstream CMake thanks to the hard work of Alex Neundorf and Stephen Kelly. There have been many Xcode generator improvements, including support for iOS projects and the ability to switch between simulator and device builds.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Sep 14 21:21:53 2011 UTC (12 years, 6 months ago) by brook
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) to selected 1.73 (colored)

Fix apparently incorrect checksums.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Sep 14 17:54:48 2011 UTC (12 years, 6 months ago) by brook
Branch: MAIN
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored) to selected 1.73 (colored)

Replace paths with ${LOCALBASE} instead of hard-coding /usr/pkg into
installed files.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 31 22:04:03 2011 UTC (12 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) to selected 1.73 (colored)

Changes 2.8.5:
* Revert "Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake"
* Use devenv instead of msbuild for vs2010.
* Revert "With very long file names, VS 2010 was unable to compile files."
* Use relative paths for custom command inputs.
* Look for VCExpress as a possible build tool as well as devenv.
* KWSys: Recognize color TERM=screen-256color-bce
* find_library: Use lib->lib64 conversion in CXX-only projects
* libarchive: Install COPYING with CMake documentation
* FindJNI: Search in Fedora arch-specific JVM location
* FindSWIG: Use NAMES in find_program directives
* Documentation: Fix spelling / formatting errors
* FindBoost: Fixes
* FindBoost: Also search for 1.46.1
* Detect VS 2010 SP1, faster and more robust detection
* Fix a memory leak.
* Fix for bug10798.  VS10 did not append -I flags with COMPILE_FLAGS prop.
* Append and do not clobber CMAKE_CXX_FLAGS in the test.
* Use bin tree for inclues to avoid -I with spaces in the path.
* One more try.  Use full path by default, and relative on broken compilers.
* Fix for bug11927, external project git clone step always runs vs10.
* XL: Place Fortran modules with -qmoddir= flag
* Teach file(DOWNLOAD|UPLOAD) to timeout after inactivity
* Xcode: Fix parallel build depends with universal binaries
* Fix style errors added by parent and grandparent
* Use cascading-if for per-config test and install code
* CTest: Report tests not run due to unknown configuration
* GNU: Fix CMAKE_INCLUDE_SYSTEM_FLAG_<lang> value
* Teach find_(library|package) about Linux multiarch
* Test find_package multiarch support
* more...

Revision 1.29 / (download) - annotate - [select for diffs], Tue Feb 22 15:05:33 2011 UTC (13 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.28: +6 -7 lines
Diff to previous 1.28 (colored) to selected 1.73 (colored)

Changes 2.8.4:
* Fix crash in GraphVizWriter when GRAPHVIZ_TARGET_IGNORE_REGEX is used
* FindPerlLibs: Add notice of copyright
* libarchive: Define major/minor/makedev only where needed
* libarchive: Use OpenSSL only if CMAKE_USE_OPENSSL
* Fix documentation of MSVC_VERSION
* Silence the may be used uninitialized warnings: initialize stuff.
* CPack Tests the different ways of packaging components
* Avoid foreach IN LISTS syntax which is not supported by CMake 2.6

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jan 14 11:18:02 2011 UTC (13 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) to selected 1.73 (colored)

Find png-1.5. Bump PKGREVISION.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Nov 11 08:34:01 2010 UTC (13 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored) to selected 1.73 (colored)

Changes 2.8.3:
* When processing DartMeasurements use the tests working directory.
* ExternalProject: No svn --username if empty.
* Avoid problem reading jni.h on Macs.
* Fixed appending PATH to dumpbin tool from growing without bounds.
* Switch to CMAKE_PATH when doing PATH comparisons on Windows.
* Remove unecessary TO_CMAKE_PATH for gp_cmd_dir.
* Append the gp_tool path to the system PATH using native slashes.
* Fixes to GetPrerequisites for cygwin.
* CPackDeb Added several optional debian binary package fields.
* ENH: Added case for Python 2.7.
* Fixed parallel build for generators with EXTRA.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Oct 19 08:15:01 2010 UTC (13 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.25: +4 -5 lines
Diff to previous 1.25 (colored) to selected 1.73 (colored)

Changes 2.8.2:
* Fix for bug: ctest exit exception incorrectly reported
* CTest: Parse empty Git commits correctly
* Qualify name of extraction location with ExternalProject name.
* For VS10: Really use full path file names.
* Add support for the emulation version of the cudart library.
* Cleanup FindOpenSSL. Add support for win64 installation.
* Parallel CTest hangs if serial test has depends
* Preserve ENV{MAKEFLAGS} in CMake script mode
* Remove "Microsoft Visual Studio .NET" from VS8 and VS9 find modules.
* Use full path file names in generate.stamp.list.
* Use full path file names to express dependencies.
* Look in the ctest ini file for GitCommand.
* Fixed: CUDA_VERSION_MAJOR/MINOR now computed after first run.
* Do not exit if stoptime is passed.
* Document ctest_build() TARGET option
* Make sure libarchive uses cmzlib and not the system libz if found.
* Use forward slashes for objects in response files
* Use platform variable for response file flag
* Use response file for objects on MinGW and MSYS
* Generalize CTest.Update* test dashboard script helpers
* ctest_update: Support custom Git update command
* ctest_update: Support Git upstream branch rewrites
* Fix CMake data and doc paths in Cygwin package
* Document scope of source file properties
* Run CTest.NoNewline test using built CMake
* Tru64: Place cmOStringStream vtable uniquely
* Enable BootstrapTest on MSYS
* Tru64: Use full-path include directives in Makefiles

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jun 13 22:44:03 2010 UTC (13 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored) to selected 1.73 (colored)

Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 9 13:25:34 2010 UTC (13 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.23: +4 -5 lines
Diff to previous 1.23 (colored) to selected 1.73 (colored)

CMake 2.8.1

We are happy to announce the release of CMake 2.8.1. This is a minor release
from 2.8.0. In addition to addressing many issues, this version of CMake adds
some new features as well. The parallel nmake replacement from Nokia jom, now
has its own tested generator in CMake.

CTest can correctly kill process trees when a timeout occurs. The ctest_*
commands have been enhanced to take more options. When using the Intel
compilers CMake can correctly determine 32 bit vs. 64 bit builds. When running
in parallel mode (-j N), CTest can now compute and use a cost value for each
test to ensure the tests are run in an optimal order.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Feb 25 21:12:03 2010 UTC (14 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored) to selected 1.73 (colored)

Fix build on NetBSD/sparc*.
From Jochen Kunz.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 12 13:45:54 2010 UTC (14 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored) to selected 1.73 (colored)

allow to override cmake's Python search order, to enforce the version
selected by pkgsrc
this automatically affects pkgs which use FIND_PACKAGE(PythonInterp)
or FIND_PACKAGE(PythonLibs)

Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 25 19:08:18 2009 UTC (14 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.20: +5 -6 lines
Diff to previous 1.20 (colored) to selected 1.73 (colored)

Changed 2.8.0:
This version of CMake fixes many open issues and provides some exciting new
features.

Revision 1.20 / (download) - annotate - [select for diffs], Mon May 11 08:02:09 2009 UTC (14 years, 10 months ago) by hasso
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored) to selected 1.73 (colored)

Update to 2.6.4. Upstream changelog:

Changes in CMake 2.6.4 RC 6
- Use $ var in CPack.cmake, and not @var@
- Add more missing OSXX11 CPack files

Changes in CMake 2.6.4 RC 5
- Add missing file for OSXX11 CPack generator
- cmake-gui fix path length in the binary directory's combo box

Changes in CMake 2.6.4 RC 4
- Better document Verbatim in custom commands
- Fix #8843 ctest system information was not always correct on linux
- Fix transitive linking of imported libraries

Changes in CMake 2.6.4 RC 3
- Documentation fix for #8815
- Fix CDash only submit with ctest_submit
- various fixes for FindQt4.cmake
- cmake-gui block checkable flag for item during configure/generate.
- put qt version in about for cmake-gui

Changes in CMake 2.6.4 RC 2
- Fix issues in FindBoost #8576 #8734
- Fix -D issues with VS 6
- Fix scope issue with CMAKE_CURRENT_LIST_FILE  and macros
- Eclipse make VERBOSE off in makfiles #7585, and use built-in includes
- Codeblocks auto header finding
- Fix crash in include_directories #8704
- Some documentation fixes to commands and classes.
- Do not warn if LIBPATH is not set for nmake

Changes in CMake 2.6.4 RC 1
- Add some better documentation about RPATH variables
- No longer mark header files as HEADER_FILE_ONLY automatically,
  this gets rid of the ugly red marks in Visual Stuido
- Fix man-page preformatted text paragraphing
- Teach file(REMOVE) how to use relative paths
- Gracefully handle broken version symlinks
- Fix ASM source file extension default list
- Pass shared library export symbol in DEFINES
- Enforce unique binary directories
- Fix cmake-mode.el indentation cursor motion
- Simplify reverse cmLocalGenerator::Convert
- More robust decision to suppress implicit include dirs
- Fix Fortran implicit dependency include path (and test it)
- Clarify docs of old *_OUTPUT_PATH vars
- Fix svn update logic for modified files
- Add get_filename_component(... REALPATH)
- Work around broken GetLongPathName case

Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 19 10:35:55 2009 UTC (14 years, 11 months ago) by hasso
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.73 (colored)

* Unbreak searching software from /usr/local. There is no need to for all
  this sed magic, _CMAKE_INSTALL_DIR in UnixPaths.cmake does that for us
  already. Only X11BASE needs special attention.

* Remove patch-ae which never worked in fact.

* Bump PKGREVISION.

Discussed-with: Mark Davies

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 7 10:42:14 2009 UTC (14 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.17: +5 -4 lines
Diff to previous 1.17 (colored) to selected 1.73 (colored)

update to 2.6.3
changes:
Add parenthetical expressions to if
Improve scoping of policies (see cmake_policy and CMP0011)
Teach find_package more config file locations
Many improved Find scripts in Modules
Added an unset command
Better reporting when nmake compiler environment is not correct

Revision 1.17 / (download) - annotate - [select for diffs], Sat Nov 8 13:20:17 2008 UTC (15 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.73 (colored)

Update to 2.6.2:

Changes in CMake 2.6.2 RC 6
- Fix bug#7669 cpack did not work when sym-linked after install

Changes in CMake 2.6.2 RC 5
- Add beta BundleUtilities.cmake file
- CPackRPM 7435 fixes to add optional post-install
- Fix Bug #7456, FindBoost versioned find not working
- Fix FindCurses to be able to work without ncurses.h
- FindQt4 fix bug #7433, add a bit more documentation and add ability
   to specify extra flags to lupdate.

Changes in CMake 2.6.2 RC 4
- Fix bug #7359 make llvm-gcc work, by explicitely excluding
   "llvm-" from _CMAKE_TOOLCHAIN_PREFIX
- Fix bug 7046: OS X Framework support: extensionless headers were
   being ignored when specified as public headers
- Fix documentation in CheckCCompilerFlag.cmake
- Add better version support to find_package command
- Fix Xcode debug not working
- Add VERSION compare to if command
- Make FindThreads sete THREADS_FOUND
- Deb cpack generator sets Installed-Size for the package
- Do not add an empty /D"" at the end of VS 6 .dsp compile lines
- Recognize /MAP in VS 7 and greater
- Add new policy CMP0009 - GLOB_RECURSE should not follow symlinks by
default

Changes in CMake 2.6.2 RC 3
- Fix bug, and remove extra closing > in visual fortran projects.
- Fix bug in ctest -C where it was sometimes ignored.
- Fix crash with exec_process when cmake is being debugged on windows
- Fix unsetting of global properties

Changes in CMake 2.6.2 RC 2
- allow tool chains to limit object path length
- add info.plist to frameworks
- better preservation of user link lines
- add a get command for cmake policies
- support for imported libraries of unknown type
- support link interface in target_link_libraries
- Do not hang when select lies
- .m compiled with gcc and g++ on mac
- Fix issue when application bundle dir is removed cmake
   needs to re-run automatically
- Report an error when configure has one error
- Fix bug where -E commands stole command line options
- Fix infinite recursion bug with try-compile and change of compilers
- Fix delete and backspace in ccmake
- Fix coverage not to follow symlinks
- Add more possible languages for NSIS in cpack
- FindQt4.cmake fix bug #7433, add documentation that
   directories also can be specified to update the translation files.
- Add standard arg handling to FindPHP4.cmake
- Add X11R6 to search path for FindOpenGL
- update cmake-syntax.vim to have more keywords
- BUG: fix #7477, set VERBOSE=1 in the kdevelop setting for
   the environment, not together with the make executable
- UsePkgConfig.cmake - clean up, add a status message in case
   pkgconfig didn't find the package, sync with kde
- FindX11 look in more places
- FindTIFF look for more names
- FindQt3, make sure qt4 is not found and some style stuff
- FindPNG add more names of linpng (sync with the KDE version)
- FindKDE3/KDE4 sanity checks on qt versions found
- FindLibXMl2 also search for xmllint, which comes with libxml2
   (sync with FindLibXml2.cmake from KDE)
- Fix sizeof, and other compiler INFO string checks with
   GNU linker's --gc-sections
- Fix bogus dependency on executable targets when a linked library
   happended to match the name of an executable target
- Improve readability of circular depends error
- Fix crash on circular target dependencies
- find_package now knows about lib64 paths
- Fix gentoo elf security issue with RPATH and RUNPATH

Changes in CMake 2.6.2 RC 1
- Fix abort in eclipse generator with empty EXECUTABLE_OUTPUT_PATH
- Fix FindKDE3.cmake syntax error
- Fix custom command output by relative path not always working
- Fix bug, Do not convert RPATH entries to full path.
- Allow for "$ORIGIN" into the RPATH>
- Allow for static libraries with lots of objects using archive append
- Fix documentation for FindImageMagick.cmake
- Fix link error with MS compiler and comdef
- Fix crash when attempting to load the RPATH out of a non-ELF file
- Add --trace option to cmake allowing for the tracing of a cmake run
- Fix for issue #4971 where the case of the drive letter component of
   the filenames might be different when analyzing gcov output.
- Add warning level W0 to visual studio
- Add support for OSX library version flags

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 25 02:45:12 2008 UTC (15 years, 7 months ago) by bjs
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.73 (colored)

Update patchsum and remove trailing whitespace in Makefile.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 25 02:44:05 2008 UTC (15 years, 7 months ago) by bjs
Branch: MAIN
Changes since 1.14: +5 -7 lines
Diff to previous 1.14 (colored) to selected 1.73 (colored)

Update to cmake-2.6.1.  I could not find any release notes concise enough
to include here; the changelog for this release is here:

<http://www.cmake.org/pipermail/cmake/2008-August/023188.html>

For changes prior to this release, please see ${WRKSRC}/ChangeLog.

While here, add a list of *.cmake files in which to replace
/usr/${X11R6,local} with X11BASE and LOCALBASE, respectively.
Also, the [pkgsrc-relative] API, e.g. 2.6 is now defined by a variable
so that it can be used in pathnames for the build and the PLIST.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 6 07:01:17 2008 UTC (16 years, 1 month ago) by bjs
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, cwrapper
Changes since 1.13: +4 -6 lines
Diff to previous 1.13 (colored) to selected 1.73 (colored)



Update to version 2.4.8.  ChangeLog does not include relases, and I don't
have time to go through it now to see what to include here.  See
${WRKSRC}/ChangeLog.txt if you're interested.

Insofar as I could tell, patch-ab and patch-ad no longer need apply.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Feb 3 13:01:11 2008 UTC (16 years, 1 month ago) by tnn
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored) to selected 1.73 (colored)

Fix broken curl test.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 12 06:42:12 2007 UTC (17 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.73 (colored)

Apply patch from Kimura Fuyuki in PR 35954, fixing:
cmake-generated build system doesn't create symlinks for shared
libraries on NetBSD.

Bump PKGREVISION.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 26 21:37:16 2007 UTC (17 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.73 (colored)

Use xmlrpc-c package instead of builtin version. Bump PKGREVISION.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Feb 24 21:17:19 2007 UTC (17 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) to selected 1.73 (colored)

Revert parts of previous.
Morale: always run cvs diff before committing.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 24 21:13:50 2007 UTC (17 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored) to selected 1.73 (colored)

Take maintainership.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 23 11:48:18 2007 UTC (17 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.7: +5 -6 lines
Diff to previous 1.7 (colored) to selected 1.73 (colored)

Update to 2.4.6:

Changes in CMake 2.4.6

* Remove svn test in ctestctest3

* Fix for FIND_* order and framworks with PREFIX usage.

* Fix for FindDoxygen and quiet mode.

* Find JavaVM as well as jvm

* Look for ruby1.8 and ruby

* Fix for cpack .tgz.sh and dash

* Fix for finding custom commands from a full path with CMAKE_CFG_INTDIR.

* Fix for Borland make and custom commands that do nothing


Changes in CMake 2.4.5
* Fix for seg fault when a macro runs a bad command BUG# 3815

* Fix fix for foo.dll.lib that does not brea -L/usr/lib in link names

* Fix problem with LIBRARY_OUTPUT_PATH and linking to a dll foo.dll.lib
  instead of foo.lib

* Do not depend on optimized libraries for a debug build and visa versa.

* Fix target name matching custom command output conflict.

* Fix FindQt3 so that it does not find qt4

* Fix FindKDE4 so that it only looks for kde4-config

Changes in CMake 2.4.4

* CMake Version numbers on module directory

* elseif added

* Fix docs in CheckCSourceCompiles CheckCXXSourceCompiles and diagnostic
  output.

* added Check(C/CXX)SourceRuns.cmake, CheckCXXCompilerFlag.cmake, Check

* add static and shared flags to make sure the specified versions of
  libraries are used with -static -lfoo -shared -lbar

*  Search for the compiler only once and store a full path. avoids problems
  with PATH changes in cmake re-runs.

* make sure manifest files are generated with VS 8

* added FindASPELL.cmake, FindBZip2.cmake FindHPELL.cmake, FindJasper.cmake
  FindLibXml2.cmake, FindLibXslt.cmake, FindOpenSSL.cmake

* fix for bug#3646 GLUT not Glut for framework name

* many fixes for FindKDE3.cmake

* Better FindPNG that honors REQUIRED and looks in more places.

* Support to find python 2.5

* Find Qt3 better

* Find Qt4 better and work with qmake and qmake-qt4 on the same machine.

* Much better FindRuby.cmake

* More stuff marked as advanced in FindTcl and FindSDL

* FindwxWidgets runs shell script wx-config with sh

* Support for cpack and vs8 install libraries

* Darwin shared library create and Fortran now work

* Support for isystem directories INCLUDE_DIRECTORIES (SYSTEM)

* Targets in makefiles to create pre-processed files and assembly files
  can be turned off with these variables:
   CMAKE_SKIP_PREPROCESSED_SOURCE_RULES CMAKE_SKIP_ASSEMBLY_SOURCE_RULES

* Support for QNX

* Better default search paths for unix and FIND_* stuff

* Use link /lib and not lib to create static libraries with MS

* Useqt4 works with static qt4 and other fixes

* UseSwig.cmake interface to add extra dependencies.

* Added APPEND option to ADD_CUSTOM_COMMAND, Added VERBATIM option to
  ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET

* add EXCLUDE_FROM_ALL option  for ADD_LIBRARY and ADD_EXECUTABLE

* Fix automatic computation of binary path to work for subdirectories of out
  of source directories.  This addresses bug#3592.

* --debug-ouput to cmake that gives stack trace to message send error commands.
  The stack trace is no longer there without it.

* + can be in a variable

* Do not replace @VAR@ syntax in list files.  This addresses bug #2722

* much faster depend scanning

* do depends on system include directories

* Permission and install directory fixes

* New target property <CONFIG>_LOCATION (Debug, Release, etc)

* fix exclude from all in VS

* fix code completion problem in KDevelop

* Define MSYS when using msys generator

* fix referencece to projects outside the build tree VS 7,8

* Fix ZERO_CHECK to not always try and rebuild

* Fix Xcode universal binary rebuild problem

* add FILE_IS_NEWER to if command

* Add OPTIONAL to INSTALL command fix bug@2922

* add SORT and REVERSE to LIST command

* fix for seg fault bug #3815

* add SYBOLIC as a source file property see SET_SOURCE_FILES_PROPERTIES

* fix ctest valgrind if no coverage is done

* better message if bogus generator is specified.

* Better FindJava and FindJNI

* Fix doxygen.config for CMake

* add CPACK_MODULE_PATH

* Fix configuration for ctest dashboard targets Experimental, Nightly, etc

* Fix FindDoxygen for mac and app-bundles

* Fix CPack simple install test with NSIS

* Allow EXECUTE_PROCESS to strip trailing white space

* Fix mingw echo in makefiles

* Fix Xcode to not mess up -gdwarf-2

* Fix crash when "linking" to custom targets.

* Allow HEADER_FILE_ONLY to not compile the file in VS 7 and 8

* Fix mingw out of binary with spaces in the path.

* Fix for sudo make install (partial)

* Allow installed zlib, curl, expat, xmlrpc to be used.

* Add CMakeDependentOption.cmake module

* Allow projects to set install prefix default

* improved Find/Use wxWidgets

* add support for windows dll version numbers

* Fix message for -G when generator does not exist

* Fix html references in help

* Fix version on .exe cygwin

* allow global timeout in ctest

* Fix some odd cases with custom commands in VS 6

* Fix path suffix stuff with lib64 in FIND_* stuff.

* Fix delete in CMakeSetup to not change the current position in the list

* Fix debug stl run of ctest on Mac

* Use #2 for manifest nt command on dll and #1 on exe

* Add depends from files inside qrc files in qt

* Fix explort_library_depends to work with optimized and debug

Changes in CMake 2.4.3

* fix for 3557 - Under MSVC8 hardcoded TargetEnvironment for MIDL Compiler

* Fix for Xcode all projects to prevent -fvisibility=hidden flags. This is
needed to make RTTI work by default.

* better prototype for main in try compile of c programs avoids warnings in
logs.

* with visual studio do not use incremental linking for release builds by
default.

* fix bootstrap to use more ansi c main it test compiler

* fix import build settings to do case insensitive match on windows

* fix building in root directory c:/

* Add support for CXX only projects

* Better FindWxWidgets

* Added FindBoose.cmake

* add more fortran file extensions

* Cpack supports multiple packages at the same time

* Fix to FindKDE4 to look for kde4-config first

* Support for env var CMAKE_CONFIG_TYPE in ctest

* Fix for -DVAR=foo on the command line not saving to the cache

* ENH: Added creation of XXX_FIND_COMPONENTS list of all components requested
  withREQUIRED option.  This addresses the feature request in bug#3494.

* Object files get safe names

* progress is now reported with makefiles

* location of CMakeTmp changed to a varible

* CMAKE_COLOR_MAKEFILE cache variable available to turn off color output

* fixes for FindQt4 on mac.

* Better search paths for finding VTK

* Fix relative path problems in ADD_SUBDIRECTORY

* Fix long link commands on UNIX shells

* Fix depend file names in makefiles for generated headers

* CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS allows for if/endif without variable

* Xcode multiple custom command problem fixed.

* INSTALL_RPATH_USE_LINK_PATH when true will add the link path to the rpath

* Add target/fast rules in the sub directories

* Fix Visual stuido C and C++ targets to not add /TP and /TC

* print a context when cmake errors occur

* add rxvt-unicode, cygwin, and screen terminal support for color output

* Fix crash in CMakeSetup when status line is long

* make sure try compile files have a newline at the end

* fix for hp itanium build

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 11 19:26:20 2006 UTC (17 years, 5 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored) to selected 1.73 (colored)

Fixed "test ==".

Revision 1.6 / (download) - annotate - [select for diffs], Sun Sep 24 16:22:16 2006 UTC (17 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) to selected 1.73 (colored)

Replace hard-coded /usr/X11R6 with X11BASE, so that X11_TYPE != native
for example has a change to find X11. Bump revision.

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 19 21:32:52 2006 UTC (17 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) to selected 1.73 (colored)

Updated cmake to 2.4.2.

Since 2.0.5, there have been numerous small bug fixes, improvements in
speed and portability.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 23 22:24:11 2005 UTC (19 years, 1 month ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.73 (colored)

Add RMD160 digests.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 6 13:07:59 2005 UTC (19 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) to selected 1.73 (colored)

Changes 2.0.5:
* Bug fixes

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 2 13:08:09 2004 UTC (19 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.1: +4 -5 lines
Diff to previous 1.1 (colored) to selected 1.73 (colored)

update to 2.0.2
2.0 was a major feature release - too many to list here, see the
included ChangeLog.* files for details.
2.0.x fixed bugs.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed May 7 11:55:03 2003 UTC (20 years, 10 months ago) by dmcmahill
Branch: TNF
CVS Tags: pkgsrc-base, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.73 (colored)

import cmake-1.6.6


CMake is an extensible, open-source system that manages the build
process in an operating system and compiler independent manner. Unlike
many cross-platform systems, CMake is designed to be used in
conjunction with the native build environment. Simple configuration
files placed in each source directory (called CMakeLists.txt files)
are used to generate standard build files (e.g., makefiles on Unix and
projects/workspaces in Windows MSVC) which are used in the usual
way. CMake can compile source code, create libraries, generate
wrappers, and build executables in arbitrary combinations. CMake
supports in-place and out-of-place builds, and can therefore support
multiple builds from a single source tree. CMake also supports static
and dynamic library builds.  Another nice feature of CMake is that it
generates a cache file that is designed to be used with a graphical
editor.  For example, when CMake runs, it locates include files,
libraries, and executable, and may encounter optional build
directives. This information is gathered into the cache, which may be
changed by the user prior to the generation of the native build files.

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 7 11:55:03 2003 UTC (20 years, 10 months ago) by dmcmahill
Branch: MAIN
Diff to selected 1.73 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>