summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release_it.bat31
-rwxr-xr-xrelease_it.sh42
2 files changed, 0 insertions, 73 deletions
diff --git a/release_it.bat b/release_it.bat
deleted file mode 100644
index e834deb..0000000
--- a/release_it.bat
+++ /dev/null
@@ -1,31 +0,0 @@
-
-set PATH=%PATH%;C:\Program Files (x86)\CMake 2.8\bin
-
-set CMAKE_BUILDDIR=build\vc
-set STARTDIR=%CD%
-
-@if NOT "%VS100COMNTOOLS%"=="" (call "%VS100COMNTOOLS%\vsvars32.bat" & goto VS_END)
-@if NOT "%VS90COMNTOOLS%"=="" (call "%VS90COMNTOOLS%\vsvars32.bat" & goto VS_END)
-@if NOT "%VS80COMNTOOLS%"=="" (call "%VS80COMNTOOLS%\vsvars32.bat" & goto VS_END)
-@if NOT "%VS71COMNTOOLS%"=="" (call "%VS71COMNTOOLS%\vsvars32.bat" & goto VS_END)
-
-:VS_END
-
-cd %STARTDIR%
-
-set CMAKE_BUILDDIR=build\vc
-mkdir %CMAKE_BUILDDIR%
-
-cd %CMAKE_BUILDDIR%
-
-del CMakeCache.txt
-
-cmake -D CMARK_MSVC_MT:BOOL=OFF %STARTDIR%
-rem -D cmark_DOCS:bool=ON -D cmark_WITH_TESTS:bool=ON -DCXXTEST_INCLUDE_DIR=%STARTDIR%\3rdparty\cxxtest -DCXXTEST_PYTHON_TESTGEN_EXECUTABLE=%STARTDIR%\3rdparty\cxxtest\bin\cxxtestgen
-cpack --config CPackSourceConfig.cmake
-cd %STARTDIR%
-cmake --build %CMAKE_BUILDDIR% --target all --target test --target package
-rem --target package_source
-
-
-pause
diff --git a/release_it.sh b/release_it.sh
deleted file mode 100755
index b83772a..0000000
--- a/release_it.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-HOST_SYSTEM=`uname -s`
-HOST_ARCH=`uname -m`
-STARTDIR=`pwd`
-
-CMAKE_BUILDDIR=build/$HOST_ARCH-$HOST_SYSTEM
-
-mkdir -p $CMAKE_BUILDDIR
-
-cd $CMAKE_BUILDDIR
-
-if test $HOST_SYSTEM = "Darwin" ; then
- cmake -DChronolog_WITH_DOCS:bool=ON \
- -DChronolog_WITH_TESTS:bool=ON \
- -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk \
- $STARTDIR;
- cd $STARTDIR
-
- mkdir -p build/Xcode
- cd build/Xcode
- cmake -DChronolog_WITH_DOCS:bool=ON \
- -DChronolog_WITH_TESTS:bool=ON \
- -DCXXTEST_INCLUDE_DIR=3rdparty/cxxtest \
- -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk \
- -G Xcode $STARTDIR;
- cd $STARTDIR
-
-elif test $HOST_SYSTEM = "Linux" ; then
- cmake -DChronolog_WITH_DOCS:bool=ON \
- -DChronolog_WITH_TESTS:bool=ON \
- $STARTDIR;
-else
- echo "not supported";
-fi
-
-cd $CMAKE_BUILDDIR
-cpack --config CPackSourceConfig.cmake
-cmake --build . --target all --target test --target package
-cmake --build . --target package_source
-cd $STARTDIR
-