diff options
-rw-r--r-- | .bzrignore | 3 | ||||
-rw-r--r-- | CMakeLists.txt | 11 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rwxr-xr-x | release | 8 | ||||
-rw-r--r-- | src/CMakeLists.txt | 17 |
5 files changed, 39 insertions, 2 deletions
@@ -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) + @@ -1 +1 @@ -0.1.12 +0.1.13CVS @@ -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}) |