Subject: CVS commit: pkgsrc/devel/cmake
From: Adam Ciarcinski
Date: 2017-04-11 22:18:54
Message id: 20170411201854.7039DFBE4@cvs.NetBSD.org

Log Message:
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 “targets” \ 
files to be imported into generated project files.

...more...

Files:
RevisionActionfile
1.3modifypkgsrc/devel/cmake/patches/patch-Source_CursesDialog_ccmake.cxx
1.97modifypkgsrc/devel/cmake/distinfo
1.45modifypkgsrc/devel/cmake/PLIST
1.7modifypkgsrc/devel/cmake/Makefile.version
1.131modifypkgsrc/devel/cmake/Makefile