You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
909B

  1. set(CPPFILES
  2. CodeEditor.cxx
  3. Fl_Function_Type.cxx
  4. Fl_Group_Type.cxx
  5. Fl_Menu_Type.cxx
  6. Fl_Type.cxx
  7. Fl_Widget_Type.cxx
  8. Fl_Window_Type.cxx
  9. Fluid_Image.cxx
  10. about_panel.cxx
  11. align_widget.cxx
  12. alignment_panel.cxx
  13. code.cxx
  14. factory.cxx
  15. file.cxx
  16. fluid.cxx
  17. function_panel.cxx
  18. template_panel.cxx
  19. undo.cxx
  20. widget_panel.cxx
  21. )
  22. add_executable(fluid ${CPPFILES})
  23. target_link_libraries(fluid fltk fltk_images fltk_forms)
  24. # link in optional libraries
  25. if(FLTK_HAVE_CAIRO)
  26. target_link_libraries(fluid fltk_cairo)
  27. endif(FLTK_HAVE_CAIRO)
  28. if(FLTK_USE_GL)
  29. target_link_libraries(fluid fltk_gl)
  30. target_link_libraries(fluid ${OPENGL_LIBRARIES})
  31. endif(FLTK_USE_GL)
  32. if(USE_XFT)
  33. target_link_libraries(fluid ${X11_Xft_LIB})
  34. endif(USE_XFT)
  35. if(HAVE_XINERAMA)
  36. target_link_libraries(fluid ${X11_Xinerama_LIB})
  37. endif(HAVE_XINERAMA)
  38. install(TARGETS fluid
  39. EXPORT fltk-install
  40. DESTINATION ${PREFIX_BIN}
  41. )