summaryrefslogtreecommitdiffstats
path: root/qmake/generators/CMakeLists.txt
blob: 62e8650773904907f0f17472a1d845a5ad3cd43a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
)