[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / cmake-gui

File: [cvs.NetBSD.org] / pkgsrc / devel / cmake-gui / Makefile (download)

Revision 1.7, Sat Mar 21 12:58:00 2020 UTC (3 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.6: +1 -2 lines

cmake: updated to 3.17.0

Some of the more significant changes in CMake 3.17 are:

„ŗ◊ńmake(1)„ŗgained a „ŗ◊Įinja Multi-Config„ŗgenerator, which is similar to the „ŗ◊Įinja„ŗgenerator but can be used to build multiple configurations at once.
Visual Studio Generators learned to support per-config sources. Previously only Command-Line Build Tool Generators supported them.
The „ŗ◊§ompile Features„ŗfunctionality now offers meta-features for the CUDA language standard levels (e.g. „ŗ◊ńuda_std_03„ŗ „ŗ◊ńuda_std_14„ŗ. See „ŗ◊§MAKE_CUDA_KNOWN_FEATURES„ŗ
The „ŗ◊§MAKE_CUDA_RUNTIME_LIBRARY„ŗvariable and „ŗ◊§UDA_RUNTIME_LIBRARY„ŗtarget property were introduced to select the CUDA runtime library used when linking targets that use CUDA.
The „ŗ◊ßindCUDAToolkit„ŗmodule was added to find the CUDA Toolkit without enabling CUDA as a language.
„ŗ◊ńmake(1)„ŗgained a „ŗōšdebug-find„ŗcommand-line option to enable additional human-readable output on where find commands search.
The „ŗ◊§MAKE_FIND_DEBUG_MODE„ŗvariable was introduced to print extra find call information during the cmake run to standard error. Output is designed for human consumption and not for parsing.
The „ŗ◊ßindCURL„ŗmodule learned to find CURL using the „ŗ◊§URLConfig.cmake„ŗpackage configuration file generated by CURL„ŗ—‘ cmake buildsystem. It also gained a new „ŗ◊§URL_NO_CURL_CMAKE„ŗoption to disable this behavior.
The „ŗ◊ßindPython„ŗmodule has learned to find Python components in active virtual environments managed by „ŗ◊ńonda„ŗ
The „ŗ◊ńtest(1)„ŗtool gained a „ŗōšno-tests=<[error|ignore]>„ŗoption to explicitly set and unify the behavior between direct invocation and script mode if no tests were found.
The „ŗ◊ńtest(1)„ŗtool gained a „ŗōšrepeat :„ŗoption to specify conditions in which to repeat tests. This generalizes the existing „ŗōšrepeat-until-fail „ŗoption to add modes for „ŗ◊÷ntil-pass„ŗand „ŗ◊¬fter-timeout„ŗ
Target link properties „ŗ◊™NTERFACE_LINK_OPTIONS„ŗ „ŗ◊™NTERFACE_LINK_DIRECTORIES„ŗand „ŗ◊™NTERFACE_LINK_DEPENDS„ŗare now transitive over private dependencies on static libraries. See policy „ŗ◊§MP0099„ŗ
When using MinGW tools, the „ŗ◊«ind_library()„ŗcommand no longer finds „ŗdll„ŗfiles by default. Instead it expects „ŗdll.a„ŗimport libraries to be available.
The „ŗ◊Įinja„ŗgenerator now prefers the first ninja build tool to appear in the „ŗ◊ĪATH„ŗno matter whether it is called „ŗ◊Ōinja-build„ŗ „ŗ◊Ōinja„ŗ or „ŗ◊‘amu„ŗ Previously the first of those names to appear anywhere in the „ŗ◊ĪATH„ŗwould be preferred.
„ŗ◊ńmake(1)„ŗgained a „ŗE rm„ŗcommand-line tool that can be used to remove directories and files. This supersedes the existing „ŗE remove„ŗand „ŗE remove_directory„ŗtools and has better semantics.

# $NetBSD: Makefile,v 1.7 2020/03/21 12:58:00 adam Exp $

.include "../../devel/cmake/Makefile.common"

PKGNAME=	cmake-gui-${CMAKE_VERSION}

COMMENT=	CMake GUI

USE_CMAKE=	yes
BUILD_DIRS=	Source/QtDialog
CMAKE_ARGS+=	-DBUILD_TESTING=OFF
CMAKE_ARGS+=	-DBUILD_QtDialog=ON
CMAKE_ARGS+=	-DCMAKE_USE_SYSTEM_LIBARCHIVE=ON
CMAKE_ARGS+=	-DCMAKE_USE_SYSTEM_CURL=ON
CMAKE_ARGS+=	-DCMAKE_USE_SYSTEM_EXPAT=ON
CMAKE_ARGS+=	-DCMAKE_USE_SYSTEM_FORM=ON
CMAKE_ARGS+=	-DCMAKE_USE_SYSTEM_JSONCPP=ON
CMAKE_ARGS+=	-DCMAKE_USE_SYSTEM_LIBRHASH=ON
CMAKE_ARGS+=	-DCMAKE_USE_SYSTEM_LIBUV=ON

post-build:
	cd ${WRKSRC}/bin && ${LN} -f -s ${CMAKE} cmake

BUILDLINK_API_DEPENDS.libarchive+=	libarchive>=3.3.3
.include "../../archivers/libarchive/buildlink3.mk"
.include "../../devel/libexecinfo/buildlink3.mk"
.include "../../devel/libuv/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../misc/rhash/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../textproc/jsoncpp/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"