Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build/gmake/test.make')
-rw-r--r--build/gmake/test.make48
1 files changed, 48 insertions, 0 deletions
diff --git a/build/gmake/test.make b/build/gmake/test.make
new file mode 100644
index 00000000..091b8d49
--- /dev/null
+++ b/build/gmake/test.make
@@ -0,0 +1,48 @@
+# GNU Make solution makefile autogenerated by Premake
+# Type "make help" for usage help
+
+ifndef config
+ config=debug32
+endif
+export config
+
+PROJECTS := gtest unittest perftest
+
+.PHONY: all clean help $(PROJECTS)
+
+all: $(PROJECTS)
+
+gtest:
+ @echo "==== Building gtest ($(config)) ===="
+ @${MAKE} --no-print-directory -C . -f gtest.make
+
+unittest: gtest
+ @echo "==== Building unittest ($(config)) ===="
+ @${MAKE} --no-print-directory -C . -f unittest.make
+
+perftest: gtest
+ @echo "==== Building perftest ($(config)) ===="
+ @${MAKE} --no-print-directory -C . -f perftest.make
+
+clean:
+ @${MAKE} --no-print-directory -C . -f gtest.make clean
+ @${MAKE} --no-print-directory -C . -f unittest.make clean
+ @${MAKE} --no-print-directory -C . -f perftest.make clean
+
+help:
+ @echo "Usage: make [config=name] [target]"
+ @echo ""
+ @echo "CONFIGURATIONS:"
+ @echo " debug32"
+ @echo " release32"
+ @echo " debug64"
+ @echo " release64"
+ @echo ""
+ @echo "TARGETS:"
+ @echo " all (default)"
+ @echo " clean"
+ @echo " gtest"
+ @echo " unittest"
+ @echo " perftest"
+ @echo ""
+ @echo "For more information, see http://industriousone.com/premake/quick-start"