From: Ludwig Jäck Date: Fri, 31 May 2024 10:03:13 +0000 (+0200) Subject: Cleanup of gccxml installs X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=760dc8abcc76d392679515d465ded65ded465180;p=libt2n Cleanup of gccxml installs Since libt2n migrates to castxml, gccxml files do not need to be installed --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 74b3e4d..7ea6bb7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,9 +126,6 @@ set(datadir ${CMAKE_INSTALL_PREFIX}/share) configure_file(${CMAKE_SOURCE_DIR}/libt2n.pc.in ${CMAKE_BINARY_DIR}/libt2n.pc @ONLY) install(FILES ${CMAKE_BINARY_DIR}/libt2n.pc DESTINATION lib/pkgconfig) -# Installation of scripts -install(PROGRAMS libt2n-gccxml.sh DESTINATION bin) - # Subdirectories set(CPACK_SET_DESTDIR "ON") add_subdirectory(src) diff --git a/libt2n-gccxml.sh b/libt2n-gccxml.sh deleted file mode 100755 index 2f7309f..0000000 --- a/libt2n-gccxml.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -# Filter "-pthread" option from newer gcc versions -# as it's currently unsupported in gccxml. -EOO=0 -while [[ $1 ]]; do -if ! ((EOO)); then - case "$1" in - -pthread) - shift - ;; - --) - EOO=1 - OPTIONS="$OPTIONS $1" - shift - ;; - *) - OPTIONS="$OPTIONS $1" - shift - ;; - esac -else - OPTIONS="$OPTIONS $1" - shift -fi -done - -gccxml $OPTIONS