b92b422553
iwyu 0.16 compatible with llvm+clang 12 is released. Major changes: [iwyu_tool] Accept --load/-l argument for load limiting [iwyu_tool] Signal success/failure with exit code [mappings] Harmonize mapping generators [mappings] Add mapping generator for CPython [mappings] Improve mappings for libstdc++ and Boost [cmake] Add explicit C++14 compiler flag ... and many internal improvements iwyu 0.15 compatible with llvm+clang 11 is released. Major changes: [iwyu] Fix crash due to undefined behavior in AST traversal [iwyu] Improve handling of operator new including C++17 features [iwyu] Improve handling of templates [iwyu_tool] Remove known compiler wrappers from the command list [mappings] Improve Qt mapping generator [mappings] Improve boost mappings [mappings] Improve built-in mappings for <time.h> [mappings] Add built-in mappings for max_align_t, ptrdiff_t, and wchar_t [cmake] Support shared LLVM/Clang libraries and other improvements
25 lines
662 B
Makefile
25 lines
662 B
Makefile
# $NetBSD: Makefile,v 1.25 2021/07/12 18:49:29 adam Exp $
|
|
|
|
DISTNAME= include-what-you-use-0.16.src
|
|
PKGNAME= ${DISTNAME:S/.src//1}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://include-what-you-use.org/downloads/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://include-what-you-use.org/
|
|
COMMENT= Analyze \#includes in C and C++ source files
|
|
LICENSE= modified-bsd
|
|
|
|
WRKSRC= ${WRKDIR}/include-what-you-use
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++14
|
|
|
|
GCC_REQD+= 5
|
|
|
|
CMAKE_ARGS= -DIWYU_LLVM_ROOT_PATH:PATH=${BUILDLINK_PREFIX.clang}
|
|
|
|
REPLACE_PYTHON= *.py
|
|
|
|
.include "../../lang/clang/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|