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.

46 lines
851B

  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(ntk-fluid ${CPPFILES})
  23. target_link_libraries(ntk-fluid fltk fltk_images fltk_forms)
  24. # link in optional libraries
  25. if(FLTK_USE_GL)
  26. target_link_libraries(ntk-fluid fltk_gl)
  27. target_link_libraries(ntk-fluid ${OPENGL_LIBRARIES})
  28. endif(FLTK_USE_GL)
  29. if(USE_XFT)
  30. target_link_libraries(ntk-fluid ${X11_Xft_LIB})
  31. endif(USE_XFT)
  32. if(HAVE_XINERAMA)
  33. target_link_libraries(ntk-fluid ${X11_Xinerama_LIB})
  34. endif(HAVE_XINERAMA)
  35. install(TARGETS ntk-fluid
  36. EXPORT fltk-install
  37. DESTINATION ${PREFIX_BIN}
  38. )