# CASA - Common Astronomy Software Applications
# Copyright (C) 2010 by ESO (in the framework of the ALMA collaboration)
# This file is part of CASA.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
### with RHEL6 we can switch back to building with flex/bison...
#find_package (BISON REQUIRED)
#find_package (FLEX REQUIRED)
#file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ds9)
#INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
#BISON_TARGET( ds9parse ds9/ds9parse.yy ${CMAKE_CURRENT_BINARY_DIR}/ds9parse.cc
# COMPILE_FLAGS "--file-prefix=${CMAKE_CURRENT_BINARY_DIR}" )
#FLEX_TARGET( ds9lex ds9/ds9lex.ll ${CMAKE_CURRENT_BINARY_DIR}/ds9lex.cc
#ADD_FLEX_BISON_DEPENDENCY(ds9lex ds9parse)
include( ${QT_USE_FILE} )
set( QT4_LIBRARIES ${QT_LIBRARIES} )
qt4_wrap_cpp( outfiles_qoh
Feather/FeatherManager.qo.h
Feather/FeatherPlotWidget.qo.h
Feather/PreferencesFunction.qo.h
Feather/FeatherPreferences.qo.h
Feather/PreferencesColor.qo.h
Feather/OverWriteFileDialog.qo.h
Histogram/BinPlotWidget.qo.h
Histogram/ImageLoader.qo.h
Histogram/ColorPreferences.qo.h
Histogram/HistogramMain.qo.h
Histogram/RangeControlsWidget.qo.h
Histogram/SaveHistogramWidget.qo.h
Histogram/BinCountWidget.qo.h
Histogram/ChannelRangeWidget.qo.h
Histogram/ZoomWidget.qo.h
Histogram/FootPrintWidget.qo.h
casa_qt4_wrap_ui( outfiles_ui