Commit graph

142 commits

Author SHA1 Message Date
wiz
f2268ee5bf 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.
2015-11-17 12:12:11 +00:00
agc
d9e4cfe05d 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.
2015-11-03 03:27:11 +00:00
jperkin
1ed6a24b29 Support SunOS/clang by reusing the GNU Platform files. Bump PKGREVISION. 2015-10-27 09:04:38 +00:00
wiz
0a49d6acdc 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
2015-09-29 08:34:14 +00:00
joerg
78268fcbb7 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.
2015-09-15 13:08:37 +00:00
wiz
08b6afd76a Add URLs to upstream bug reports. 2015-09-12 16:46:11 +00:00
joerg
971456fe39 Remove the need for ncurses, just a curses with libform is enough.
Bump revision.
2015-09-12 15:15:49 +00:00
ryoon
b9f3b0f0e9 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)
2015-08-20 11:35:33 +00:00
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
wiz
0eb141f110 Bump PKGREVISION for ncurses shlib bump. 2015-08-17 17:11:19 +00:00
wiz
75965b816e 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".
2015-07-26 23:10:47 +00:00
richard
81da225e94 regen distinfo for cmake 2015-06-12 18:50:03 +00:00
richard
4974279599 Update FindX11 patch and avoid isfinite redefinition for jsoncpp on SunOS
Revbump as well...
2015-06-12 18:42:25 +00:00
adam
fb244d5d2d 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
2015-06-09 08:21:40 +00:00
adam
c537e2e03a 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
2015-04-15 11:28:18 +00:00
adam
d5e893e8cb 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.
2015-04-07 20:53:48 +00:00
adam
13bce13034 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
2015-02-13 14:03:48 +00:00
wiz
51cea27182 Bug was fixed slightly differently upstream, remove unnecessary patch. 2015-02-05 18:20:06 +00:00
adam
ca37603981 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
2015-02-05 17:45:22 +00:00
wiz
6d1e769f0d 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
2015-01-24 16:55:20 +00:00
wiz
742fd37720 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.
2015-01-23 04:06:08 +00:00
adam
cdc27971b3 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".
2015-01-17 13:29:55 +00:00
adam
cf9c96135f Changes 3.0.2:
Bug fix release.
2014-10-01 07:33:24 +00:00
adam
f2fe688425 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.
2014-08-10 10:02:51 +00:00
wiz
6b5cf374c1 Drop maintainership. 2014-08-06 15:43:52 +00:00
ryoon
0ba4bb3df1 Fix SCO OpenServer 5.0.7/3.2 build really.
Treat SCO_SV as SysV.
2014-07-18 10:00:18 +00:00
ryoon
c92e3c1a25 Add SCO OpenServer 5.0.7/3.2 support. Fix build. 2014-07-17 13:44:28 +00:00
asau
1bd8b51558 Treat DragonFly the same way as FreeBSD.
This fixes build on DragonFly 3.7 as reported by David Shao in PR pkg/48660.
2014-03-25 07:11:52 +00:00
asau
02945bc9a3 Treat NetBSD, FreeBSD, and OpenBSD uniformly.
This fixes build on FreeBSD 10 (tested by Youri Mouton) and 9.1.
2014-03-24 20:42:11 +00:00
markd
c5435b25cc fix check for freetype-2.5.1
Julian Ospald in http://www.cmake.org/Bug/view.php?id=14601
Bump PKGREVISION
2014-03-22 08:39:10 +00:00
asau
e2411dc97d Uses libexecinfo (fixes build on FreeBSD 10). 2014-03-14 22:47:44 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
adam
03224e2fd5 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
2014-02-01 11:14:06 +00:00
bsiegert
867672017a Add a Platform/MirBSD.cmake file to fix the MirBSD build. The file is
installed along with other platform files, so I had to amend PLIST and
bump the PKGREVISION.

reviewed by wiz@, adam@
2013-12-19 14:29:07 +00:00
adam
f7e7d8bd16 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
2013-11-14 07:59:44 +00:00
obache
4d501d768d Add conditions for NetBSD, especially fixes build on NetBSD-current. 2013-10-25 10:49:23 +00:00
obache
7d591b44d9 restore ncurses dependency fix, it had been lost at updated to 2.8.12. 2013-10-24 04:54:15 +00:00
obache
e14bfa8889 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.
2013-10-24 04:50:57 +00:00
adam
c5f881767a Fix building on SunOS 2013-10-19 08:04:34 +00:00
adam
db0bdc56f9 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...
2013-10-17 14:42:46 +00:00
roy
0cec0f9513 Only pull in ncurses dependency if the sytem curses does not supply wsyncup. 2013-10-14 08:56:39 +00:00
wiz
9c2178646d xmlrpc-c dependency is not needed since around cmake-2.8. Noted by joerg.
Bump PKGREVISION.
2013-10-02 20:26:47 +00:00
joerg
9ce0668ecf Adjust Cygwin to the normal pkgsrc installation layout. Add one file
that doesn't seem to get installed otherwise.
2013-10-02 20:04:04 +00:00
adam
4fdbb9b178 Revbump after updating textproc/xmlrpc-c 2013-09-12 18:58:07 +00:00
roy
dd06ed5377 Only pull in ncurses dependency if the system curses doesn't supply wsyncup 2013-07-31 11:17:40 +00:00
ryoon
749db60e8b 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
2013-07-20 12:49:26 +00:00
jperkin
1070bf5f40 Use the correct CMake define, from wiz. Fixes SunOS build. 2013-06-03 08:45:27 +00:00
adam
958faaf708 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.
2013-05-29 09:59:15 +00:00
mef
9be8a7e718 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.
2013-05-03 01:37:02 +00:00
mef
fbe81f5481 PR pkg/47792
Correct install PREFIX found on Modules/CMakeGenericSystem.cmake.
The example of problem was found on wip/trustedQSL (1.14)
2013-05-03 00:58:05 +00:00