summaryrefslogtreecommitdiff
path: root/homebrew/xercesc/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/xercesc/.make.sh-auto')
-rw-r--r--homebrew/xercesc/.make.sh-auto11
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/xercesc/.make.sh-auto b/homebrew/xercesc/.make.sh-auto
new file mode 100644
index 000000000..8897aa4d2
--- /dev/null
+++ b/homebrew/xercesc/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+ENV.cxx11
+mkdir "build" && cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make
+ctest -V
+make DESTDIR=${PKG_DEST} install
+make clean
+cmake .. -DBUILD_SHARED_LIBS=OFF -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make
+lib.install Dir["src/*.a"]