2007-08-22 00:21:09 +04:00
|
|
|
FIND_PACKAGE(FLTK REQUIRED)
|
2005-09-24 01:47:46 +04:00
|
|
|
|
|
|
|
SET(SRCS
|
2007-08-22 00:21:09 +04:00
|
|
|
CMakeSetupGUIImplementation.cxx
|
|
|
|
FLTKDialog.cxx
|
|
|
|
FLTKPropertyItemRow.cxx
|
|
|
|
FLTKPropertyList.cxx
|
|
|
|
)
|
2005-09-24 01:47:46 +04:00
|
|
|
|
|
|
|
SET(FLTK_GUI_Files_SRCS
|
2007-08-22 00:21:09 +04:00
|
|
|
CMakeSetupGUI.fl
|
|
|
|
)
|
2005-09-24 01:47:46 +04:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${FLTK_INCLUDE_PATH})
|
|
|
|
|
|
|
|
FLTK_WRAP_UI(FLCMakeSetup ${FLTK_GUI_Files_SRCS})
|
|
|
|
|
2007-08-22 00:21:09 +04:00
|
|
|
ADD_EXECUTABLE(FLCMakeSetup ${SRCS} ${FLCMakeSetup_FLTK_UI_SRCS} )
|
|
|
|
TARGET_LINK_LIBRARIES(FLCMakeSetup ${FLTK_LIBRARY} CMakeLib)
|
2005-09-24 01:47:46 +04:00
|
|
|
|