diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-18 18:48:46 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-24 22:20:33 +0300 |
commit | a8ce5c380c69539fe0c7c62c397634d9d0c9fde2 (patch) | |
tree | c8db5c9b99416ca4686af953387f474af15bc92e | |
parent | 7420f85ea19b0562ffdd8123442f32bc8bac1267 (diff) |
Switch to build2
1852 files changed, 90633 insertions, 160627 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1631641 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,19 @@ +# This is a good default: files that are auto-detected by git to be text are +# converted to the platform-native line ending (LF on Unix, CRLF on Windows) +# in the working tree and to LF in the repository. +# +* text=auto + +# Use `eol=crlf` for files that should have the CRLF line ending both in the +# working tree (even on Unix) and in the repository. +# +#*.bat text eol=crlf + +# Use `eol=lf` for files that should have the LF line ending both in the +# working tree (even on Windows) and in the repository. +# +#*.sh text eol=lf + +# Use `binary` to make sure certain files are never auto-detected as text. +# +#*.png binary @@ -1,25 +1 @@ -# Compiler/linker output. -# -*.o -*.o.d -*.so -*.a -*.l -*.l.cpp-options - -# Generated documentation. -# -*.pdf -*.ps - -# Generated build system files. -# -*-dynamic.make - -# Generated .gitignore files. -# -.gitignore - -# Convenience symlink to the XSD binary built in a separate directory. -# -xsd/xsd +.bdep/ diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 5926538..0000000 --- a/INSTALL +++ /dev/null @@ -1,71 +0,0 @@ -Compiler Prerequisites - - build-time: - - - g++ >= 3.4.3 http://gcc.gnu.org - - build >= 0.3.10 https://www.codesynthesis.com/projects/build/ - - cli >= 1.2.0 https://www.codesynthesis.com/projects/cli/ - - run-time: - - - libxerces-c >= 3.0.0 http://xerces.apache.org/xerces-c/ - - libcutl >= 1.8.0 https://www.codesynthesis.com/projects/libcutl/ - - libxsd-frontend >= 2.0.0 https://www.codesynthesis.com/projects/libxsd-frontend/ - - -Generated Code Prerequisites - - build-time: - - - libxsd (header-only XSD runtime library, part of the XSD distribution) - - run-time: - - - libxerces-c >= 3.0.0 (C++/Tree and C++/Parser mappings) - http://xerces.apache.org/xerces-c/ - - - libexpat >= 1.95.8 (C++/Parser mapping, alternative to libxerces-c) - http://www.libexpat.org - - -Building XSD - - First build (and optionally install) all the prerequisites listed above. - Alternatively, you can use the xsd+dep package that includes all the - prerequisites (except g++ and libxerces-c) and can be built with a - single 'make' invocation. - - Once the prerequisites are ready, to build the XSD compiler in source - directory simply run 'make'. You can also build in a separate directory, - for example: - - $ mkdir xsd-i686-pc-linux-gnu - $ cd xsd-i686-pc-linux-gnu - $ make -f ../xsd-x.y.z/makefile - - -Installing XSD - - To install XSD, run 'make install'. Use the install_prefix command - line variable to specify installation location (default is /usr/local), - for example: - - $ make install_prefix=/usr install - - You can fine-tune the installation locations with the following make - variables: - - install_prefix default is /usr/local - install_data_prefix default is install_prefix - install_exec_prefix default is install_prefix - - install_bin_dir default is install_exec_prefix/bin - install_sbin_dir default is install_exec_prefix/sbin - install_lib_dir default is install_exec_prefix/lib - - install_data_dir default is install_data_prefix/share - install_inc_dir default is install_data_prefix/include - - install_doc_dir default is install_data_dir/doc - install_man_dir default is install_data_dir/man - install_info_dir default is install_data_dir/info @@ -1,4 +1,4 @@ -Copyright (c) 2009-2020 Code Synthesis Tools CC. +Copyright (c) 2005-2021 Code Synthesis Tools CC. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as diff --git a/build/bootstrap.make b/build/bootstrap.make deleted file mode 100644 index da317c3..0000000 --- a/build/bootstrap.make +++ /dev/null @@ -1,101 +0,0 @@ -# file : build/bootstrap.make -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -project_name := xsd - -# First try to include the bundled bootstrap.make if it exist. If that -# fails, let make search for the external bootstrap.make. -# -build := build-0.3 - --include $(dir $(lastword $(MAKEFILE_LIST)))../../$(build)/bootstrap.make - -ifeq ($(patsubst %build/bootstrap.make,,$(lastword $(MAKEFILE_LIST))),) -include $(build)/bootstrap.make -endif - -def_goal := $(.DEFAULT_GOAL) - -# Configuration -# -$(call include,$(scf_root)/configuration.make) - -# Include C++ configuration. We need to know if we are using the generic -# C++ compiler in which case we need to compensate for missing dependency -# auto-generation (see below). -# -$(call include,$(bld_root)/cxx/configuration.make) - -# Aliases -# -.PHONY: $(out_base)/ \ - $(out_base)/.test \ - $(out_base)/.install \ - $(out_base)/.dist \ - $(out_base)/.dist-win \ - $(out_base)/.dist-common \ - $(out_base)/.clean - -ifdef %interactive% - -.PHONY: test install dist dist-win clean - -test: $(out_base)/.test -install: $(out_base)/.install -dist: $(out_base)/.dist -dist-win: $(out_base)/.dist-win -clean: $(out_base)/.clean - -endif - - -# Make sure the distribution prefix is set if the goal is dist or dist-win. -# -ifneq ($(filter $(MAKECMDGOALS),dist dist-win),) -ifeq ($(dist_prefix),) -$(error dist_prefix is not set) -endif -endif - -# If we don't have dependency auto-generation then we need to manually -# make sure that generated files are generated before C++ file are -# compiler. To do this we make the object files ($2) depend in order- -# only on generated files ($3). -# -ifeq ($(cxx_id),generic) - -define include-dep -$(if $2,$(eval $2: | $3)) -endef - -else - -define include-dep -$(call -include,$1) -endef - -endif - -# Don't include dependency info for certain targets. -# -ifneq ($(filter $(MAKECMDGOALS),clean disfigure),) -include-dep = -endif - - -# For dist, install don't include dependencies in examples, and tests -# since we might be cross-compiling. -# -ifneq ($(filter $(MAKECMDGOALS),dist dist-win install),) - -ifneq ($(subst $(src_root)/tests/,,$(src_base)),$(src_base)) -include-dep = -endif - -ifneq ($(subst $(src_root)/examples/,,$(src_base)),$(src_base)) -include-dep = -endif - -endif - -.DEFAULT_GOAL := $(def_goal) diff --git a/build/configuration-rules.make b/build/configuration-rules.make deleted file mode 100644 index e5e2b08..0000000 --- a/build/configuration-rules.make +++ /dev/null @@ -1,16 +0,0 @@ -# file : build/configuration-rules.make -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -$(dcf_root)/configuration-dynamic.make: | $(dcf_root)/. - $(call message,,$(scf_root)/configure $@) - -ifndef %foreign% - -disfigure:: - $(call message,rm $$1,rm -f $$1,$(dcf_root)/configuration-dynamic.make) - -endif - -ifeq ($(.DEFAULT_GOAL),$(dcf_root)/configuration-dynamic.make) -.DEFAULT_GOAL := -endif diff --git a/build/configuration.make b/build/configuration.make deleted file mode 100644 index fe7f42d..0000000 --- a/build/configuration.make +++ /dev/null @@ -1,30 +0,0 @@ -# file : build/configuration.make -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -$(call include-once,$(scf_root)/configuration-rules.make,$(dcf_root)) - -# Dynamic configuration. -# -xsd_with_zlib := -xsd_with_ace := -xsd_with_xdr := -xsd_with_xqilla := -xsd_with_boost_date_time := -xsd_with_boost_serialization := - -$(call -include,$(dcf_root)/configuration-dynamic.make) - -ifdef xsd_with_zlib - -$(out_root)/%: xsd_with_zlib := $(xsd_with_zlib) -$(out_root)/%: xsd_with_ace := $(xsd_with_ace) -$(out_root)/%: xsd_with_xdr := $(xsd_with_xdr) -$(out_root)/%: xsd_with_xqilla := $(xsd_with_xqilla) -$(out_root)/%: xsd_with_boost_date_time := $(xsd_with_boost_date_time) -$(out_root)/%: xsd_with_boost_serialization := $(xsd_with_boost_serialization) - -else - -.NOTPARALLEL: - -endif diff --git a/build/configure b/build/configure deleted file mode 100755 index 7e3ac79..0000000 --- a/build/configure +++ /dev/null @@ -1,69 +0,0 @@ -#! /usr/bin/env bash - -# file : build/configure -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -# $1 out file -# -# bld_root - build root -# project_name - project name -# - -source $bld_root/dialog.bash - - -$echo -$echo -$echo "configuring '$project_name'" -$echo -$echo - -$echo -$echo "Would you like to build optional parts of '$project_name' that require" -$echo "the 'zlib' library?" -$echo - -with_zlib=`read_y_n n` - -$echo -$echo "Would you like to build optional parts of '$project_name' that require" -$echo "the 'ACE' library?" -$echo - -with_ace=`read_y_n n` - -$echo -$echo "Would you like to build optional parts of '$project_name' that require" -$echo "the 'XDR' library (part of the system in most GNU/Linux and" -$echo "UNIX distributions)?" -$echo - -with_xdr=`read_y_n n` - -$echo -$echo "Would you like to build optional parts of '$project_name' that require" -$echo "the boost 'serialization' library?" -$echo - -with_boost_serialization=`read_y_n n` - -$echo -$echo "Would you like to build optional parts of '$project_name' that require" -$echo "the boost 'date_time' library?" -$echo - -with_boost_date_time=`read_y_n n` - -$echo -$echo "Would you like to build optional parts of '$project_name' that require" -$echo "the XQilla library?" -$echo - -with_xqilla=`read_y_n n` - -echo "xsd_with_zlib := $with_zlib" >$1 -echo "xsd_with_ace := $with_ace" >>$1 -echo "xsd_with_xdr := $with_xdr" >>$1 -echo "xsd_with_xqilla := $with_xqilla" >>$1 -echo "xsd_with_boost_date_time := $with_boost_date_time" >>$1 -echo "xsd_with_boost_serialization := $with_boost_serialization" >>$1 diff --git a/build/import/cli/cli-cxx.make b/build/import/cli/cli-cxx.make deleted file mode 100644 index 9bdf238..0000000 --- a/build/import/cli/cli-cxx.make +++ /dev/null @@ -1,47 +0,0 @@ -# file : build/import/cli/cli-cxx.make -# license : MIT; see accompanying LICENSE file - -# Here we are operating in the importing project's space, not in -# cli's. -# - -# Get the C++ file extensions. -# -$(call include,$(bld_root)/cxx/configuration-static.make) - -cli_pattern := \ -$(out_base)/%.$(cxx_s_suffix) \ -$(out_base)/%.$(cxx_h_suffix) \ -$(out_base)/%.$(cxx_i_suffix) - -$(cli_pattern): cli_options := \ ---hxx-suffix .$(cxx_h_suffix) \ ---ixx-suffix .$(cxx_i_suffix) \ ---cxx-suffix .$(cxx_s_suffix) - -.PRECIOUS: $(cli_pattern) - -ifeq ($(out_base),$(src_base)) - -$(cli_pattern): $(src_base)/%.cli - $(call message,cli $<,$(cli) $(cli_options) --output-dir $(dir $@) $<) - -else - -$(cli_pattern): $(src_base)/%.cli | $$(dir $$@). - $(call message,cli $<,$(cli) $(cli_options) --output-dir $(dir $@) $<) - -$(cli_pattern): $(out_base)/%.cli | $$(dir $$@). - $(call message,cli $<,$(cli) $(cli_options) --output-dir $(dir $@) $<) -endif - -.PHONY: $(out_base)/%.cxx.cli.clean - -$(out_base)/%.cxx.cli.clean: cxx_s_suffix := $(cxx_s_suffix) -$(out_base)/%.cxx.cli.clean: cxx_h_suffix := $(cxx_h_suffix) -$(out_base)/%.cxx.cli.clean: cxx_i_suffix := $(cxx_i_suffix) - -$(out_base)/%.cxx.cli.clean: - $(call message,rm $$1,rm -f $$1,$(@:.cxx.cli.clean=.$(cxx_s_suffix))) - $(call message,rm $$1,rm -f $$1,$(@:.cxx.cli.clean=.$(cxx_h_suffix))) - $(call message,rm $$1,rm -f $$1,$(@:.cxx.cli.clean=.$(cxx_i_suffix))) diff --git a/build/import/cli/configuration-rules.make b/build/import/cli/configuration-rules.make deleted file mode 100644 index 6355000..0000000 --- a/build/import/cli/configuration-rules.make +++ /dev/null @@ -1,13 +0,0 @@ -# file : build/import/cli/configuration-rules.make -# license : MIT; see accompanying LICENSE file - -$(dcf_root)/import/cli/configuration-dynamic.make: | $(dcf_root)/import/cli/. - $(call message,,$(scf_root)/import/cli/configure $@) - -ifndef %foreign% - -$(dcf_root)/.disfigure:: - $(call message,rm $(dcf_root)/import/cli/configuration-dynamic.make,\ -rm -f $(dcf_root)/import/cli/configuration-dynamic.make) - -endif diff --git a/build/import/cli/configure b/build/import/cli/configure deleted file mode 100755 index 2a1fde4..0000000 --- a/build/import/cli/configure +++ /dev/null @@ -1,53 +0,0 @@ -#! /usr/bin/env bash - -# file : build/import/cli/configure -# license : MIT; see accompanying LICENSE file - - -# $1 - out file -# -# bld_root - build root -# project_name - project name -# - -source $bld_root/dialog.bash - - -$echo -$echo "Configuring external dependency on 'cli' for '$project_name'." -$echo - -$echo -$echo "Would you like to configure dependency on the installed " -$echo "version of 'cli' as opposed to the development build?" -$echo - -installed=`read_y_n y` - -path= - -if [ "$installed" = "n" ]; then - -$echo -$echo "Please enter the src_root for 'cli'." -$echo - -src_root=`read_path --directory --exist` - -$echo -$echo "Please enter the out_root for 'cli'." -$eche - -out_root=`read_path --directory $src_root` - -fi - -echo cli_installed := $installed >$1 - -if [ "$installed" = "n" ]; then - -echo src_root := $src_root >>$1 -echo scf_root := \$\(src_root\)/build >>$1 -echo out_root := $out_root >>$1 - -fi diff --git a/build/import/cli/stub.make b/build/import/cli/stub.make deleted file mode 100644 index 741b371..0000000 --- a/build/import/cli/stub.make +++ /dev/null @@ -1,28 +0,0 @@ -# file : build/import/cli/stub.make -# license : MIT; see accompanying LICENSE file - -$(call include-once,$(scf_root)/import/cli/configuration-rules.make,$(dcf_root)) - -cli_installed := - -$(call -include,$(dcf_root)/import/cli/configuration-dynamic.make) - -ifdef cli_installed - -ifeq ($(cli_installed),y) - -$(call export,cli: cli,cli-rules: $(scf_root)/import/cli/cli-cxx.make) - -else - -# Include export stub. -# -$(call include,$(scf_root)/export/cli/stub.make) - -endif - -else - -.NOTPARALLEL: - -endif diff --git a/build/import/libace/configuration-rules.make b/build/import/libace/configuration-rules.make deleted file mode 100644 index 380e849..0000000 --- a/build/import/libace/configuration-rules.make +++ /dev/null @@ -1,13 +0,0 @@ -# file : build/import/libace/configuration-rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libace/configuration-dynamic.make: | $(dcf_root)/import/libace/. - $(call message,,$(scf_root)/import/libace/configure $@) - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libace/configuration-dynamic.make,\ -rm -f $(dcf_root)/import/libace/configuration-dynamic.make) - -endif diff --git a/build/import/libace/configure b/build/import/libace/configure deleted file mode 100755 index 36aec69..0000000 --- a/build/import/libace/configure +++ /dev/null @@ -1,56 +0,0 @@ -#! /usr/bin/env bash - -# file : build/import/libace/configure -# license : GNU GPL v2; see accompanying LICENSE file - - -# $1 - out config file -# -# bld_root - build root -# project_name - project name -# - -source $bld_root/dialog.bash - - -$echo -$echo "Configuring external dependency on 'ACE' for '$project_name'." -$echo - -$echo -$echo "Would you like to configure dependency on the installed version" -$echo "of 'ACE' as opposed to the development build?" -$echo - -installed=`read_y_n y` - -path= -type= - -if [ "$installed" = "n" ]; then - - $echo - $echo "Please enter the 'ACE' root directory (ACE_ROOT)." - $echo - - root=`read_path --directory --exist` - - $echo - $echo "Please select the library type you would like to use:" - $echo - $echo "(1) archive" - $echo "(2) shared object" - $echo - - type=`read_option "archive shared" "shared"` - -fi - -echo libace_installed := $installed >$1 - -if [ "$installed" = "n" ]; then - - echo libace_root := $root >>$1 - echo libace_type := $type >>$1 - -fi diff --git a/build/import/libace/rules.make b/build/import/libace/rules.make deleted file mode 100644 index f183051..0000000 --- a/build/import/libace/rules.make +++ /dev/null @@ -1,27 +0,0 @@ -# file : build/import/libace/rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libace/%: root := $(libace_root) - -ifeq ($(libace_type),archive) - -$(dcf_root)/import/libace/ace.l: $(libace_root)/lib/libACE.a - @echo $< >$@ -else - -$(dcf_root)/import/libace/ace.l: $(libace_root)/lib/libACE.so - @echo $< >$@ - @echo rpath:$(root)/lib >>$@ -endif - -$(dcf_root)/import/libace/ace.l.cpp-options: - @echo include: -I$(root) >$@ - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libace/ace.l,\ -rm -f $(dcf_root)/import/libace/ace.l) - $(call message,,rm -f $(dcf_root)/import/libace/ace.l.cpp-options) - -endif diff --git a/build/import/libace/stub.make b/build/import/libace/stub.make deleted file mode 100644 index fba22d5..0000000 --- a/build/import/libace/stub.make +++ /dev/null @@ -1,30 +0,0 @@ -# file : build/import/libace/stub.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(call include-once,$(scf_root)/import/libace/configuration-rules.make,$(dcf_root)) - -libace_installed := - -$(call -include,$(dcf_root)/import/libace/configuration-dynamic.make) - -ifdef libace_installed - -ifeq ($(libace_installed),y) - -$(call export,l: -lACE,cpp-options: ) - -else - -$(call include-once,$(scf_root)/import/libace/rules.make,$(dcf_root)) - -$(call export,\ - l: $(dcf_root)/import/libace/ace.l,\ - cpp-options: $(dcf_root)/import/libace/ace.l.cpp-options) - -endif - -else - -.NOTPARALLEL: - -endif diff --git a/build/import/libace/version b/build/import/libace/version deleted file mode 100644 index 0d91a54..0000000 --- a/build/import/libace/version +++ /dev/null @@ -1 +0,0 @@ -0.3.0 diff --git a/build/import/libboost/configuration-rules.make b/build/import/libboost/configuration-rules.make deleted file mode 100644 index dba014c..0000000 --- a/build/import/libboost/configuration-rules.make +++ /dev/null @@ -1,13 +0,0 @@ -# file : build/import/libboost/configuration-rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libboost/configuration-dynamic.make: | $(dcf_root)/import/libboost/. - $(call message,,$(scf_root)/import/libboost/configure $@) - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libboost/configuration-dynamic.make,\ -rm -f $(dcf_root)/import/libboost/configuration-dynamic.make) - -endif diff --git a/build/import/libboost/configure b/build/import/libboost/configure deleted file mode 100755 index 84d03b2..0000000 --- a/build/import/libboost/configure +++ /dev/null @@ -1,72 +0,0 @@ -#! /usr/bin/env bash - -# file : build/import/libboost/configure -# license : GNU GPL v2; see accompanying LICENSE file - - -# $1 - out config file -# -# bld_root - build root -# project_name - project name -# - -source $bld_root/dialog.bash - - -$echo -$echo "Configuring external dependency on 'boost libraries' for '$project_name'." -$echo - -$echo -$echo "Would you like to configure dependency on the installed version" -$echo "of 'boost libraries' as opposed to the development build?" -$echo - -installed=`read_y_n y` - -if [ "$installed" = "n" ]; then - - $echo - $echo "Please enter the 'boost' root directory." - $echo - - root=`read_path --directory --exist` - - $echo - $echo "Please select the library type you would like to use:" - $echo - $echo "(1) archive" - $echo "(2) shared object" - $echo - - type=`read_option "archive shared" "shared"` -fi - -$echo -$echo "Link explicitly to the boost system library? This library" -$echo "is available since boost 1.35.0 and linking to it explicitly" -$echo "may be required by newer linkers." -$echo - -link_system=`read_y_n y` - -$echo -$echo "Please enter optional suffix that may be embedded into the" -$echo "boost library names. For example, if your library names are in" -$echo "the libboost_regex-gcc41-mt-d.so form, then enter -gcc41-mt-d" -$echo "Otherwise leave this field blank." -$echo - -suffix= -read -e -p "[]: " suffix - -echo libboost_installed := $installed >$1 -echo libboost_suffix := $suffix >>$1 -echo libboost_system := $link_system >>$1 - -if [ "$installed" = "n" ]; then - - echo libboost_root := $root >>$1 - echo libboost_type := $type >>$1 - -fi diff --git a/build/import/libboost/date-time/rules.make b/build/import/libboost/date-time/rules.make deleted file mode 100644 index abc8819..0000000 --- a/build/import/libboost/date-time/rules.make +++ /dev/null @@ -1,49 +0,0 @@ -# file : build/import/libboost/date-time/rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libboost/%: root := $(libboost_root) - -$(dcf_root)/import/libboost/date-time/date-time.l: \ - | $(dcf_root)/import/libboost/date-time/. - -ifeq ($(libboost_type),archive) - -ifeq ($(libboost_system),y) -$(dcf_root)/import/libboost/date-time/date-time.l: \ - $(libboost_root)/stage/lib/libboost_date_time$(libboost_suffix).a \ - $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).a -else -$(dcf_root)/import/libboost/date-time/date-time.l: \ - $(libboost_root)/stage/lib/libboost_date_time$(libboost_suffix).a -endif - @echo $^ >$@ - -else - -ifeq ($(libboost_system),y) -$(dcf_root)/import/libboost/date-time/date-time.l: \ - $(libboost_root)/stage/lib/libboost_date_time$(libboost_suffix).so \ - $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).so -else -$(dcf_root)/import/libboost/date-time/date-time.l: \ - $(libboost_root)/stage/lib/libboost_date_time$(libboost_suffix).so -endif - @echo $^ >$@ - @echo rpath:$(root)/stage/lib >>$@ - -endif - - -$(dcf_root)/import/libboost/date-time/date-time.l.cpp-options: \ - | $(dcf_root)/import/libboost/date-time/. - @echo include: -I$(root) >$@ - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libboost/date-time/date-time.l,\ -rm -f $(dcf_root)/import/libboost/date-time/date-time.l) - $(call message,,\ -rm -f $(dcf_root)/import/libboost/date-time/date-time.l.cpp-options) - -endif diff --git a/build/import/libboost/date-time/stub.make b/build/import/libboost/date-time/stub.make deleted file mode 100644 index 6f3aad2..0000000 --- a/build/import/libboost/date-time/stub.make +++ /dev/null @@ -1,34 +0,0 @@ -# file : build/import/libboost/date-time/stub.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(call include-once,$(scf_root)/import/libboost/configuration-rules.make,$(dcf_root)) - -libboost_installed := - -$(call -include,$(dcf_root)/import/libboost/configuration-dynamic.make) - -ifdef libboost_installed - -ifeq ($(libboost_installed),y) - -ifeq ($(libboost_system),y) -$(call export,l: -lboost_date_time$(libboost_suffix) -lboost_system$(libboost_suffix),cpp_options: ) -else -$(call export,l: -lboost_date_time$(libboost_suffix),cpp_options: ) -endif - -else - -$(call include-once,$(scf_root)/import/libboost/date-time/rules.make,$(dcf_root)) - -$(call export,\ - l: $(dcf_root)/import/libboost/date-time/date-time.l,\ - cpp-options: $(dcf_root)/import/libboost/date-time/date-time.l.cpp-options) - -endif - -else - -.NOTPARALLEL: - -endif diff --git a/build/import/libboost/serialization/rules.make b/build/import/libboost/serialization/rules.make deleted file mode 100644 index f69c8bb..0000000 --- a/build/import/libboost/serialization/rules.make +++ /dev/null @@ -1,48 +0,0 @@ -# file : build/import/libboost/serialization/rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libboost/%: root := $(libboost_root) - -$(dcf_root)/import/libboost/serialization/serialization.l: \ - | $(dcf_root)/import/libboost/serialization/. - -ifeq ($(libboost_type),archive) - -ifeq ($(libboost_system),y) -$(dcf_root)/import/libboost/serialization/serialization.l: \ - $(libboost_root)/stage/lib/libboost_serialization$(libboost_suffix).a \ - $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).a -else -$(dcf_root)/import/libboost/serialization/serialization.l: \ - $(libboost_root)/stage/lib/libboost_serialization$(libboost_suffix).a -endif - @echo $^ >$@ - -else - -ifeq ($(libboost_system),y) -$(dcf_root)/import/libboost/serialization/serialization.l: \ - $(libboost_root)/stage/lib/libboost_serialization$(libboost_suffix).so \ - $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).so -else -$(dcf_root)/import/libboost/serialization/serialization.l: \ - $(libboost_root)/stage/lib/libboost_serialization$(libboost_suffix).so -endif - @echo $^ >$@ - @echo rpath:$(root)/stage/lib >>$@ - -endif - - -$(dcf_root)/import/libboost/serialization/serialization.l.cpp-options: \ - | $(dcf_root)/import/libboost/serialization/. - @echo include: -I$(root) >$@ - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libboost/serialization/serialization.l,\ -rm -f $(dcf_root)/import/libboost/serialization/serialization.l) - $(call message,,rm -f $(dcf_root)/import/libboost/serialization/serialization.l.cpp-options) - -endif diff --git a/build/import/libboost/serialization/stub.make b/build/import/libboost/serialization/stub.make deleted file mode 100644 index abb992a..0000000 --- a/build/import/libboost/serialization/stub.make +++ /dev/null @@ -1,34 +0,0 @@ -# file : build/import/libboost/serialization/stub.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(call include-once,$(scf_root)/import/libboost/configuration-rules.make,$(dcf_root)) - -libboost_installed := - -$(call -include,$(dcf_root)/import/libboost/configuration-dynamic.make) - -ifdef libboost_installed - -ifeq ($(libboost_installed),y) - -ifeq ($(libboost_system),y) -$(call export,l: -lboost_serialization$(libboost_suffix) -lboost_system$(libboost_suffix),cpp_options: ) -else -$(call export,l: -lboost_serialization$(libboost_suffix),cpp_options: ) -endif - -else - -$(call include-once,$(scf_root)/import/libboost/serialization/rules.make,$(dcf_root)) - -$(call export,\ - l: $(dcf_root)/import/libboost/serialization/serialization.l,\ - cpp-options: $(dcf_root)/import/libboost/serialization/serialization.l.cpp-options) - -endif - -else - -.NOTPARALLEL: - -endif diff --git a/build/import/libboost/version b/build/import/libboost/version deleted file mode 100644 index faef31a..0000000 --- a/build/import/libboost/version +++ /dev/null @@ -1 +0,0 @@ -0.7.0 diff --git a/build/import/libcutl/configuration-rules.make b/build/import/libcutl/configuration-rules.make deleted file mode 100644 index 4559510..0000000 --- a/build/import/libcutl/configuration-rules.make +++ /dev/null @@ -1,13 +0,0 @@ -# file : build/import/libcutl/configuration-rules.make -# license : MIT; see accompanying LICENSE file - -$(dcf_root)/import/libcutl/configuration-dynamic.make: | $(dcf_root)/import/libcutl/. - $(call message,,$(scf_root)/import/libcutl/configure $@) - -ifndef %foreign% - -$(dcf_root)/.disfigure:: - $(call message,rm $(dcf_root)/import/libcutl/configuration-dynamic.make,\ -rm -f $(dcf_root)/import/libcutl/configuration-dynamic.make) - -endif diff --git a/build/import/libcutl/configure b/build/import/libcutl/configure deleted file mode 100755 index 5c182e2..0000000 --- a/build/import/libcutl/configure +++ /dev/null @@ -1,53 +0,0 @@ -#! /usr/bin/env bash - -# file : build/import/libcutl/configure -# license : MIT; see accompanying LICENSE file - - -# $1 - out file -# -# bld_root - build root -# project_name - project name -# - -source $bld_root/dialog.bash - - -$echo -$echo "Configuring external dependency on 'libcutl' for '$project_name'." -$echo - -$echo -$echo "Would you like to configure dependency on the installed " -$echo "version of 'libcutl' as opposed to the development build?" -$echo - -installed=`read_y_n y` - -path= - -if [ "$installed" = "n" ]; then - -$echo -$echo "Please enter the src_root for 'libcutl'." -$echo - -src_root=`read_path --directory --exist` - -$echo -$echo "Please enter the out_root for 'libcutl'." -$echo - -out_root=`read_path --directory $src_root` - -fi - -echo libcutl_installed := $installed >$1 - -if [ "$installed" = "n" ]; then - -echo src_root := $src_root >>$1 -echo scf_root := \$\(src_root\)/build >>$1 -echo out_root := $out_root >>$1 - -fi diff --git a/build/import/libcutl/stub.make b/build/import/libcutl/stub.make deleted file mode 100644 index 11876f2..0000000 --- a/build/import/libcutl/stub.make +++ /dev/null @@ -1,28 +0,0 @@ -# file : build/import/libcutl/stub.make -# license : MIT; see accompanying LICENSE file - -$(call include-once,$(scf_root)/import/libcutl/configuration-rules.make,$(dcf_root)) - -libcutl_installed := - -$(call -include,$(dcf_root)/import/libcutl/configuration-dynamic.make) - -ifdef libcutl_installed - -ifeq ($(libcutl_installed),y) - -$(call export,l: -lcutl,cpp-options: ) - -else - -# Include export stub. -# -$(call include,$(scf_root)/export/libcutl/stub.make) - -endif - -else - -.NOTPARALLEL: - -endif diff --git a/build/import/libxerces-c/configuration-rules.make b/build/import/libxerces-c/configuration-rules.make deleted file mode 100644 index bda0a59..0000000 --- a/build/import/libxerces-c/configuration-rules.make +++ /dev/null @@ -1,13 +0,0 @@ -# file : build/import/libxerces-c/configuration-rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libxerces-c/configuration-dynamic.make: | $(dcf_root)/import/libxerces-c/. - $(call message,,$(scf_root)/import/libxerces-c/configure $@) - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libxerces-c/configuration-dynamic.make,\ -rm -f $(dcf_root)/import/libxerces-c/configuration-dynamic.make) - -endif diff --git a/build/import/libxerces-c/configure b/build/import/libxerces-c/configure deleted file mode 100755 index 3db09e5..0000000 --- a/build/import/libxerces-c/configure +++ /dev/null @@ -1,71 +0,0 @@ -#! /usr/bin/env bash - -# file : build/import/libxerces-c/configure -# license : GNU GPL v2; see accompanying LICENSE file - - -# $1 - out config file -# -# bld_root - build root -# project_name - project name -# - -source $bld_root/dialog.bash - - -$echo -$echo "Configuring external dependency on 'libxerces-c' for '$project_name'." -$echo - -$echo -$echo "Would you like to configure dependency on the installed version" -$echo "of 'libxerces-c' as opposed to the development build?" -$echo - -installed=`read_y_n y` - -path= -type= - -if [ "$installed" = "n" ]; then - - version= - - while [ -z "$version" ]; do - - $echo - $echo "Please enter the 'libxerces-c' root directory." - $echo - - root=`read_path --directory --exist` - - version=`sed -e 's/^VER=\([^_]*\)_\([^_]*\)_\([^_]*\)[ ]*$/\1.\2.\3/' \ --e t -e d $root/version.incl 2>/dev/null` - - if [ $? != 0 -o -z "$version" ]; then - - version= - echo "Unable to read version information from $root/version.incl" - fi - done - - $echo - $echo "Please select the library type you would like to use:" - $echo - $echo "(1) archive" - $echo "(2) shared object" - $echo - - type=`read_option "archive shared" "shared"` - -fi - -echo libxerces_c_installed := $installed >$1 - -if [ "$installed" = "n" ]; then - - echo libxerces_c_root := $root >>$1 - echo libxerces_c_type := $type >>$1 - echo libxerces_c_version := $version >>$1 - -fi diff --git a/build/import/libxerces-c/rules.make b/build/import/libxerces-c/rules.make deleted file mode 100644 index b094d22..0000000 --- a/build/import/libxerces-c/rules.make +++ /dev/null @@ -1,50 +0,0 @@ -# file : build/import/libxerces-c/rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libxerces-c/%: root := $(libxerces_c_root) - -ifneq ($(filter 3.%,$(libxerces_c_version)),) - -# 3.x.y -# -ifeq ($(libxerces_c_type),archive) - -$(dcf_root)/import/libxerces-c/xerces-c.l: $(libxerces_c_root)/src/.libs/libxerces-c.a - @echo $< >$@ -else - -$(dcf_root)/import/libxerces-c/xerces-c.l: $(libxerces_c_root)/src/.libs/libxerces-c.so - @echo $< >$@ - @echo rpath:$(root)/src/.libs >>$@ -endif - -$(dcf_root)/import/libxerces-c/xerces-c.l.cpp-options: - @echo include: -I$(root)/src >$@ -else - -# 2.x.y -# -ifeq ($(libxerces_c_type),archive) - -$(dcf_root)/import/libxerces-c/xerces-c.l: $(libxerces_c_root)/lib/libxerces-c.a - @echo $< >$@ -else - -$(dcf_root)/import/libxerces-c/xerces-c.l: $(libxerces_c_root)/lib/libxerces-c.so - @echo $< >$@ - @echo rpath:$(root)/lib >>$@ -endif - -$(dcf_root)/import/libxerces-c/xerces-c.l.cpp-options: - @echo include: -I$(root)/include >$@ -endif - - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libxerces-c/xerces-c.l,\ -rm -f $(dcf_root)/import/libxerces-c/xerces-c.l) - $(call message,,rm -f $(dcf_root)/import/libxerces-c/xerces-c.l.cpp-options) - -endif diff --git a/build/import/libxerces-c/stub.make b/build/import/libxerces-c/stub.make deleted file mode 100644 index f5bb440..0000000 --- a/build/import/libxerces-c/stub.make +++ /dev/null @@ -1,30 +0,0 @@ -# file : build/import/libxerces-c/stub.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(call include-once,$(scf_root)/import/libxerces-c/configuration-rules.make,$(dcf_root)) - -libxerces_c_installed := - -$(call -include,$(dcf_root)/import/libxerces-c/configuration-dynamic.make) - -ifdef libxerces_c_installed - -ifeq ($(libxerces_c_installed),y) - -$(call export,l: -lxerces-c,cpp-options: ) - -else - -$(call include-once,$(scf_root)/import/libxerces-c/rules.make,$(dcf_root)) - -$(call export,\ - l: $(dcf_root)/import/libxerces-c/xerces-c.l,\ - cpp-options: $(dcf_root)/import/libxerces-c/xerces-c.l.cpp-options) - -endif - -else - -.NOTPARALLEL: - -endif diff --git a/build/import/libxerces-c/version b/build/import/libxerces-c/version deleted file mode 100644 index a918a2a..0000000 --- a/build/import/libxerces-c/version +++ /dev/null @@ -1 +0,0 @@ -0.6.0 diff --git a/build/import/libxqilla/configuration-rules.make b/build/import/libxqilla/configuration-rules.make deleted file mode 100644 index c0e636e..0000000 --- a/build/import/libxqilla/configuration-rules.make +++ /dev/null @@ -1,13 +0,0 @@ -# file : build/import/libxqilla/configuration-rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libxqilla/configuration-dynamic.make: | $(dcf_root)/import/libxqilla/. - $(call message,,$(scf_root)/import/libxqilla/configure $@) - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libxqilla/configuration-dynamic.make,\ -rm -f $(dcf_root)/import/libxqilla/configuration-dynamic.make) - -endif diff --git a/build/import/libxqilla/configure b/build/import/libxqilla/configure deleted file mode 100755 index 5d21907..0000000 --- a/build/import/libxqilla/configure +++ /dev/null @@ -1,55 +0,0 @@ -#! /usr/bin/env bash - -# file : build/import/libxqilla/configure -# license : GNU GPL v2; see accompanying LICENSE file - - -# $1 - out config file -# -# bld_root - build root -# project_name - project name -# - -source $bld_root/dialog.bash - - -$echo -$echo "Configuring external dependency on 'libxqilla' for '$project_name'." -$echo - -$echo -$echo "Would you like to configure dependency on the installed version" -$echo "of 'libxqilla' as opposed to the development build?" -$echo - -installed=`read_y_n y` - -path= -type= - -if [ "$installed" = "n" ]; then - - $echo - $echo "Please enter the 'libxqilla' root directory." - $echo - - root=`read_path --directory --exist` - - $echo - $echo "Please select the library type you would like to use:" - $echo - $echo "(1) archive" - $echo "(2) shared object" - $echo - - type=`read_option "archive shared" "shared"` -fi - -echo libxqilla_installed := $installed >$1 - -if [ "$installed" = "n" ]; then - - echo libxqilla_root := $root >>$1 - echo libxqilla_type := $type >>$1 - -fi diff --git a/build/import/libxqilla/rules.make b/build/import/libxqilla/rules.make deleted file mode 100644 index d8a2c7a..0000000 --- a/build/import/libxqilla/rules.make +++ /dev/null @@ -1,28 +0,0 @@ -# file : build/import/libxqilla/rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libxqilla/%: root := $(libxqilla_root) - -ifeq ($(libxqilla_type),archive) - -$(dcf_root)/import/libxqilla/xqilla.l: $(libxqilla_root)/.libs/libxqilla.a - @echo $< >$@ -else - -$(dcf_root)/import/libxqilla/xqilla.l: $(libxqilla_root)/.libs/libxqilla.so - @echo $< >$@ - @echo rpath:$(root)/.libs >>$@ -endif - -$(dcf_root)/import/libxqilla/xqilla.l.cpp-options: - @echo include: -I$(root)/include >$@ - - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libxqilla/xqilla.l,\ -rm -f $(dcf_root)/import/libxqilla/xqilla.l) - $(call message,,rm -f $(dcf_root)/import/libxqilla/xqilla.l.cpp-options) - -endif diff --git a/build/import/libxqilla/stub.make b/build/import/libxqilla/stub.make deleted file mode 100644 index caccf97..0000000 --- a/build/import/libxqilla/stub.make +++ /dev/null @@ -1,30 +0,0 @@ -# file : build/import/libxqilla/stub.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(call include-once,$(scf_root)/import/libxqilla/configuration-rules.make,$(dcf_root)) - -libxqilla_installed := - -$(call -include,$(dcf_root)/import/libxqilla/configuration-dynamic.make) - -ifdef libxqilla_installed - -ifeq ($(libxqilla_installed),y) - -$(call export,l: -lxqilla,cpp-options: ) - -else - -$(call include-once,$(scf_root)/import/libxqilla/rules.make,$(dcf_root)) - -$(call export,\ - l: $(dcf_root)/import/libxqilla/xqilla.l,\ - cpp-options: $(dcf_root)/import/libxqilla/xqilla.l.cpp-options) - -endif - -else - -.NOTPARALLEL: - -endif diff --git a/build/import/libxqilla/version b/build/import/libxqilla/version deleted file mode 100644 index 6e8bf73..0000000 --- a/build/import/libxqilla/version +++ /dev/null @@ -1 +0,0 @@ -0.1.0 diff --git a/build/import/libxsd-frontend/configuration-rules.make b/build/import/libxsd-frontend/configuration-rules.make deleted file mode 100644 index b0b16e5..0000000 --- a/build/import/libxsd-frontend/configuration-rules.make +++ /dev/null @@ -1,13 +0,0 @@ -# file : build/import/libxsd-frontend/configuration-rules.make -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -$(dcf_root)/import/libxsd-frontend/configuration-dynamic.make: | $(dcf_root)/import/libxsd-frontend/. - $(call message,,$(scf_root)/import/libxsd-frontend/configure $@) - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libxsd-frontend/configuration-dynamic.make,\ -rm -f $(dcf_root)/import/libxsd-frontend/configuration-dynamic.make) - -endif diff --git a/build/import/libxsd-frontend/configure b/build/import/libxsd-frontend/configure deleted file mode 100755 index 1908830..0000000 --- a/build/import/libxsd-frontend/configure +++ /dev/null @@ -1,53 +0,0 @@ -#! /usr/bin/env bash - -# file : build/import/libxsd-frontend/configure -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - - -# $1 - out file -# -# bld_root - build root -# project_name - project name -# - -source $bld_root/dialog.bash - - -$echo -$echo "Configuring external dependency on 'libxsd-frontend' for '$project_name'." -$echo - -$echo -$echo "Would you like to configure dependency on the installed " -$echo "version of 'libxsd-frontend' as opposed to the development build?" -$echo - -installed=`read_y_n y` - -path= - -if [ "$installed" = "n" ]; then - -$echo -$echo "Please enter the src_root for 'libxsd-frontend'." -$echo - -src_root=`read_path --directory --exist` - -$echo -$echo "Please enter the out_root for 'libxsd-frontend'." -$echo - -out_root=`read_path --directory $src_root` - -fi - -echo libxsd_frontend_installed := $installed >$1 - -if [ "$installed" = "n" ]; then - -echo src_root := $src_root >>$1 -echo scf_root := \$\(src_root\)/build >>$1 -echo out_root := $out_root >>$1 - -fi diff --git a/build/import/libxsd-frontend/stub.make b/build/import/libxsd-frontend/stub.make deleted file mode 100644 index 9bf00e5..0000000 --- a/build/import/libxsd-frontend/stub.make +++ /dev/null @@ -1,28 +0,0 @@ -# file : build/import/libxsd-frontend/stub.make -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -$(call include-once,$(scf_root)/import/libxsd-frontend/configuration-rules.make,$(dcf_root)) - -libxsd_frontend_installed := - -$(call -include,$(dcf_root)/import/libxsd-frontend/configuration-dynamic.make) - -ifdef libxsd_frontend_installed - -ifeq ($(libxsd_frontend_installed),y) - -$(call export,l: -lxsd-frontend -lcutl -lxerces-c,cpp_options: ) - -else - -# Include export stub. -# -$(call include,$(scf_root)/export/libxsd-frontend/stub.make) - -endif - -else - -.NOTPARALLEL: - -endif diff --git a/build/import/libz/configuration-rules.make b/build/import/libz/configuration-rules.make deleted file mode 100644 index deabba0..0000000 --- a/build/import/libz/configuration-rules.make +++ /dev/null @@ -1,13 +0,0 @@ -# file : build/import/libz/configuration-rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libz/configuration-dynamic.make: | $(dcf_root)/import/libz/. - $(call message,,$(scf_root)/import/libz/configure $@) - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libz/configuration-dynamic.make,\ -rm -f $(dcf_root)/import/libz/configuration-dynamic.make) - -endif diff --git a/build/import/libz/configure b/build/import/libz/configure deleted file mode 100755 index a36fca3..0000000 --- a/build/import/libz/configure +++ /dev/null @@ -1,56 +0,0 @@ -#! /usr/bin/env bash - -# file : build/import/libz/configure -# license : GNU GPL v2; see accompanying LICENSE file - - -# $1 - out config file -# -# bld_root - build root -# project_name - project name -# - -source $bld_root/dialog.bash - - -$echo -$echo "Configuring external dependency on 'zlib' for '$project_name'." -$echo - -$echo -$echo "Would you like to configure dependency on the installed version" -$echo "of 'zlib' as opposed to the development build?" -$echo - -installed=`read_y_n y` - -path= -type= - -if [ "$installed" = "n" ]; then - - $echo - $echo "Please enter the 'zlib' root directory." - $echo - - root=`read_path --directory --exist` - - $echo - $echo "Please select the library type you would like to use:" - $echo - $echo "(1) archive" - $echo "(2) shared object" - $echo - - type=`read_option "archive shared" "shared"` - -fi - -echo libz_installed := $installed >$1 - -if [ "$installed" = "n" ]; then - - echo libz_root := $root >>$1 - echo libz_type := $type >>$1 - -fi diff --git a/build/import/libz/rules.make b/build/import/libz/rules.make deleted file mode 100644 index 5720a5e..0000000 --- a/build/import/libz/rules.make +++ /dev/null @@ -1,27 +0,0 @@ -# file : build/import/libz/rules.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(dcf_root)/import/libz/%: root := $(libz_root) - -ifeq ($(libz_type),archive) - -$(dcf_root)/import/libz/z.l: $(libz_root)/libz.a - @echo $< >$@ -else - -$(dcf_root)/import/libz/z.l: $(libz_root)/libz.so - @echo $< >$@ - @echo rpath:$(root) >>$@ -endif - -$(dcf_root)/import/libz/z.l.cpp-options: - @echo include: -I$(root) >$@ - -ifndef %foreign% - -disfigure:: - $(call message,rm $(dcf_root)/import/libz/z.l,\ -rm -f $(dcf_root)/import/libz/z.l) - $(call message,,rm -f $(dcf_root)/import/libz/z.l.cpp-options) - -endif diff --git a/build/import/libz/stub.make b/build/import/libz/stub.make deleted file mode 100644 index a50f288..0000000 --- a/build/import/libz/stub.make +++ /dev/null @@ -1,30 +0,0 @@ -# file : build/import/libz/stub.make -# license : GNU GPL v2; see accompanying LICENSE file - -$(call include-once,$(scf_root)/import/libz/configuration-rules.make,$(dcf_root)) - -libz_installed := - -$(call -include,$(dcf_root)/import/libz/configuration-dynamic.make) - -ifdef libz_installed - -ifeq ($(libz_installed),y) - -$(call export,l: -lz,cpp-options: ) - -else - -$(call include-once,$(scf_root)/import/libz/rules.make,$(dcf_root)) - -$(call export,\ - l: $(dcf_root)/import/libz/z.l,\ - cpp-options: $(dcf_root)/import/libz/z.l.cpp-options) - -endif - -else - -.NOTPARALLEL: - -endif diff --git a/build/import/libz/version b/build/import/libz/version deleted file mode 100644 index 6e8bf73..0000000 --- a/build/import/libz/version +++ /dev/null @@ -1 +0,0 @@ -0.1.0 diff --git a/build/xsd/parser/xsd-cxx.make b/build/xsd/parser/xsd-cxx.make deleted file mode 100644 index 62a4826..0000000 --- a/build/xsd/parser/xsd-cxx.make +++ /dev/null @@ -1,75 +0,0 @@ -# file : build/xsd/parser/xsd-cxx.make -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -#@@ Need to use extensions from cxx config. -# - -# C++/Parser mapping. -# -ifeq ($(xsd_parser_skel_suffix),) -xsd_parser_skel_suffix := -pskel -endif - -xsd_parser_pattern := \ -$(out_base)/%$(xsd_parser_skel_suffix).cxx \ -$(out_base)/%$(xsd_parser_skel_suffix).hxx \ -$(out_base)/%$(xsd_parser_skel_suffix).ixx - -ifneq ($(xsd_parser_impl_suffix),) -xsd_parser_pattern += \ -$(out_base)/%$(xsd_parser_impl_suffix).cxx \ -$(out_base)/%$(xsd_parser_impl_suffix).hxx \ -$(out_base)/%-driver.cxx -endif - - -$(xsd_parser_pattern): xsd := xsd -$(xsd_parser_pattern): xsd_command := cxx-parser - -ops := --generate-inline --skel-file-suffix $(xsd_parser_skel_suffix) - -ifneq ($(xsd_pimpl_suffix),) -ops += --impl-file-suffix $(xsd_parser_impl_suffix) -endif - -$(xsd_parser_pattern): xsd_options := $(ops) - - -.PRECIOUS: $(xsd_parser_pattern) - -ifeq ($(out_base),$(src_base)) - -$(xsd_parser_pattern): $(src_base)/%.xsd - $(call message,xsd $<,$(xsd) $(xsd_command) $(xsd_options) --output-dir $(dir $@) $<) - -else - -$(xsd_parser_pattern): $(src_base)/%.xsd | $$(dir $$@). - $(call message,xsd $<,$(xsd) $(xsd_command) $(xsd_options) --output-dir $(dir $@) $<) - -$(xsd_parser_pattern): $(out_base)/%.xsd | $$(dir $$@). - $(call message,xsd $<,$(xsd) $(xsd_command) $(xsd_options) --output-dir $(dir $@) $<) - -endif - - -.PHONY: $(out_base)/%$(xsd_parser_skel_suffix).cxx.xsd.clean - -$(out_base)/%$(xsd_parser_skel_suffix).cxx.xsd.clean: - $(call message,rm $$1,rm -f $$1,$(@:.cxx.xsd.clean=.cxx)) - $(call message,rm $$1,rm -f $$1,$(@:.cxx.xsd.clean=.hxx)) - $(call message,rm $$1,rm -f $$1,$(@:.cxx.xsd.clean=.ixx)) - -ifneq ($(xsd_parser_impl_suffix),) -.PHONY: $(out_base)/%$(xsd_parser_impl_suffix).cxx.xsd.clean - -$(out_base)/%$(xsd_parser_impl_suffix).cxx.xsd.clean: - $(call message,rm $$1,rm -f $$1,$(@:.cxx.xsd.clean=.cxx)) - $(call message,rm $$1,rm -f $$1,$(@:.cxx.xsd.clean=.hxx)) - $(call message,rm $$1,rm -f $$1,$(out_base)/$*-driver.cxx) -endif - -# Reset the config variables so they won't take effect in other places. -# -xsd_parser_skel_suffix := -xsd_parser_impl_suffix := diff --git a/build/xsd/tree/xsd-cxx.make b/build/xsd/tree/xsd-cxx.make deleted file mode 100644 index 3ca45d1..0000000 --- a/build/xsd/tree/xsd-cxx.make +++ /dev/null @@ -1,46 +0,0 @@ -# file : build/xsd/tree/xsd-cxx.make -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -#@@ Need to use extensions from cxx config. -# - -# C++/Tree mapping. -# -xsd_tree_pattern := \ -$(out_base)/%$(xsd_tree_suffix).cxx \ -$(out_base)/%$(xsd_tree_suffix).hxx \ -$(out_base)/%$(xsd_tree_suffix).ixx \ -$(out_base)/%$(xsd_tree_suffix)-fwd.hxx - -$(xsd_tree_pattern): xsd := xsd -$(xsd_tree_pattern): xsd_command := cxx-tree -$(xsd_tree_pattern): xsd_options := --generate-inline - -.PRECIOUS: $(xsd_tree_pattern) - -ifeq ($(out_base),$(src_base)) - -$(xsd_tree_pattern): $(src_base)/%.xsd - $(call message,xsd $<,$(xsd) $(xsd_command) $(xsd_options) --output-dir $(dir $@) $<) - -else - -$(xsd_tree_pattern): $(src_base)/%.xsd | $$(dir $$@). - $(call message,xsd $<,$(xsd) $(xsd_command) $(xsd_options) --output-dir $(dir $@) $<) - -$(xsd_tree_pattern): $(out_base)/%.xsd | $$(dir $$@). - $(call message,xsd $<,$(xsd) $(xsd_command) $(xsd_options) --output-dir $(dir $@) $<) - -endif - -.PHONY: $(out_base)/%$(xsd_tree_suffix).cxx.xsd.clean - -$(out_base)/%$(xsd_tree_suffix).cxx.xsd.clean: - $(call message,rm $(@:.cxx.xsd.clean=.cxx),rm -f $(@:.cxx.xsd.clean=.cxx)) - $(call message,rm $(@:.cxx.xsd.clean=.hxx),rm -f $(@:.cxx.xsd.clean=.hxx)) - $(call message,rm $(@:.cxx.xsd.clean=.ixx),rm -f $(@:.cxx.xsd.clean=.ixx)) - $(call message,rm $(@:.cxx.xsd.clean=-fwd.hxx),rm -f $(@:.cxx.xsd.clean=-fwd.hxx)) - -# Reset the config variables so they won't take effect in other places. -# -xsd_tree_suffix := diff --git a/buildfile b/buildfile new file mode 100644 index 0000000..856a678 --- /dev/null +++ b/buildfile @@ -0,0 +1,7 @@ +# file : buildfile +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +# Glue buildfile that "pulls" all the packages. + +import pkgs = */ +./: $pkgs diff --git a/dist/README-UNIX b/dist/README-UNIX deleted file mode 100644 index 9632744..0000000 --- a/dist/README-UNIX +++ /dev/null @@ -1,82 +0,0 @@ -This package contains precompiled binaries of CodeSynthesis XSD, a -W3C XML Schema to C++ Data Binding compiler. For more information -about XSD visit - -https://www.codesynthesis.com/products/xsd/ - -This README file describes how to start using XSD in UNIX or -UNIX-like (for example, Cygwin/Mingw) environments. - - -Prerequisites -------------- - -The XSD runtime library and the generated code depend on the underlying -XML parser which can be Xerces-C++ for the C++/Tree mapping and Xerces-C++ -or Expat for the C++/Parser mapping. - -Xerces-C++ can be obtained from http://xerces.apache.org/xerces-c/. Most -GNU/Linux distributions provide precompiled binary packages for Xerces-C++. -You can also download precompiled Xerces-C++ libraries for a wide range of -platforms and compilers from http://xerces.apache.org/xerces-c/download.cgi - -Expat can be obtained from http://www.libexpat.org/. Most GNU/Linux -distributions provide precompiled binary packages for Expat. - - -Building Examples ------------------ - -To build examples you will need GNU make. All examples in the examples/ -directory come with simple makefiles. For instance, to build a hello -example in examples/cxx/tree you could execute the following commands: - -$ cd examples/cxx/tree/hello -$ make - -The following make variables affect the compilation process and can -be overridden from the command line: - -CXX - C++ compiler, by default 'g++' -CXXFLAGS - C++ options -CPPFLAGS - C/C++ Preprocessor options - -LIBS - Libraries to link with, by default '-lxerces-c' for the - C++/Tree examples and either '-lxerces-c' or '-lexpat' for - the C++/Parser examples, depending on XML_PARSER -LDFLAGS - Linker options - -XSD - XSD compiler, by default path to the XSD binary -XSDFLAGS - XSD options - -WITH_ZLIB - Set this variable to 1 if you would like to build examples - that depend on the zlib library - -WITH_ACE - Set this variable to 1 if you would like to build examples - that depend on the ACE library - -WITH_XDR - Set this variable to 1 if you would like to build examples - that depend on the XDR API (available out of the box on - most GNU/Linux and UNIX systems) - -WITH_BOOST - Set this variable to 1 if you would like to build examples - that depend on the Boost date_time and serialization - libraries - -WITH_XQILLA - Set this variable to 1 if you would like to build examples - that depend on the XQilla library (XPath 2) - -Additionally, makefiles for the C++/Parser examples (examples/cxx/parser/) -allow you to choose the underlying XML parser: - -XML_PARSER - Underlying XML parser, can be 'xerces' (default) or 'expat' - - -For instance, if you would like to build an example using g++-4.0 instead -of the default g++ and would like to use Xerces-C++ from ~/xerces-c instead -of the default, system-wide installation, you could execute the following -command: - -$ make CXX=g++-4.0 \ - CPPFLAGS="-I ~/xerces-c/include" \ - LDFLAGS="-L ~/xerces-c/lib" diff --git a/dist/README-WINDOWS b/dist/README-WINDOWS deleted file mode 100644 index da44e79..0000000 --- a/dist/README-WINDOWS +++ /dev/null @@ -1,192 +0,0 @@ -This package contains precompiled binaries of CodeSynthesis XSD, a -W3C XML Schema to C++ Data Binding compiler, built for Microsoft -Windows. For more information about XSD visit - -https://www.codesynthesis.com/products/xsd/ - -This README file describes how to start using XSD in the Microsoft -Windows environment with Visual Studio 2005 (8.0), Visual Studio 2008 -(9.0), and Visual Studio 2010 (10.0), Visual Studio 2012 (11.0), and -Visual Studio 2013 (12.0). - - -Prerequisites -------------- - -The XSD runtime library and the generated code depend on the Xerces-C++ -XML parser which you can obtain from http://xerces.apache.org/xerces-c/. -You can also download precompiled Xerces-C++ libraries for Windows from: - -http://xerces.apache.org/xerces-c/download.cgi - -Note that the above download page may not contain Xerces-C++ libraries -for the latest Visual Studio releases. The Windows Installer package -(.msi) for XSD contains Xerces-C++ libraries for all of the above- -mentioned Visual Studio versions. - - -Environment ------------ - -Before you can start building examples or your applications that use XSD -you need to set include, library and executable search paths in the Visual -Studio IDE and the System Environment. - -1. Setting up Xerces-C++ - - First you need to set up Xerces-C++ include and library search paths. - If you already have Xerces-C++ set up in your development environment, - you can skip to the next step. Here we assume that your Xerces-C++ path - is C:\projects\xerces-c-x.y.z. If you have Xerces-C++ in a different - place, you will need to adjust the paths below accordingly. - - - a) For Visual Studio 2005 (8.0) and Visual Studio 2008 (9.0): - - In the Visual Studio IDE, select "Tools"/"Options"/"Projects and - Solution"/"VC++ Directories". - - Then, in the "Show directories for" field, select "Include files" and - create a new entry with the value "C:\projects\xerces-c-x.y.z\include". - - After that, in the "Show directories for" field, select "Library files" - and create a new entry with the value "C:\projects\xerces-c-x.y.z\lib". - - After that, in the "Show directories for" field, select "Executable files" - and create a new entry with the value "C:\projects\xerces-c-x.y.z\bin". - - If you are building the 64-bit version of your application, repeat the - above steps for the 64-bit version of Xerces-C++ while selecting x64 - in the "Platform" drop-down list in the VC++ Directories dialog (Visual - Studio keeps a separate set of paths for each platform). - - For Visual Studio 2010-2013 (10.0-12.0): - - 1. Open an existing or create a new C++ project (you can open one of - the example solutions that come with XSD). - - 2. Open the Property Manager view by selecting "View"->"Property - Manager" (or "View"->"Other Windows"->"Property Manager") menu - action. - - 3. Expand the property hierarchy for the project and find the - Microsoft.Cpp.Win32.user property sheet. - - 4. Right click on Microsoft.Cpp.Win32.user and select the "Properties" - menu action. - - 5. Select the VC++ Directories tab. - - 6. Add the "C:\projects\xerces-c-x.y.z\include" path to the "Include - Directories" field (the paths are separated by a semicolon). - - 7. Add the "C:\projects\xerces-c-x.y.z\lib" path to the "Library - Directories" field. - - 8. Add the "C:\projects\xerces-c-x.y.z\bin" path to the "Executable - Directories" field. - - 9. Click Ok to close the dialog and then click the Save button at the - top of the Property Manager view to save Microsoft.Cpp.Win32.user. - - If you are building the 64-bit version of your application, repeat - the above steps for the 64-bit version of Xerces-C++ but using the - Microsoft.Cpp.x64.user property sheet (Visual Studio keeps a separate - set of paths for each platform). - - - b) In the Control Panel, choose "System" and select the "Advanced" tab. - Click on the "Environment Variables" button. In the "System Variables" - list, select "Path" and add (via "Edit" button) the - ";C:\projects\xerces-c-x.y.z\bin" path at the end. - - -2. Setting up XSD - - Now you need to set up XSD executable and include search paths. Here we - assume that your XSD path is C:\projects\xsd-x.y.z. If you have XSD in - a different place, you will need to adjust the paths below accordingly. - - For Visual Studio 2005 (8.0) and Visual Studio 2008 (9.0): - - In the Visual Studio IDE, select "Tools"/"Options"/"Projects and - Solution"/"VC++ Directories". - - Then, in the "Show directories for" field, select "Include files" and - create a new entry with the value "C:\projects\xsd-x.y.z\libxsd". - - After that, in the "Show directories for" field, select "Executable - files" and create a new entry with the value "C:\projects\xsd-x.y.z\bin". - Make sure it is the first line in the list of directories (use the - "Up" button to move the new entry up, if necessary). - - If you are building the 64-bit version of your application, repeat the - above steps using the same paths while selecting x64 in the "Platform" - drop-down list in the VC++ Directories dialog (Visual Studio keeps a - separate set of paths for each platform). - - For Visual Studio 2010 (10.0): - - 1. Open an existing or create a new C++ project (you can open one of - the example solutions that come with XSD). - - 2. Open the Property Manager view by selecting "View"->"Property - Manager" (or "View"->"Other Windows"->"Property Manager") menu - action. - - 3. Expand the property hierarchy for the project and find the - Microsoft.Cpp.Win32.user property sheet. - - 4. Right click on Microsoft.Cpp.Win32.user and select the "Properties" - menu action. - - 5. Select the VC++ Directories tab. - - 6. Add the "C:\projects\xsd-x.y.z\libxsd" path to the "Include - Directories" field (the paths are separated by a semicolon). - - 7. Add the "C:\projects\xsd-x.y.z\bin" path to the "Executable - Directories" field and make sure it is the first path in the - the list of directories. - - 8. Click Ok to close the dialog and then click the Save button at the - top of the Property Manager view to save Microsoft.Cpp.Win32.user. - - If you are building the 64-bit version of your application, repeat the - above steps using the same paths but using the Microsoft.Cpp.x64.user - property sheet (Visual Studio keeps a separate set of paths for each - platform). - - -3. Restart the Visual Studio IDE. - - -Building Examples ------------------ - -Now you are ready to build examples. Simply open the solution file -found in the examples\cxx\tree (C++/Tree mapping examples) or -examples\cxx\parser (C++/Parser examples) directories. - -Some of the examples depend on additional third-party libraries or -show a specific feature of XSD and are not included in the solutions -above. They come with their individual solution files: - -examples/cxx/tree/embedded - example of schema embedding -examples/cxx/tree/custom - examples of type customization -examples/cxx/tree/custom/calendar - depends on the Boost date_time library -examples/cxx/tree/compression - depends on the zlib library -examples/cxx/tree/binary/boost - depends on the Boost serialization library -examples/cxx/tree/binary/cdr - depends on the ACE library -examples/cxx/tree/binary/xdr - requires a third-party XDR library -examples/cxx/tree/xpath - depends on the XQilla library (XPath 2) - - -Using XSD in Your Projects --------------------------- - -For various ways to integrate the XSD compiler with the Visual Studio IDE -as well as other Visual Studio-specific topics, refer to the Using XSD with -Microsoft Visual Studio Wiki page: - -http://wiki.codesynthesis.com/Using_XSD_with_Microsoft_Visual_Studio diff --git a/dist/etc/vc-1x.0/xsd-cxx-parser.props b/dist/etc/vc-1x.0/xsd-cxx-parser.props deleted file mode 100644 index b167a38..0000000 --- a/dist/etc/vc-1x.0/xsd-cxx-parser.props +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup
- Condition="'$(CXX_Parser_Mapping_RuleBeforeTargets)' == '' and '$(CXX_Parser_Mapping_RuleAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
- <CXX_Parser_Mapping_RuleBeforeTargets>Midl</CXX_Parser_Mapping_RuleBeforeTargets>
- <CXX_Parser_Mapping_RuleAfterTargets>CustomBuild</CXX_Parser_Mapping_RuleAfterTargets>
- </PropertyGroup>
- <PropertyGroup>
- <CXX_Parser_Mapping_RuleDependsOn
- Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(CXX_Parser_Mapping_RuleDependsOn)</CXX_Parser_Mapping_RuleDependsOn>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <CXX_Parser_Mapping_Rule>
- <ProprietaryLicense>False</ProprietaryLicense>
- <GenInline>False</GenInline>
- <GenValidation>False</GenValidation>
- <SupValidation>False</SupValidation>
- <GenPolymorphic>False</GenPolymorphic>
- <OutDir>.</OutDir>
- <HeaderSuffix>.hxx</HeaderSuffix>
- <SourceSuffix>.cxx</SourceSuffix>
- <InlineSuffix>.ixx</InlineSuffix>
- <SkelFileSuffix>-pskel</SkelFileSuffix>
- <SkelTypeSuffix>_pskel</SkelTypeSuffix>
- <CharType>0</CharType>
- <CharEncoding>0</CharEncoding>
- <XMLParser>0</XMLParser>
- <CommandLineTemplate>xsd.exe cxx-parser [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
- <ExecutionDescription>xsd cxx-parser %(Identity)</ExecutionDescription>
- <ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
- </CXX_Parser_Mapping_Rule>
- </ItemDefinitionGroup>
-</Project>
diff --git a/dist/etc/vc-1x.0/xsd-cxx-parser.targets b/dist/etc/vc-1x.0/xsd-cxx-parser.targets deleted file mode 100644 index 62ad2b2..0000000 --- a/dist/etc/vc-1x.0/xsd-cxx-parser.targets +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <PropertyPageSchema
- Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
- <AvailableItemName
- Include="CXX_Parser_Mapping_Rule">
- <Targets>XsdCompile</Targets>
- </AvailableItemName>
- </ItemGroup>
- <UsingTask
- TaskName="CXX_Parser_Mapping_Rule"
- TaskFactory="XamlTaskFactory"
- AssemblyName="Microsoft.Build.Tasks.v4.0">
- <Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
- </UsingTask>
- <Target
- Name="XsdCompile"
- BeforeTargets="$(CXX_Parser_Mapping_RuleBeforeTargets)"
- AfterTargets="$(CXX_Parser_Mapping_RuleAfterTargets)"
- Condition="'@(CXX_Parser_Mapping_Rule)' != ''"
- DependsOnTargets="$(CXX_Parser_Mapping_RuleDependsOn);XsdOutputDir"
- Outputs="%(CXX_Parser_Mapping_Rule.OutDir)\%(CXX_Parser_Mapping_Rule.Filename)%(CXX_Parser_Mapping_Rule.SkelFileSuffix)%(CXX_Parser_Mapping_Rule.HeaderSuffix);%(CXX_Parser_Mapping_Rule.OutDir)\%(CXX_Parser_Mapping_Rule.Filename)%(CXX_Parser_Mapping_Rule.SkelFileSuffix)%(CXX_Parser_Mapping_Rule.SourceSuffix)"
- Inputs="%(CXX_Parser_Mapping_Rule.Identity);%(CXX_Parser_Mapping_Rule.AdditionalDependencies);$(MSBuildProjectFile)">
- <ItemGroup
- Condition="'@(SelectedFiles)' != ''">
- <CXX_Parser_Mapping_Rule
- Remove="@(CXX_Parser_Mapping_Rule)"
- Condition="'%(Identity)' != '@(SelectedFiles)'" />
- </ItemGroup>
- <ItemGroup>
- <CXX_Parser_Mapping_Rule_tlog
- Include="%(CXX_Parser_Mapping_Rule.OutDir)\%(CXX_Parser_Mapping_Rule.Filename)%(CXX_Parser_Mapping_Rule.SkelFileSuffix)%(CXX_Parser_Mapping_Rule.HeaderSuffix);%(CXX_Parser_Mapping_Rule.OutDir)\%(CXX_Parser_Mapping_Rule.Filename)%(CXX_Parser_Mapping_Rule.SkelFileSuffix)%(CXX_Parser_Mapping_Rule.SourceSuffix)"
- Condition="'%(CXX_Parser_Mapping_Rule.OutDir)\%(CXX_Parser_Mapping_Rule.Filename)%(CXX_Parser_Mapping_Rule.SkelFileSuffix)%(CXX_Parser_Mapping_Rule.HeaderSuffix);%(CXX_Parser_Mapping_Rule.OutDir)\%(CXX_Parser_Mapping_Rule.Filename)%(CXX_Parser_Mapping_Rule.SkelFileSuffix)%(CXX_Parser_Mapping_Rule.SourceSuffix)' != '' and '%(CXX_Parser_Mapping_Rule.ExcludedFromBuild)' != 'true'">
- <Source>@(CXX_Parser_Mapping_Rule, '|')</Source>
- </CXX_Parser_Mapping_Rule_tlog>
- </ItemGroup>
- <Message
- Importance="High"
- Text="%(CXX_Parser_Mapping_Rule.ExecutionDescription)" />
- <WriteLinesToFile
- Condition="'@(CXX_Parser_Mapping_Rule_tlog)' != '' and '%(CXX_Parser_Mapping_Rule_tlog.ExcludedFromBuild)' != 'true'"
- File="$(IntDir)$(ProjectName).write.1.tlog"
- Lines="^%(CXX_Parser_Mapping_Rule_tlog.Source);@(CXX_Parser_Mapping_Rule_tlog->'%(Fullpath)')" />
- <CXX_Parser_Mapping_Rule
- Condition="'@(CXX_Parser_Mapping_Rule)' != '' and '%(CXX_Parser_Mapping_Rule.ExcludedFromBuild)' != 'true'"
- CommandLineTemplate="%(CXX_Parser_Mapping_Rule.CommandLineTemplate)"
- ProprietaryLicense="%(CXX_Parser_Mapping_Rule.ProprietaryLicense)"
- GenInline="%(CXX_Parser_Mapping_Rule.GenInline)"
- GenValidation="%(CXX_Parser_Mapping_Rule.GenValidation)"
- SupValidation="%(CXX_Parser_Mapping_Rule.SupValidation)"
- GenPolymorphic="%(CXX_Parser_Mapping_Rule.GenPolymorphic)"
- OutDir="%(CXX_Parser_Mapping_Rule.OutDir)"
- HeaderSuffix="%(CXX_Parser_Mapping_Rule.HeaderSuffix)"
- SourceSuffix="%(CXX_Parser_Mapping_Rule.SourceSuffix)"
- InlineSuffix="%(CXX_Parser_Mapping_Rule.InlineSuffix)"
- SkelFileSuffix="%(CXX_Parser_Mapping_Rule.SkelFileSuffix)"
- NamespaceMap="%(CXX_Parser_Mapping_Rule.NamespaceMap)"
- TypeMap="%(CXX_Parser_Mapping_Rule.TypeMap)"
- SkelTypeSuffix="%(CXX_Parser_Mapping_Rule.SkelTypeSuffix)"
- ExportSymbol="%(CXX_Parser_Mapping_Rule.ExportSymbol)"
- HxxPrologue="%(CXX_Parser_Mapping_Rule.HxxPrologue)"
- HxxEpilogue="%(CXX_Parser_Mapping_Rule.HxxEpilogue)"
- CharType="%(CXX_Parser_Mapping_Rule.CharType)"
- CharEncoding="%(CXX_Parser_Mapping_Rule.CharEncoding)"
- XMLParser="%(CXX_Parser_Mapping_Rule.XMLParser)"
- AdditionalOptions="%(CXX_Parser_Mapping_Rule.AdditionalOptions)"
- Inputs="%(CXX_Parser_Mapping_Rule.Identity)" />
- </Target>
- <Target
- Name="XsdClean"
- BeforeTargets="CoreCppClean"
- AfterTargets="_PrepareForClean"
- Condition="'@(CXX_Parser_Mapping_Rule)' != ''">
- <PropertyGroup>
- <XsdCleanFilePatternsToDelete>@(CXX_Parser_Mapping_Rule->Metadata('OutDir')->Distinct())\@(CXX_Parser_Mapping_Rule->Metadata('Filename')->Distinct())@(CXX_Parser_Mapping_Rule->Metadata('SkelFileSuffix')->Distinct())@(CXX_Parser_Mapping_Rule->Metadata('HeaderSuffix')->Distinct());@(CXX_Parser_Mapping_Rule->Metadata('OutDir')->Distinct())\@(CXX_Parser_Mapping_Rule->Metadata('Filename')->Distinct())@(CXX_Parser_Mapping_Rule->Metadata('SkelFileSuffix')->Distinct())@(CXX_Parser_Mapping_Rule->Metadata('SourceSuffix')->Distinct());@(CXX_Parser_Mapping_Rule->Metadata('OutDir')->Distinct())\@(CXX_Parser_Mapping_Rule->Metadata('Filename')->Distinct())@(CXX_Parser_Mapping_Rule->Metadata('SkelFileSuffix')->Distinct())@(CXX_Parser_Mapping_Rule->Metadata('InlineSuffix')->Distinct());</XsdCleanFilePatternsToDelete>
- </PropertyGroup>
- <ItemGroup>
- <CoreCppClean>
- <FilePatternsToDelete
- Condition="'%(CoreCppClean.FilePatternsToDelete)' != ''">%(CoreCppClean.FilePatternsToDelete);$(XsdCleanFilePatternsToDelete)</FilePatternsToDelete>
- <FilePatternsToDelete
- Condition="'%(CoreCppClean.FilePatternsToDelete)' == ''">$(XsdCleanFilePatternsToDelete)</FilePatternsToDelete>
- </CoreCppClean>
- </ItemGroup>
- </Target>
- <Target
- Name="XsdOutputDir"
- Condition="'@(CXX_Parser_Mapping_Rule)' != ''">
- <MakeDir Directories="@(CXX_Parser_Mapping_Rule->Metadata('OutDir')->Distinct()->ClearMetadata())" />
- </Target>
-</Project>
diff --git a/dist/etc/vc-1x.0/xsd-cxx-parser.xml b/dist/etc/vc-1x.0/xsd-cxx-parser.xml deleted file mode 100644 index 37202c6..0000000 --- a/dist/etc/vc-1x.0/xsd-cxx-parser.xml +++ /dev/null @@ -1,284 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
- <Rule
- Name="CXX_Parser_Mapping_Rule"
- PageTemplate="tool"
- DisplayName="C++/Parser Mapping"
- Order="200">
- <Rule.DataSource>
- <DataSource
- Persistence="ProjectFile"
- ItemType="CXX_Parser_Mapping_Rule" />
- </Rule.DataSource>
- <Rule.Categories>
- <Category
- Name="General">
- <Category.DisplayName>
- <sys:String>General</sys:String>
- </Category.DisplayName>
- </Category>
- <Category
- Name="Command Line"
- Subtype="CommandLine">
- <Category.DisplayName>
- <sys:String>Command Line</sys:String>
- </Category.DisplayName>
- </Category>
- </Rule.Categories>
- <StringListProperty
- Name="Inputs"
- Category="Command Line"
- IsRequired="true"
- Switch=" ">
- <StringListProperty.DataSource>
- <DataSource
- Persistence="ProjectFile"
- ItemType="CXX_Parser_Mapping_Rule"
- SourceType="Item" />
- </StringListProperty.DataSource>
- </StringListProperty>
- <BoolProperty
- Name="ProprietaryLicense"
- Subcategory="Licensing"
- HelpContext="0"
- DisplayName="Proprietary License"
- Description="Indicate that the generated code is licensed under a proprietary license instead of the GPL."
- Switch="--proprietary-license" />
- <BoolProperty
- Name="GenInline"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Inline"
- Description="Generate simple functions inline. This option triggers creation of the inline file."
- Switch="--generate-inline" />
- <BoolProperty
- Name="GenValidation"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Validation Code"
- Description="Generate validation code which ensures that instance documents conform to the schema. This is the default for the Expat XML parser."
- Switch="--generate-validation" />
- <BoolProperty
- Name="SupValidation"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Suppress Validation Code"
- Description="Suppress generation of validation code. This is the default for the Xerces-C++ XML parser."
- Switch="--suppress-validation" />
- <BoolProperty
- Name="GenPolymorphic"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Polymorphic"
- Description="Generate polymorphism-aware code. Specify this option if you use substitution groups or xsi:type."
- Switch="--generate-polymorphic" />
- <StringProperty
- Name="OutDir"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="Output Directory"
- Description="Output directory for the generated files"
- Switch="--output-dir "[value]"" />
- <StringProperty
- Name="HeaderSuffix"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="C++ Header Suffix "
- Description="Generated C++ header file suffix"
- Switch="--hxx-suffix "[value]"" />
- <StringProperty
- Name="SourceSuffix"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="C++ Source Suffix"
- Description="Generated C++ source file suffix"
- Switch="--cxx-suffix "[value]"" />
- <StringProperty
- Name="InlineSuffix"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="C++ Inline Suffix"
- Description="Generated C++ inline file suffix"
- Switch="--ixx-suffix "[value]"" />
- <StringProperty
- Name="SkelFileSuffix"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="Parser Skeleton File Suffix"
- Description="Use the provided suffix to construct the names of generated parser skeleton file."
- Switch="--skel-file-suffix "[value]"" />
- <StringListProperty
- Name="NamespaceMap"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Namespace Map"
- Description="Map XML Schema namespaces to C++ namespaces by specifying a semicolon-separated list of mapping rules in the form <xml-ns>=<cxx-ns> where <xml-ns> stands for an XML Schema namespace and <cxx-ns> - for a C++ namespace."
- Switch="--namespace-map "[value]"" />
- <StringListProperty
- Name="TypeMap"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Type Map"
- Description="Specify type map files as a semicolon-separated list."
- Switch="--type-map "[value]"" />
- <StringProperty
- Name="SkelTypeSuffix"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Parser Skeleton Type Suffix"
- Description="Use the provided suffix to construct the names of generated parser skeletons."
- Switch="--skel-type-suffix "[value]"" />
- <StringListProperty
- Name="ExportSymbol"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Export Symbol"
- Description="Insert the specified symbol in places where DLL export/import control statements (__declspec(dllexport/dllimport)) are necessary."
- Switch="--export-symbol "[value]"" />
- <StringListProperty
- Name="HxxPrologue"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Header Prologue File"
- Description="Insert the contents of the file specified at the beginning of the header file."
- Switch="--hxx-prologue-file "[value]"" />
- <StringListProperty
- Name="HxxEpilogue"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Header Epilogue File"
- Description="Insert the contents of the file specified at the end of the header file."
- Switch="--hxx-epilogue-file "[value]"" />
- <EnumProperty
- Name="CharType"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Char Type"
- Description="Character type to be used in the generated code.">
- <EnumValue
- Name="0"
- DisplayName="char" />
- <EnumValue
- Name="1"
- DisplayName="wchar_t"
- Switch="--char-type wchar_t" />
- </EnumProperty>
- <EnumProperty
- Name="CharEncoding"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Char Encoding"
- Description="Character encoding to be used bu the generated code.">
- <EnumValue
- Name="0"
- DisplayName="UTF-8 (char)/UTF-16 (wchar_t)" />
- <EnumValue
- Name="1"
- DisplayName="ISO-8859-1"
- Switch="--char-encoding iso8859-1" />
- <EnumValue
- Name="2"
- DisplayName="Xerces-C++ local code page"
- Switch="--char-encoding lcp" />
- <EnumValue
- Name="3"
- DisplayName="Custom encoding"
- Switch="--char-encoding custom" />
- </EnumProperty>
- <EnumProperty
- Name="XMLParser"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Underlying XML Parser"
- Description="Use the specified parser as the underlying XML parser.">
- <EnumValue
- Name="0"
- DisplayName="xerces" />
- <EnumValue
- Name="1"
- DisplayName="expat"
- Switch="--xml-parser expat" />
- </EnumProperty>
- <StringProperty
- Name="CommandLineTemplate"
- DisplayName="Command Line"
- Visible="False"
- IncludeInCommandLine="False" />
- <DynamicEnumProperty
- Name="CXX_Parser_Mapping_RuleBeforeTargets"
- Category="General"
- EnumProvider="Targets"
- IncludeInCommandLine="False">
- <DynamicEnumProperty.DisplayName>
- <sys:String>Execute Before</sys:String>
- </DynamicEnumProperty.DisplayName>
- <DynamicEnumProperty.Description>
- <sys:String>Specifies the targets for the build customization to run before.</sys:String>
- </DynamicEnumProperty.Description>
- <DynamicEnumProperty.ProviderSettings>
- <NameValuePair
- Name="Exclude"
- Value="^CXX_Parser_Mapping_RuleBeforeTargets|^Compute" />
- </DynamicEnumProperty.ProviderSettings>
- <DynamicEnumProperty.DataSource>
- <DataSource
- Persistence="ProjectFile"
- HasConfigurationCondition="true" />
- </DynamicEnumProperty.DataSource>
- </DynamicEnumProperty>
- <DynamicEnumProperty
- Name="CXX_Parser_Mapping_RuleAfterTargets"
- Category="General"
- EnumProvider="Targets"
- IncludeInCommandLine="False">
- <DynamicEnumProperty.DisplayName>
- <sys:String>Execute After</sys:String>
- </DynamicEnumProperty.DisplayName>
- <DynamicEnumProperty.Description>
- <sys:String>Specifies the targets for the build customization to run after.</sys:String>
- </DynamicEnumProperty.Description>
- <DynamicEnumProperty.ProviderSettings>
- <NameValuePair
- Name="Exclude"
- Value="^CXX_Parser_Mapping_RuleAfterTargets|^Compute" />
- </DynamicEnumProperty.ProviderSettings>
- <DynamicEnumProperty.DataSource>
- <DataSource
- Persistence="ProjectFile"
- ItemType=""
- HasConfigurationCondition="true" />
- </DynamicEnumProperty.DataSource>
- </DynamicEnumProperty>
- <StringProperty
- Name="ExecutionDescription"
- DisplayName="Execution Description"
- Visible="False"
- IncludeInCommandLine="False" />
- <StringListProperty
- Name="AdditionalDependencies"
- DisplayName="Additional Dependencies"
- IncludeInCommandLine="False"
- Visible="true" />
- <StringProperty
- Subtype="AdditionalOptions"
- Name="AdditionalOptions"
- Category="Command Line">
- <StringProperty.DisplayName>
- <sys:String>Additional Options</sys:String>
- </StringProperty.DisplayName>
- <StringProperty.Description>
- <sys:String>Additional Options</sys:String>
- </StringProperty.Description>
- </StringProperty>
- </Rule>
- <ItemType
- Name="CXX_Parser_Mapping_Rule"
- DisplayName="C++/Parser Mapping" />
- <FileExtension
- Name="*.xsd"
- ContentType="CXX_Parser_Mapping_Rule" />
- <ContentType
- Name="CXX_Parser_Mapping_Rule"
- DisplayName="C++/Parser Mapping"
- ItemType="CXX_Parser_Mapping_Rule" />
-</ProjectSchemaDefinitions>
diff --git a/dist/etc/vc-1x.0/xsd-cxx-tree.props b/dist/etc/vc-1x.0/xsd-cxx-tree.props deleted file mode 100644 index fc81c9b..0000000 --- a/dist/etc/vc-1x.0/xsd-cxx-tree.props +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup
- Condition="'$(CXX_Tree_Mapping_RuleBeforeTargets)' == '' and '$(CXX_Tree_Mapping_RuleAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
- <CXX_Tree_Mapping_RuleBeforeTargets>Midl</CXX_Tree_Mapping_RuleBeforeTargets>
- <CXX_Tree_Mapping_RuleAfterTargets>CustomBuild</CXX_Tree_Mapping_RuleAfterTargets>
- </PropertyGroup>
- <PropertyGroup>
- <CXX_Tree_Mapping_RuleDependsOn
- Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(CXX_Tree_Mapping_RuleDependsOn)</CXX_Tree_Mapping_RuleDependsOn>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <CXX_Tree_Mapping_Rule>
- <ProprietaryLicense>False</ProprietaryLicense>
- <CxxStd>0</CxxStd>
- <GenInline>False</GenInline>
- <GenForward>False</GenForward>
- <GenSerialization>False</GenSerialization>
- <SupParsing>False</SupParsing>
- <GenPolymorphic>False</GenPolymorphic>
- <PolymorphicTypeAll>False</PolymorphicTypeAll>
- <GenOstream>False</GenOstream>
- <GenDoxygen>False</GenDoxygen>
- <GenComparison>False</GenComparison>
- <GenDefaultCtor>False</GenDefaultCtor>
- <GenFromBaseCtor>False</GenFromBaseCtor>
- <GenDetach>False</GenDetach>
- <GenWildcard>False</GenWildcard>
- <GenAnyType>False</GenAnyType>
- <GenElementType>False</GenElementType>
- <GenElementMap>False</GenElementMap>
- <GenIntellisense>False</GenIntellisense>
- <OutDir>.</OutDir>
- <HeaderSuffix>.hxx</HeaderSuffix>
- <SourceSuffix>.cxx</SourceSuffix>
- <InlineSuffix>.ixx</InlineSuffix>
- <ForwardSuffix>-fwd.hxx</ForwardSuffix>
- <CharType>0</CharType>
- <CharEncoding>0</CharEncoding>
- <TypeNaming>0</TypeNaming>
- <FunctionNaming>0</FunctionNaming>
- <CommandLineTemplate>xsd.exe cxx-tree [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
- <ExecutionDescription>xsd cxx-tree %(Identity)</ExecutionDescription>
- <ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
- </CXX_Tree_Mapping_Rule>
- </ItemDefinitionGroup>
-</Project>
diff --git a/dist/etc/vc-1x.0/xsd-cxx-tree.targets b/dist/etc/vc-1x.0/xsd-cxx-tree.targets deleted file mode 100644 index 6156ec2..0000000 --- a/dist/etc/vc-1x.0/xsd-cxx-tree.targets +++ /dev/null @@ -1,107 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <PropertyPageSchema
- Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
- <AvailableItemName
- Include="CXX_Tree_Mapping_Rule">
- <Targets>XsdCompile</Targets>
- </AvailableItemName>
- </ItemGroup>
- <UsingTask
- TaskName="CXX_Tree_Mapping_Rule"
- TaskFactory="XamlTaskFactory"
- AssemblyName="Microsoft.Build.Tasks.v4.0">
- <Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
- </UsingTask>
- <Target
- Name="XsdCompile"
- BeforeTargets="$(CXX_Tree_Mapping_RuleBeforeTargets)"
- AfterTargets="$(CXX_Tree_Mapping_RuleAfterTargets)"
- Condition="'@(CXX_Tree_Mapping_Rule)' != ''"
- DependsOnTargets="$(CXX_Tree_Mapping_RuleDependsOn);XsdOutputDir"
- Outputs="%(CXX_Tree_Mapping_Rule.OutDir)\%(CXX_Tree_Mapping_Rule.Filename)%(CXX_Tree_Mapping_Rule.HeaderSuffix);%(CXX_Tree_Mapping_Rule.OutDir)\%(CXX_Tree_Mapping_Rule.Filename)%(CXX_Tree_Mapping_Rule.SourceSuffix)"
- Inputs="%(CXX_Tree_Mapping_Rule.Identity);%(CXX_Tree_Mapping_Rule.AdditionalDependencies);$(MSBuildProjectFile)">
- <ItemGroup
- Condition="'@(SelectedFiles)' != ''">
- <CXX_Tree_Mapping_Rule
- Remove="@(CXX_Tree_Mapping_Rule)"
- Condition="'%(Identity)' != '@(SelectedFiles)'" />
- </ItemGroup>
- <ItemGroup>
- <CXX_Tree_Mapping_Rule_tlog
- Include="%(CXX_Tree_Mapping_Rule.OutDir)\%(CXX_Tree_Mapping_Rule.Filename)%(CXX_Tree_Mapping_Rule.HeaderSuffix);%(CXX_Tree_Mapping_Rule.OutDir)\%(CXX_Tree_Mapping_Rule.Filename)%(CXX_Tree_Mapping_Rule.SourceSuffix)"
- Condition="'%(CXX_Tree_Mapping_Rule.OutDir)\%(CXX_Tree_Mapping_Rule.Filename)%(CXX_Tree_Mapping_Rule.HeaderSuffix);%(CXX_Tree_Mapping_Rule.OutDir)\%(CXX_Tree_Mapping_Rule.Filename)%(CXX_Tree_Mapping_Rule.SourceSuffix)' != '' and '%(CXX_Tree_Mapping_Rule.ExcludedFromBuild)' != 'true'">
- <Source>@(CXX_Tree_Mapping_Rule, '|')</Source>
- </CXX_Tree_Mapping_Rule_tlog>
- </ItemGroup>
- <Message
- Importance="High"
- Text="%(CXX_Tree_Mapping_Rule.ExecutionDescription)" />
- <WriteLinesToFile
- Condition="'@(CXX_Tree_Mapping_Rule_tlog)' != '' and '%(CXX_Tree_Mapping_Rule_tlog.ExcludedFromBuild)' != 'true'"
- File="$(IntDir)$(ProjectName).write.1.tlog"
- Lines="^%(CXX_Tree_Mapping_Rule_tlog.Source);@(CXX_Tree_Mapping_Rule_tlog->'%(Fullpath)')" />
- <CXX_Tree_Mapping_Rule
- Condition="'@(CXX_Tree_Mapping_Rule)' != '' and '%(CXX_Tree_Mapping_Rule.ExcludedFromBuild)' != 'true'"
- CommandLineTemplate="%(CXX_Tree_Mapping_Rule.CommandLineTemplate)"
- ProprietaryLicense="%(CXX_Tree_Mapping_Rule.ProprietaryLicense)"
- CxxStd="%(CXX_Tree_Mapping_Rule.CxxStd)"
- GenInline="%(CXX_Tree_Mapping_Rule.GenInline)"
- GenForward="%(CXX_Tree_Mapping_Rule.GenForward)"
- GenSerialization="%(CXX_Tree_Mapping_Rule.GenSerialization)"
- SupParsing="%(CXX_Tree_Mapping_Rule.SupParsing)"
- GenPolymorphic="%(CXX_Tree_Mapping_Rule.GenPolymorphic)"
- PolymorphicTypeAll="%(CXX_Tree_Mapping_Rule.PolymorphicTypeAll)"
- GenOstream="%(CXX_Tree_Mapping_Rule.GenOstream)"
- GenDoxygen="%(CXX_Tree_Mapping_Rule.GenDoxygen)"
- GenComparison="%(CXX_Tree_Mapping_Rule.GenComparison)"
- GenDefaultCtor="%(CXX_Tree_Mapping_Rule.GenDefaultCtor)"
- GenFromBaseCtor="%(CXX_Tree_Mapping_Rule.GenFromBaseCtor)"
- GenDetach="%(CXX_Tree_Mapping_Rule.GenDetach)"
- GenWildcard="%(CXX_Tree_Mapping_Rule.GenWildcard)"
- GenAnyType="%(CXX_Tree_Mapping_Rule.GenAnyType)"
- GenElementType="%(CXX_Tree_Mapping_Rule.GenElementType)"
- GenElementMap="%(CXX_Tree_Mapping_Rule.GenElementMap)"
- GenIntellisense="%(CXX_Tree_Mapping_Rule.GenIntellisense)"
- OutDir="%(CXX_Tree_Mapping_Rule.OutDir)"
- HeaderSuffix="%(CXX_Tree_Mapping_Rule.HeaderSuffix)"
- SourceSuffix="%(CXX_Tree_Mapping_Rule.SourceSuffix)"
- InlineSuffix="%(CXX_Tree_Mapping_Rule.InlineSuffix)"
- ForwardSuffix="%(CXX_Tree_Mapping_Rule.ForwardSuffix)"
- NamespaceMap="%(CXX_Tree_Mapping_Rule.NamespaceMap)"
- PolymorphicType="%(CXX_Tree_Mapping_Rule.PolymorphicType)"
- RootElement="%(CXX_Tree_Mapping_Rule.RootElement)"
- ExportSymbol="%(CXX_Tree_Mapping_Rule.ExportSymbol)"
- HxxPrologue="%(CXX_Tree_Mapping_Rule.HxxPrologue)"
- HxxEpilogue="%(CXX_Tree_Mapping_Rule.HxxEpilogue)"
- CharType="%(CXX_Tree_Mapping_Rule.CharType)"
- CharEncoding="%(CXX_Tree_Mapping_Rule.CharEncoding)"
- TypeNaming="%(CXX_Tree_Mapping_Rule.TypeNaming)"
- FunctionNaming="%(CXX_Tree_Mapping_Rule.FunctionNaming)"
- AdditionalOptions="%(CXX_Tree_Mapping_Rule.AdditionalOptions)"
- Inputs="%(CXX_Tree_Mapping_Rule.Identity)" />
- </Target>
- <Target
- Name="XsdClean"
- BeforeTargets="CoreCppClean"
- AfterTargets="_PrepareForClean"
- Condition="'@(CXX_Tree_Mapping_Rule)' != ''">
- <PropertyGroup>
- <XsdCleanFilePatternsToDelete>@(CXX_Tree_Mapping_Rule->Metadata('OutDir')->Distinct())\@(CXX_Tree_Mapping_Rule->Metadata('Filename')->Distinct())@(CXX_Tree_Mapping_Rule->Metadata('HeaderSuffix')->Distinct());@(CXX_Tree_Mapping_Rule->Metadata('OutDir')->Distinct())\@(CXX_Tree_Mapping_Rule->Metadata('Filename')->Distinct())@(CXX_Tree_Mapping_Rule->Metadata('SourceSuffix')->Distinct());@(CXX_Tree_Mapping_Rule->Metadata('OutDir')->Distinct())\@(CXX_Tree_Mapping_Rule->Metadata('Filename')->Distinct())@(CXX_Tree_Mapping_Rule->Metadata('InlineSuffix')->Distinct());@(CXX_Tree_Mapping_Rule->Metadata('OutDir')->Distinct())\@(CXX_Tree_Mapping_Rule->Metadata('Filename')->Distinct())@(CXX_Tree_Mapping_Rule->Metadata('ForwardSuffix')->Distinct())</XsdCleanFilePatternsToDelete>
- </PropertyGroup>
- <ItemGroup>
- <CoreCppClean>
- <FilePatternsToDelete
- Condition="'%(CoreCppClean.FilePatternsToDelete)' != ''">%(CoreCppClean.FilePatternsToDelete);$(XsdCleanFilePatternsToDelete)</FilePatternsToDelete>
- <FilePatternsToDelete
- Condition="'%(CoreCppClean.FilePatternsToDelete)' == ''">$(XsdCleanFilePatternsToDelete)</FilePatternsToDelete>
- </CoreCppClean>
- </ItemGroup>
- </Target>
- <Target
- Name="XsdOutputDir"
- Condition="'@(CXX_Tree_Mapping_Rule)' != ''">
- <MakeDir Directories="@(CXX_Tree_Mapping_Rule->Metadata('OutDir')->Distinct()->ClearMetadata())" />
- </Target>
-</Project>
diff --git a/dist/etc/vc-1x.0/xsd-cxx-tree.xml b/dist/etc/vc-1x.0/xsd-cxx-tree.xml deleted file mode 100644 index e37eb1c..0000000 --- a/dist/etc/vc-1x.0/xsd-cxx-tree.xml +++ /dev/null @@ -1,411 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
- <Rule
- Name="CXX_Tree_Mapping_Rule"
- PageTemplate="tool"
- DisplayName="C++/Tree Mapping"
- Order="200">
- <Rule.DataSource>
- <DataSource
- Persistence="ProjectFile"
- ItemType="CXX_Tree_Mapping_Rule" />
- </Rule.DataSource>
- <Rule.Categories>
- <Category
- Name="General">
- <Category.DisplayName>
- <sys:String>General</sys:String>
- </Category.DisplayName>
- </Category>
- <Category
- Name="Command Line"
- Subtype="CommandLine">
- <Category.DisplayName>
- <sys:String>Command Line</sys:String>
- </Category.DisplayName>
- </Category>
- </Rule.Categories>
- <StringListProperty
- Name="Inputs"
- Category="Command Line"
- IsRequired="true"
- Switch=" ">
- <StringListProperty.DataSource>
- <DataSource
- Persistence="ProjectFile"
- ItemType="CXX_Tree_Mapping_Rule"
- SourceType="Item" />
- </StringListProperty.DataSource>
- </StringListProperty>
- <BoolProperty
- Name="ProprietaryLicense"
- Subcategory="Licensing"
- HelpContext="0"
- DisplayName="Proprietary License"
- Description="Indicate that the generated code is licensed under a proprietary license instead of the GPL."
- Switch="--proprietary-license" />
- <EnumProperty
- Name="CxxStd"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="C++ Standard"
- Description="C++ Standard the generated code should conform to.">
- <EnumValue
- Name="0"
- DisplayName="c++98" />
- <EnumValue
- Name="1"
- DisplayName="c++11"
- Switch="--std c++11" />
- </EnumProperty>
- <BoolProperty
- Name="GenInline"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Inline"
- Description="Generate simple functions inline. This option triggers creation of the inline file."
- Switch="--generate-inline" />
- <BoolProperty
- Name="GenForward"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Forward"
- Description="Generate a separate header file with forward declarations for the types being generated."
- Switch="--generate-forward" />
- <BoolProperty
- Name="GenSerialization"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Serialization"
- Description="Generate serialization functions. Serialization functions convert the object model back to XML."
- Switch="--generate-serialization" />
- <BoolProperty
- Name="SupParsing"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Suppress Parsing"
- Description="Suppress generation of the parsing functions and constructors."
- Switch="--suppress-parsing" />
- <BoolProperty
- Name="GenPolymorphic"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Polymorphic"
- Description="Generate polymorphism-aware code. Specify this option if you use substitution groups or xsi:type."
- Switch="--generate-polymorphic" />
- <BoolProperty
- Name="PolymorphicTypeAll"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="All Types Polymorphic"
- Description="Indicate that all types should be treated as polymorphic."
- Switch="--polymorphic-type-all" />
- <BoolProperty
- Name="GenOstream"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Ostream"
- Description="Generate ostream insertion operators for generated types. This allows to easily print a fragment or the whole object model for debugging or logging."
- Switch="--generate-ostream" />
- <BoolProperty
- Name="GenDoxygen"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Doxygen"
- Description="Generate documentation comments suitable for extraction by the Doxygen documentation system."
- Switch="--generate-doxygen" />
- <BoolProperty
- Name="GenComparison"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Comparison"
- Description="Generate comparison operators for complex types."
- Switch="--generate-comparison" />
- <BoolProperty
- Name="GenDefaultCtor"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Default Constructors"
- Description="Generate default constructors even for types that have required members."
- Switch="--generate-default-ctor" />
- <BoolProperty
- Name="GenFromBaseCtor"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate From-Base Constructors"
- Description="Generate constructors that expect an instance of a base type followed by all required members."
- Switch="--generate-from-base-ctor" />
- <BoolProperty
- Name="GenDetach"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Detach"
- Description="Generate detach functions for required elements and attributes."
- Switch="--generate-detach" />
- <BoolProperty
- Name="GenWildcard"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Wildcard"
- Description="Generate accessors and modifiers as well as parsing and serialization code for XML Schema wildcards (any and anyAttribute)."
- Switch="--generate-wildcard" />
- <BoolProperty
- Name="GenAnyType"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate anyType"
- Description="Extract and store content of the XML Schema anyType type as a DOM fragment."
- Switch="--generate-any-type" />
- <BoolProperty
- Name="GenElementType"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Element Types"
- Description="Generate types instead of parsing and serialization functions for root elements."
- Switch="--generate-element-type" />
- <BoolProperty
- Name="GenElementMap"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate Element Map"
- Description="Generate a root element map that allows uniform parsing and serialization of multiple root elements."
- Switch="--generate-element-map" />
- <BoolProperty
- Name="GenIntellisense"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Generate IntelliSense"
- Description="Generate workarounds for IntelliSense bugs in Visual Studio 2005 (8.0)."
- Switch="--generate-intellisense" />
- <StringProperty
- Name="OutDir"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="Output Directory"
- Description="Output directory for the generated files"
- Switch="--output-dir "[value]"" />
- <StringProperty
- Name="HeaderSuffix"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="C++ Header Suffix "
- Description="Generated C++ header file suffix"
- Switch="--hxx-suffix "[value]"" />
- <StringProperty
- Name="SourceSuffix"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="C++ Source Suffix"
- Description="Generated C++ source file suffix"
- Switch="--cxx-suffix "[value]"" />
- <StringProperty
- Name="InlineSuffix"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="C++ Inline Suffix"
- Description="Generated C++ inline file suffix"
- Switch="--ixx-suffix "[value]"" />
- <StringProperty
- Name="ForwardSuffix"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="C++ Forward Declaration Suffix"
- Description="Generated C++ forward declaration file suffix"
- Switch="--fwd-suffix "[value]"" />
- <StringListProperty
- Name="NamespaceMap"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Namespace Map"
- Description="Map XML Schema namespaces to C++ namespaces by specifying a semicolon-separated list of mapping rules in the form <xml-ns>=<cxx-ns> where <xml-ns> stands for an XML Schema namespace and <cxx-ns> - for a C++ namespace."
- Switch="--namespace-map "[value]"" />
- <StringListProperty
- Name="PolymorphicType"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Polymorphic Types"
- Description="Treat specified semicolon-separated list of types as roots of polymorphic type hierarchies."
- Switch="--polymorphic-type "[value]"" />
- <StringListProperty
- Name="RootElement"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Root Element"
- Description="Treat only specified semicolon-separated list of elements as document roots."
- Switch="--root-element "[value]"" />
- <StringListProperty
- Name="ExportSymbol"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Export Symbol"
- Description="Insert the specified symbol in places where DLL export/import control statements (__declspec(dllexport/dllimport)) are necessary."
- Switch="--export-symbol "[value]"" />
- <StringListProperty
- Name="HxxPrologue"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Header Prologue File"
- Description="Insert the contents of the file specified at the beginning of the header file."
- Switch="--hxx-prologue-file "[value]"" />
- <StringListProperty
- Name="HxxEpilogue"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Header Epilogue File"
- Description="Insert the contents of the file specified at the end of the header file."
- Switch="--hxx-epilogue-file "[value]"" />
- <EnumProperty
- Name="CharType"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Char Type"
- Description="Character type to be used in the generated code.">
- <EnumValue
- Name="0"
- DisplayName="char" />
- <EnumValue
- Name="1"
- DisplayName="wchar_t"
- Switch="--char-type wchar_t" />
- </EnumProperty>
- <EnumProperty
- Name="CharEncoding"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Char Encoding"
- Description="Character encoding to be used bu the generated code.">
- <EnumValue
- Name="0"
- DisplayName="UTF-8 (char)/UTF-16 (wchar_t)" />
- <EnumValue
- Name="1"
- DisplayName="ISO-8859-1"
- Switch="--char-encoding iso8859-1" />
- <EnumValue
- Name="2"
- DisplayName="Xerces-C++ local code page"
- Switch="--char-encoding lcp" />
- <EnumValue
- Name="3"
- DisplayName="Custom encoding"
- Switch="--char-encoding custom" />
- </EnumProperty>
- <EnumProperty
- Name="TypeNaming"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Type Naming"
- Description="Specify the type naming convention that should be used in the generated code.">
- <EnumValue
- Name="0"
- DisplayName="K&R" />
- <EnumValue
- Name="1"
- DisplayName="Java"
- Switch="--type-naming java" />
- <EnumValue
- Name="2"
- DisplayName="Upper Camel Case"
- Switch="--type-naming ucc" />
- </EnumProperty>
- <EnumProperty
- Name="FunctionNaming"
- Category="Code Generation"
- HelpContext="0"
- DisplayName="Function Naming"
- Description="Specify the function naming convention that should be used in the generated code.">
- <EnumValue
- Name="0"
- DisplayName="K&R" />
- <EnumValue
- Name="1"
- DisplayName="Java"
- Switch="--function-naming java" />
- <EnumValue
- Name="2"
- DisplayName="Lower Camel Case"
- Switch="--function-naming lcc" />
- </EnumProperty>
- <StringProperty
- Name="CommandLineTemplate"
- DisplayName="Command Line"
- Visible="False"
- IncludeInCommandLine="False" />
- <DynamicEnumProperty
- Name="CXX_Tree_Mapping_RuleBeforeTargets"
- Category="General"
- EnumProvider="Targets"
- IncludeInCommandLine="False">
- <DynamicEnumProperty.DisplayName>
- <sys:String>Execute Before</sys:String>
- </DynamicEnumProperty.DisplayName>
- <DynamicEnumProperty.Description>
- <sys:String>Specifies the targets for the build customization to run before.</sys:String>
- </DynamicEnumProperty.Description>
- <DynamicEnumProperty.ProviderSettings>
- <NameValuePair
- Name="Exclude"
- Value="^CXX_Tree_Mapping_RuleBeforeTargets|^Compute" />
- </DynamicEnumProperty.ProviderSettings>
- <DynamicEnumProperty.DataSource>
- <DataSource
- Persistence="ProjectFile"
- HasConfigurationCondition="true" />
- </DynamicEnumProperty.DataSource>
- </DynamicEnumProperty>
- <DynamicEnumProperty
- Name="CXX_Tree_Mapping_RuleAfterTargets"
- Category="General"
- EnumProvider="Targets"
- IncludeInCommandLine="False">
- <DynamicEnumProperty.DisplayName>
- <sys:String>Execute After</sys:String>
- </DynamicEnumProperty.DisplayName>
- <DynamicEnumProperty.Description>
- <sys:String>Specifies the targets for the build customization to run after.</sys:String>
- </DynamicEnumProperty.Description>
- <DynamicEnumProperty.ProviderSettings>
- <NameValuePair
- Name="Exclude"
- Value="^CXX_Tree_Mapping_RuleAfterTargets|^Compute" />
- </DynamicEnumProperty.ProviderSettings>
- <DynamicEnumProperty.DataSource>
- <DataSource
- Persistence="ProjectFile"
- ItemType=""
- HasConfigurationCondition="true" />
- </DynamicEnumProperty.DataSource>
- </DynamicEnumProperty> |