ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/qtrvu/CMakeLists.txt
Revision: 1.1
Committed: Sat Oct 22 22:38:10 2011 UTC (12 years, 11 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad4R2P2, rad4R2, rad4R1, rad4R2P1
Log Message:
Added qt interface for rvu and cmake files from Bill Hoffman

File Contents

# User Rev Content
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)