--- a/CMakeLists.txt Mon Dec 15 14:41:49 2008 +0000
+++ b/CMakeLists.txt Mon Dec 15 15:28:56 2008 +0000
@@ -1,5 +1,7 @@
set(PROJECT_SHORT_NAME "kg")
set(PROJECT_LONG_NAME "Kisna Glista")
+
+# XXX: wrong
set(PROJECT_VERSION_MAJOR 0)
set(PROJECT_VERSION_MINOR 1)
@@ -11,6 +13,13 @@
message(FATAL_ERROR "In-source builds are not permitted. Make a separate folder for building:\nmkdir build; cd build; cmake ..\nBefore that, remove the files already created:\nrm -rf CMakeCache.txt CMakeFiles")
endif(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
+# Where to find project source code (hh+cc)
+set(PROJECT_SOURCECODE_DIR "${CMAKE_SOURCE_DIR}/src")
+
+# Project version
+# XXX: hardcoded
+set(PROJECT_VERSION "0.1.0")
+
# Where to install project data files
set(PROJECT_DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_SHORT_NAME}")
@@ -25,4 +34,5 @@
add_subdirectory(src)
add_subdirectory(data)
+add_subdirectory(doc)