Path to this page:
Subject: CVS commit: pkgsrc/devel/cmake
From: Adam Ciarcinski
Date: 2017-07-19 19:44:34
Message id: 20170719174434.578D7FACD@cvs.NetBSD.org
Log Message:
3.9.0:
* The âVisual Studio 14 2015â generator has been taught about a
change to the âv140â toolset made by a VS 2015 update. VS changed
the set of values it understands for the âGenerateDebugInformationâ
linker setting that produces the â-DEBUGâ linker flag variants.
* âCUDAâ is now supported by the Visual Studio Generators for VS
2010 and above. This complements the existing support by the
Makefile Generators and the âNinjaâ 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 âC++ standardsâ and âC standardsâ and
their associated meta-features for the following âcompiler idsâ:
âCrayâ, âPGIâ, and âXLâ.
* The âadd_library()â command âIMPORTEDâ option learned to \
support
Object Libraries.
* All âfind_â commands now have a âPACKAGE_ROOTâ search path \
group
that is first in the search heuristics. If a âfind_â 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 âinstall(TARGETS)â command learned a new âOBJECTSâ \
option to
specify where to install Object Libraries.
* The âinstall(EXPORT)â command learned how to export Object
Libraries.
* A âBUILD_WITH_INSTALL_NAME_DIRâ target property and corresponding
âCMAKE_BUILD_WITH_INSTALL_NAME_DIRâ variable were added to control
whether to use the âINSTALL_NAME_DIRâ target property value for
binaries in the build tree. This is for macOS âinstall_nameâ as
âBUILD_WITH_INSTALL_RPATHâ is for âRPATHâ.
* A âCUDA_PTX_COMPILATIONâ target property was added to Object
Libraries to support compiling to â.ptxâ files instead of host
object files.
* A new âGoogleTestâ module was added to provide the
âgtest_add_tests()â function independently of the âFindGTestâ
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 âNinjaâ 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âs
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
âINTERPROCEDURAL_OPTIMIZATIONâ target property and
âCheckIPOSupportedâ module.
* The âTARGET_OBJECTSâ âgenerator expressionâ is now supported by
the âadd_custom_command()â and âfile(GENERATE)â commands.
Files: