[sdpb] 111/233: moved tinyxml2 into its own directory
Tobias Hansen
thansen at moszumanska.debian.org
Thu Mar 9 04:06:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository sdpb.
commit 4bf28ef39c726e84d72a540938892bf7ef56467c
Author: David Simmons-Duffin <dsd at minerva.sns.ias.edu>
Date: Tue Nov 18 19:41:29 2014 -0500
moved tinyxml2 into its own directory
---
Makefile | 5 +++--
src/parse.cpp | 2 +-
src/{ => tinyxml2}/tinyxml2.cpp | 0
src/{ => tinyxml2}/tinyxml2.h | 0
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 21f642f..7694f7c 100755
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-SOURCES := $(wildcard src/*.cpp) $(wildcard src/mpack/*.cpp)
-HEADERS := $(wildcard src/*.h) $(wildcard src/mpack/*.h)
+SOURCES := $(wildcard src/*.cpp) $(wildcard src/mpack/*.cpp) $(wildcard src/tinyxml2/*.cpp)
+HEADERS := $(wildcard src/*.h) $(wildcard src/mpack/*.h) $(wildcard src/tinyxml2/*.h)
OBJECTS := $(patsubst src/%.cpp,obj/%.o,$(SOURCES))
RESULT = sdpb
@@ -22,6 +22,7 @@ clean:
obj:
@mkdir -p $@
@mkdir -p $@/mpack
+ @mkdir -p $@/tinyxml2
foo:
echo $(OBJECTS)
diff --git a/src/parse.cpp b/src/parse.cpp
index c6505ef..1c6586c 100644
--- a/src/parse.cpp
+++ b/src/parse.cpp
@@ -9,9 +9,9 @@
#include <vector>
#include "types.h"
#include "parse.h"
-#include "tinyxml2.h"
#include "Polynomial.h"
#include "SDP.h"
+#include "tinyxml2/tinyxml2.h"
using std::vector;
using tinyxml2::XMLDocument;
diff --git a/src/tinyxml2.cpp b/src/tinyxml2/tinyxml2.cpp
similarity index 100%
rename from src/tinyxml2.cpp
rename to src/tinyxml2/tinyxml2.cpp
diff --git a/src/tinyxml2.h b/src/tinyxml2/tinyxml2.h
similarity index 100%
rename from src/tinyxml2.h
rename to src/tinyxml2/tinyxml2.h
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sdpb.git
More information about the debian-science-commits
mailing list