summaryrefslogtreecommitdiffstats
path: root/qmake/generators/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/generators/CMakeLists.txt')
-rw-r--r--qmake/generators/CMakeLists.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/qmake/generators/CMakeLists.txt b/qmake/generators/CMakeLists.txt
new file mode 100644
index 000000000..62e865077
--- /dev/null
+++ b/qmake/generators/CMakeLists.txt
@@ -0,0 +1,36 @@
+add_subdirectory( mac )
+add_subdirectory( unix )
+add_subdirectory( win32 )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/qmake
+ ${CMAKE_SOURCE_DIR}/qmake/generators/unix
+ ${CMAKE_SOURCE_DIR}/qmake/generators/win32
+ ${CMAKE_SOURCE_DIR}/qmake/generators/mac
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### generators (static)
+
+set( target generators )
+set( _SRC_ makefile.cpp projectgenerator.cpp)
+
+tde_add_library( ${target} STATIC_PIC
+
+ SOURCES
+ ${_SRC_}
+
+ DEPENDENCIES
+ mac-generator-static
+ unix-generator-static
+ win32-generator-static
+
+ DEPENDENCIES
+ tqt-includes
+)