aboutsummaryrefslogtreecommitdiff
path: root/libstudxml/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-03 09:18:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-03 09:18:25 +0200
commitf429e2c55f77d5869683d902c9f4d96df1678d6c (patch)
tree7aa60d04a145620b10cbc046a9894479121addc4 /libstudxml/buildfile
parent424e315dfa9a78aebf0653c95f83fe6ed452dd8e (diff)
Get rid of legacy build systems
Diffstat (limited to 'libstudxml/buildfile')
-rw-r--r--libstudxml/buildfile24
1 files changed, 4 insertions, 20 deletions
diff --git a/libstudxml/buildfile b/libstudxml/buildfile
index 1cc0203..668de68 100644
--- a/libstudxml/buildfile
+++ b/libstudxml/buildfile
@@ -15,8 +15,8 @@ lib{studxml}: \
details/{hxx }{ export.hxx } \
details/{hxx }{ post.hxx } \
details/{hxx }{ pre.hxx } \
-details/build2/{h }{ config } \
-details/build2/{h }{ config-vc }
+ details/{h }{ config } \
+ details/{h }{ config-vc }
# Expat. Note that we treat a whole bunch of its sources as files since they
# are private and #include's (including .c file).
@@ -60,11 +60,11 @@ else
# We are a mixed C/C++ library, though C is implementatio-only, kind of: we
# need headers but not symbols.
#
-cc.poptions =+ "-I$out_root" "-I$src_root" -DLIBSTUDXML_BUILD2
+cc.poptions =+ "-I$out_root" "-I$src_root"
obja{*}: cc.poptions += -DLIBSTUDXML_STATIC_BUILD
objs{*}: cc.poptions += -DLIBSTUDXML_SHARED_BUILD
-lib{studxml}: cc.export.poptions = "-I$out_root" "-I$src_root" -DLIBSTUDXML_BUILD2
+lib{studxml}: cc.export.poptions = "-I$out_root" "-I$src_root"
liba{studxml}: cc.export.poptions += -DLIBSTUDXML_STATIC
libs{studxml}: cc.export.poptions += -DLIBSTUDXML_SHARED
@@ -73,19 +73,3 @@ libs{studxml}: cc.export.poptions += -DLIBSTUDXML_SHARED
#
install.include = $install.include/libstudxml/
install.include.subdirs = true # Recreate subdirectories.
-
-# We want these to be picked up even when LIBSTUDXML_BUILD2 is not defined.
-#
-details/build2/:
-{
- if ($cxx.id == "msvc")
- {
- h{config}@./: install = false
- h{config-vc}@./: install = $install.include/details/
- }
- else
- {
- h{config}@./: install = $install.include/details/
- h{config-vc}@./: install = false
- }
-}