summaryrefslogtreecommitdiffstats
path: root/qmake/generators/unix/CMakeLists.txt
blob: 9f35f35d4c7c196d0eda90db29708970ae37a7bf (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
include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/qmake
  ${CMAKE_SOURCE_DIR}/qmake/generators
  ${CMAKE_BINARY_DIR}/include
)

link_directories()


##### unix-generator (static)

set( target unix-generator )
set( _SRC_ unixmake.cpp unixmake2.cpp )

tde_add_library( ${target} STATIC_PIC

  SOURCES
        ${_SRC_}

  DEPENDENCIES
    tqt-includes
)
set_property( TARGET ${target}-static
              APPEND PROPERTY COMPILE_DEFINITIONS
              TQT_NO_STL
)