(no commit message)
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 18 May 2006 15:33:15 +0000 (15:33 +0000)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 18 May 2006 15:33:15 +0000 (15:33 +0000)
Makefile [new file with mode: 0644]
core/CMakeLists.txt [new file with mode: 0644]
core/logger.cpp [moved from main/logger.cpp with 100% similarity]
core/logger.h [moved from main/logger.h with 100% similarity]
core/main.cpp [moved from main/main.cpp with 100% similarity]
core/quassel.cpp [moved from main/quassel.cpp with 100% similarity]
core/quassel.h [moved from main/quassel.h with 100% similarity]
main/CMakeLists.txt [deleted file]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..eaaa4c0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+# This Makefile simply runs cmake from the build directory.
+# This, of course, triggers an out-of-source build.
+# Binaries are going to be in build/.
+
+default_target: run_cmake
+
+run_cmake:
+       cd build && cmake .. && make
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
new file mode 100644 (file)
index 0000000..71f620c
--- /dev/null
@@ -0,0 +1,6 @@
+SET(core_SRCS logger.cpp quassel.cpp)
+SET(core_HDRS quassel.h)
+SET(core_MOCS logger.h)
+
+QT4_WRAP_CPP(_MOC ${core_MOCS})
+ADD_LIBRARY(core ${_MOC} ${core_SRCS} ${core_HDRS})
similarity index 100%
rename from main/logger.cpp
rename to core/logger.cpp
similarity index 100%
rename from main/logger.h
rename to core/logger.h
similarity index 100%
rename from main/main.cpp
rename to core/main.cpp
similarity index 100%
rename from main/quassel.cpp
rename to core/quassel.cpp
similarity index 100%
rename from main/quassel.h
rename to core/quassel.h
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
deleted file mode 100644 (file)
index 86bbe99..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-SET(main_SRCS logger.cpp quassel.cpp)
-SET(main_HDRS quassel.h)
-SET(main_MOCS logger.h)
-
-QT4_WRAP_CPP(_MOC ${main_MOCS})
-ADD_LIBRARY(main ${_MOC} ${main_SRCS} ${main_HDRS})