CMakeLists.txt 341 Bytes
Newer Older
LEFEBVREJP email's avatar
LEFEBVREJP email committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Provide access to QT-generated code
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

IF(USE_QT4)
   QT4_WRAP_CPP(QMOC_FILES
       mainwindow.hh
   )
ELSE()
   QT5_WRAP_CPP(QMOC_FILES
       mainwindow.hh
   )
ENDIF()
SET(SOURCE
   mainwindow.cc
)
TRIBITS_ADD_EXECUTABLE(plot2d-examples
  NOEXEPREFIX
  SOURCES ${SOURCE} ${QMOC_FILES}
)