Revision: 77590
http://sourceforge.net/p/brlcad/code/77590
Author: starseeker
Date: 2020-10-23 03:01:19 +0000 (Fri, 23 Oct 2020)
Log Message:
-----------
moved perplex et. al. to src/other/ext
Modified Paths:
--------------
brlcad/branches/extbuild/misc/tools/CMakeLists.txt
Removed Paths:
-------------
brlcad/branches/extbuild/misc/tools/lemon/
brlcad/branches/extbuild/misc/tools/lemon.dist
brlcad/branches/extbuild/misc/tools/perplex.dist
Modified: brlcad/branches/extbuild/misc/tools/CMakeLists.txt
===================================================================
--- brlcad/branches/extbuild/misc/tools/CMakeLists.txt 2020-10-23 02:58:46 UTC
(rev 77589)
+++ brlcad/branches/extbuild/misc/tools/CMakeLists.txt 2020-10-23 03:01:19 UTC
(rev 77590)
@@ -43,89 +43,6 @@
CMAKEFILES(${dlist})
endforeach(ITEM ${dlists})
-# For those wanting to use a system version of the LEMON parser
-# generator from sqlite, remember that the presence of /usr/bin/lemon
-# is not enough. LEMON needs a template file, lempar.c, and by
-# default it needs it in the same directory as /usr/bin/lemon. The
-# typical approach to avoiding that requirement is to patch lemon,
-# like this Gentoo ebuild:
-#
-# http://gentoo-overlays.zugaina.org/gentoo-zh/portage/dev-util/lemon/
-#
-# LEMON packages for other major Linux/BSD distros will do the same.
-# BRL-CAD's FindLEMON.cmake macros will look for the template file in
-# the executable directory first, and if not there will check in
-# /usr/share/lemon (the location used by several distributions.) If
-# your distribution has a working lemon with the lempar.c template
-# file in a custom location, specify the full path to the template
-# with the variable LEMON_TEMPLATE - something like:
-#
-# cmake .. -DLEMON_TEMPLATE=/etc/lemon/lempar.c
-#
-# This is not to tell LEMON what template to use - that information is
-# usually hardcoded in LEMON itself - but to let FindLEMON.cmake know
-# there is a working LEMON installation.
-set(LEMON_SKIP_INSTALL 1)
-set(lemon_DESCRIPTION "
-Option for enabling and disabling compilation of the lemon parser
-provided with BRL-CAD's source distribution. Default is AUTO,
-responsive to the toplevel BRLCAD_BUNDLED_LIBS option and testing
-first for a system version if BRLCAD_BUNDLED_LIBS is also AUTO.
-")
-THIRD_PARTY_EXECUTABLE(lemon LEMON lemon REQUIRED "BRLCAD_LEVEL2" ALIASES
"ENABLE_LEMON" DESCRIPTION lemon_DESCRIPTION)
-if("${BRLCAD_BUNDLED_LIBS}" STREQUAL "BUNDLED" OR "${BRLCAD_LEMON}" MATCHES
"BUNDLED")
- set(LEMON_TEMPLATE "${BRLCAD_SOURCE_DIR}/misc/tools/lemon/lempar.c" CACHE
STRING "Lemon template file" FORCE)
- set(LEMON_EXECUTABLE_TARGET "lemon" CACHE STRING "lemon target" FORCE)
-endif("${BRLCAD_BUNDLED_LIBS}" STREQUAL "BUNDLED" OR "${BRLCAD_LEMON}" MATCHES
"BUNDLED")
-DISTCLEAN(${CMAKE_CURRENT_BINARY_DIR}/lemon/Makefile)
-# Make sure we load FindLEMON.cmake to be able to define LEMON targets.
-include(${BRLCAD_CMAKE_DIR}/FindLEMON.cmake)
-SetTargetFolder(lemon "Compilation Utilities")
-SetTargetFolder(lempar_cp "Compilation Utilities")
-
-set(RE2C_SKIP_INSTALL 1)
-set(re2c_DESCRIPTION "
-Option for enabling and disabling compilation of the re2c scanner
-utility provided with BRL-CAD's source distribution. Default is AUTO,
-responsive to the toplevel BRLCAD_BUNDLED_LIBS option and testing
-first for a system version if BRLCAD_BUNDLED_LIBS is also AUTO.
-")
-THIRD_PARTY_EXECUTABLE(re2c RE2C re2c REQUIRED "BRLCAD_LEVEL2" ALIASES
"ENABLE_RE2C" DESCRIPTION re2c_DESCRIPTION)
-DISTCLEAN(${CMAKE_CURRENT_BINARY_DIR}/re2c/Makefile)
-DISTCLEAN(${CMAKE_CURRENT_BINARY_DIR}/re2c/re2cParse_parser/parser.yy)
-DISTCLEAN(${CMAKE_CURRENT_BINARY_DIR}/re2c/re2cParse_bootstrap_parser/parser.yy)
-SetTargetFolder(re2c "Compilation Utilities")
-SetTargetFolder(re2c_bootstrap "Compilation Utilities")
-# Make sure we load FindRE2C.cmake to be able to define RE2C targets.
-include(${BRLCAD_CMAKE_DIR}/FindRE2C.cmake)
-
-# Perplex is set up as a misc/tools sub-build, but at this time it is
-# entirely a BRL-CAD effort and not distributed or maintained as its
-# own project.
-
-# For all BRL-CAD projects, we will use the perplex template in
-# misc/tools/perplex
-set(PERPLEX_TEMPLATE "${CMAKE_CURRENT_SOURCE_DIR}/perplex/perplex_template.c"
CACHE STRING "Perplex template file" FORCE)
-mark_as_advanced(PERPLEX_TEMPLATE)
-
-set(PERPLEX_SKIP_INSTALL 1)
-set(perplex_DESCRIPTION "
-Option for enabling and disabling compilation of the perplex scanner
-generator provided with BRL-CAD's source distribution. Default is
-AUTO, responsive to the toplevel BRLCAD_BUNDLED_LIBS option and
-testing first for a system version if BRLCAD_BUNDLED_LIBS is also
-AUTO. perplex requires a working re2c.
-")
-THIRD_PARTY_EXECUTABLE(perplex PERPLEX perplex REQUIRED "BRLCAD_LEVEL2"
ALIASES "ENABLE_PERPLEX" DESCRIPTION perplex_DESCRIPTION NOSYS)
-# Make sure we load FindPERPLEX.cmake to be able to define PERPLEX targets.
-include(${BRLCAD_CMAKE_DIR}/FindPERPLEX.cmake)
-
-DISTCLEAN(${CMAKE_CURRENT_BINARY_DIR}/perplex/Makefile)
-DISTCLEAN(${CMAKE_CURRENT_BINARY_DIR}/perplex/PERPLEX_parser/parser.y)
-SetTargetFolder(perplex "Compilation Utilities")
-SetTargetFolder(perplex_template_cp "Compilation Utilities")
-
-
# To enforce style guidelines rigorously, BRL-CAD bundles the
# Artistic Style code formatter. This tool is LGPLv3 licensed
# and its code can *not* be used in BRL-CAD itself - it
Deleted: brlcad/branches/extbuild/misc/tools/lemon.dist
===================================================================
--- brlcad/branches/extbuild/misc/tools/lemon.dist 2020-10-23 02:58:46 UTC
(rev 77589)
+++ brlcad/branches/extbuild/misc/tools/lemon.dist 2020-10-23 03:01:19 UTC
(rev 77590)
@@ -1,6 +0,0 @@
-set(lemon_ignore_files
-CMakeLists.txt
-README
-lemon.c
-lempar.c
-)
Deleted: brlcad/branches/extbuild/misc/tools/perplex.dist
===================================================================
--- brlcad/branches/extbuild/misc/tools/perplex.dist 2020-10-23 02:58:46 UTC
(rev 77589)
+++ brlcad/branches/extbuild/misc/tools/perplex.dist 2020-10-23 03:01:19 UTC
(rev 77590)
@@ -1,15 +0,0 @@
-set(perplex_ignore_files
-CHANGELOG.txt
-CMake/FindLEMON.cmake
-CMake/FindRE2C.cmake
-CMakeLists.txt
-README.txt
-mbo_getopt.cpp
-mbo_getopt.h
-parser.y
-perplex.cpp
-perplex.h
-perplex_template.c
-scanner.re
-token_type.h
-)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits