a0d26b634a
than what we had previously, but may need some more testing. The latest changes (removing old APPLE_QD definitions and code) might need another update. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
49 lines
899 B
CMake
49 lines
899 B
CMake
|
|
set(CPPFILES
|
|
CodeEditor.cxx
|
|
Fl_Function_Type.cxx
|
|
Fl_Group_Type.cxx
|
|
Fl_Menu_Type.cxx
|
|
Fl_Type.cxx
|
|
Fl_Widget_Type.cxx
|
|
Fl_Window_Type.cxx
|
|
Fluid_Image.cxx
|
|
about_panel.cxx
|
|
align_widget.cxx
|
|
alignment_panel.cxx
|
|
code.cxx
|
|
factory.cxx
|
|
file.cxx
|
|
fluid.cxx
|
|
function_panel.cxx
|
|
template_panel.cxx
|
|
undo.cxx
|
|
widget_panel.cxx
|
|
)
|
|
|
|
add_executable(fluid ${CPPFILES})
|
|
target_link_libraries(fluid fltk fltk_images fltk_forms)
|
|
|
|
# link in optional libraries
|
|
if(HAVE_CAIRO)
|
|
target_link_libraries(fluid fltk_cairo)
|
|
endif(HAVE_CAIRO)
|
|
|
|
if(FLTK_USE_GL)
|
|
target_link_libraries(fluid fltk_gl)
|
|
target_link_libraries(fluid ${OPENGL_LIBRARIES})
|
|
endif(FLTK_USE_GL)
|
|
|
|
if(USE_XFT)
|
|
target_link_libraries(fluid ${X11_Xft_LIB})
|
|
endif(USE_XFT)
|
|
|
|
if(HAVE_XINERAMA)
|
|
target_link_libraries(fluid ${X11_Xinerama_LIB})
|
|
endif(HAVE_XINERAMA)
|
|
|
|
install(TARGETS fluid
|
|
EXPORT fltk-install
|
|
DESTINATION ${PREFIX_BIN}
|
|
)
|