summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2010-07-16 09:45:04 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2010-07-16 09:45:04 +0200
commit3bdbb9874f73d024f43893626dbe61a32c9c799b (patch)
treecd873a12c94c08262e469c84eadad730ae96cab3 /src/CMakeLists.txt
parent3b5818e790a6149c0a3e7b49129852f7be33c306 (diff)
downloadlibrcd-3bdbb9874f73d024f43893626dbe61a32c9c799b.tar.gz
librcd-3bdbb9874f73d024f43893626dbe61a32c9c799b.tar.bz2
librcd-3bdbb9874f73d024f43893626dbe61a32c9c799b.tar.xz
librcd-3bdbb9874f73d024f43893626dbe61a32c9c799b.zip
CMake scripts to build under Windows
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
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})