Commit graph

97 commits

Author SHA1 Message Date
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
brook
a704ef2dce Fix apparently incorrect checksums. 2011-09-14 21:21:53 +00:00
brook
118662cc8b Replace paths with ${LOCALBASE} instead of hard-coding /usr/pkg into
installed files.
2011-09-14 17:54:48 +00:00
adam
a6bd260069 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...
2011-07-31 22:04:03 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
adam
136b5f27c7 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
2011-02-22 15:05:33 +00:00
wiz
43f931b3e5 Find png-1.5. Bump PKGREVISION. 2011-01-14 11:18:02 +00:00
adam
0d2a353ef0 Cmake requires libarchive>=2.8.4 2010-11-13 06:54:13 +00:00
adam
cf5859bc54 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.
2010-11-11 08:34:01 +00:00
adam
bcda5d7922 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
2010-10-19 08:15:01 +00:00
wiz
e8d8834f6a 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.
2010-06-13 22:43:46 +00:00
adam
f2eaf6ba8a 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.
2010-04-09 13:25:34 +00:00
wiz
97d24656b9 Fix build on NetBSD/sparc*.
From Jochen Kunz.
2010-02-25 21:12:03 +00:00
drochner
593f67f958 a builtin curses which supports wsyncup is considered good enough,
don't need ncurses in this case
2010-02-23 19:51:59 +00:00
drochner
d202e4278e 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)
2010-02-12 13:45:54 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
adam
8b604efb71 Changed 2.8.0:
This version of CMake fixes many open issues and provides some exciting new
features.
2009-11-25 19:08:18 +00:00
drochner
aad33fd9d5 bump PKGREVISION to get it rebuilt with the new xmlrpc-c dependency
pattern, should fix the "downgrade" problem reported by obache
2009-10-29 12:07:39 +00:00
adam
8622638926 Added PLIST.Darwin: cmake installs 'cmakexbuild' on Darwin 2009-08-30 17:05:48 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
hasso
e62c7276c3 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
2009-05-11 08:02:09 +00:00
hasso
3f0fe0a549 * 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
2009-04-19 10:35:55 +00:00
drochner
7238a35359 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
2009-04-07 10:42:14 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
406c2e57b4 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
2008-11-08 13:20:17 +00:00
markd
e34d43bc4f Substitute /usr/local with ${LOCALBASE} (not ${X11BASE})
Bump PKGREVISION.
2008-09-13 10:53:51 +00:00
joerg
975a9a932d Do not use OPSYS for the platform rules, they are an enumeration of all
supported platforms. From PR 39407.
2008-08-26 11:37:10 +00:00
bjs
cb0e36ddf7 Update patchsum and remove trailing whitespace in Makefile. 2008-08-25 02:45:12 +00:00
bjs
38c7025385 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.
2008-08-25 02:44:05 +00:00
bjs
219983aa33 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.
2008-02-06 07:01:17 +00:00