Commit graph

126 commits

Author SHA1 Message Date
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
roy
4ed2f14c65 Only pull in ncurses if the system curses doesn't supply wsyncup. 2013-03-04 10:01:13 +00:00
wiz
b4b19ecd1f Detect png-1.6. Bump PKGREVISION. 2013-02-16 11:40:37 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
obache
64deda1dc9 recursive bump from cyrus-sasl libsasl2 shlib major bump. 2012-12-16 01:51:57 +00:00
adam
02fe4add64 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.
2012-11-15 19:31:54 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
wiz
b76917e1e0 Add upstream bug report URL. 2012-10-24 22:42:16 +00:00
wiz
9a7aef0a00 Add comments to patches. 2012-09-14 13:26:20 +00:00
marino
82324f0196 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
2012-08-11 11:10:54 +00:00
adam
03714674da 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
2012-08-07 16:18:26 +00:00
abs
53dfd47444 Add VAX to the list of supported architectures
(That is not a typo)
2012-05-28 18:06:48 +00:00
hans
16728a73c8 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
2012-02-16 18:32:25 +00:00
adam
ac95209aed Fix for PR#45800 2012-01-08 17:44:23 +00:00
adam
8545996a28 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.
2012-01-08 09:47:42 +00:00
sbd
0dc6193f32 Recursive bump for archivers/libarchive buildlink addition. 2011-11-01 06:50:28 +00:00
adam
4a9c53cd81 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 “Visual Studio 9 2008 IA64” and “Visual 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.
2011-10-15 07:24:30 +00:00