summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bzrignore3
-rw-r--r--CMakeLists.txt11
-rw-r--r--VERSION2
-rwxr-xr-xrelease8
-rw-r--r--src/CMakeLists.txt17
5 files changed, 39 insertions, 2 deletions
diff --git a/.bzrignore b/.bzrignore
index a5041d9..6113eab 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -24,3 +24,6 @@ ascii
generate
upper
example
+CMakeFiles
+CMakeCache.txt
+cmake_install.cmake
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..3738ce1
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,11 @@
+cmake_minimum_required(VERSION 2.6.3)
+project(librcd)
+
+set(CMAKE_BUILD_TYPE RELEASE)
+
+if (NOT WIN32)
+ message(FATAL_ERROR "Windows only, use autotools to build under POSIX-capable systems")
+endif(NOT WIN32)
+
+add_subdirectory(src)
+
diff --git a/VERSION b/VERSION
index 0e24a92..b618400 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.12
+0.1.13CVS
diff --git a/release b/release
index 857bbce..475ba72 100755
--- a/release
+++ b/release
@@ -39,6 +39,9 @@ cp -a * $RDIR/$rname
make clean -C examples distclean distclean-am
make clean -C statgen distclean distclean-am
make clean distclean distclean-am
+ find . -name CMakeFiles -print0 | xargs -0 rm -rf
+ find . -name CMakeCache.txt -print0 | xargs -0 rm -rf
+ find . -name cmake_install.cmake -print0 | xargs -0 rm -rf
rm -rf autom4te*.cache
rm -rf "{arch}"
rm -rf `find . -name .arch-ids`
@@ -52,5 +55,8 @@ cp -a * $RDIR/$rname
tar cjf $rname.tar.bz2 $rname
rm -rf $rname
- scp $rname.tar.bz2 csa@dside.dyndns.org:/home/csa/public_html/files/rusxmms/
+ if [ ! "$cvs" == "cvs" ]; then
+ scp $rname.tar.bz2 csa@dside.dyndns.org:/home/csa/public_html/files/rusxmms/
+ ssh csa@dside.dyndns.org ln -sf $rname.tar.bz2 /home/csa/public_html/files/rusxmms/$NAME-latest.tar.bz2
+ fi
)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..29c8422
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,17 @@
+if (NOT WIN32)
+ SET(BUILD_SHARED_LIBS ON)
+endif (NOT WIN32)
+
+SET(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+SET(HEADERS
+ librcd.h
+)
+
+SET(rcd_SRCS
+ librcd.c
+ russian_table.h
+ ${HEADERS}
+)
+
+ADD_LIBRARY(rcd ${rcd_SRCS})