summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..4213f10
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,19 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+PROJECT(libwebvi)
+
+ENABLE_TESTING()
+
+# Version number
+SET(MAJOR_VERSION "0")
+SET(MINOR_VERSION "99")
+SET(PATCH_VERSION "0")
+
+CONFIGURE_FILE(
+ "${CMAKE_SOURCE_DIR}/src/version.h.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/version.h"
+ @ONLY)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
+
+ADD_SUBDIRECTORY(src/libwebvi)
+ADD_SUBDIRECTORY(tests)
+