1 |
greg |
1.1 |
|
2 |
|
|
include(${QT_USE_FILE}) |
3 |
|
|
|
4 |
|
|
qt4_wrap_cpp(rvu_moc rvuwidget.h mainwindow.h) |
5 |
|
|
qt4_wrap_ui(rvu_ui mainwindow.ui) |
6 |
|
|
qt4_wrap_ui(exposure_dialog_ui exposuredialog.ui) |
7 |
|
|
qt4_wrap_ui(parameter_dialog_ui parameterdialog.ui) |
8 |
|
|
qt4_wrap_ui(view_dialog_ui viewdialog.ui) |
9 |
|
|
qt4_wrap_ui(increments_dialog_ui incrementsdialog.ui) |
10 |
|
|
qt4_wrap_ui(commands_dialog_ui commandsdialog.ui) |
11 |
|
|
|
12 |
|
|
include_directories(${radiance_SOURCE_DIR}/src/rt |
13 |
|
|
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
14 |
|
|
|
15 |
|
|
add_library(qtrvu qt.c rvuwidget.cxx qt_rvu_main.cxx mainwindow.cxx |
16 |
|
|
${rvu_moc} ${rvu_ui} ${exposure_dialog_ui} ${parameter_dialog_ui} |
17 |
|
|
${view_dialog_ui} ${increments_dialog_ui} ${commands_dialog_ui}) |
18 |
|
|
target_link_libraries(qtrvu ${QT_LIBRARIES}) |
19 |
|
|
|
20 |
|
|
install(TARGETS qtrvu |
21 |
|
|
LIBRARY DESTINATION bin |
22 |
|
|
ARCHIVE DESTINATION bin) |