CMakeLists.txt
上传用户:gb3593
上传日期:2022-01-07
资源大小:3028k
文件大小:1k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. add_definitions( -DFREEGLUT_STATIC -D_CRT_SECURE_NO_WARNINGS )
  2. if(MSVC)
  3. SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W1")
  4. endif(MSVC)
  5. set(glui_SRCS
  6. algebra3.cpp
  7. arcball.cpp
  8. glui_add_controls.cpp
  9. glui_bitmap_img_data.cpp
  10. glui_bitmaps.cpp
  11. glui_button.cpp
  12. glui_checkbox.cpp
  13. glui_column.cpp
  14. glui_commandline.cpp
  15. glui_control.cpp
  16. glui_edittext.cpp
  17. glui_filebrowser.cpp
  18. glui_list.cpp
  19. glui_listbox.cpp
  20. glui_mouse_iaction.cpp
  21. glui_node.cpp
  22. glui_panel.cpp
  23. glui_radio.cpp
  24. glui_rollout.cpp
  25. glui_rotation.cpp
  26. glui_scrollbar.cpp
  27. glui_separator.cpp
  28. glui_spinner.cpp
  29. glui_statictext.cpp
  30. glui_string.cpp
  31. glui_textbox.cpp
  32. glui_translation.cpp
  33. glui_tree.cpp
  34. glui_treepanel.cpp
  35. glui_window.cpp
  36. glui.cpp
  37. quaternion.cpp
  38. )
  39. include_directories (
  40. ${OPENGL_INCLUDE_DIR}
  41. ../freeglut
  42. )
  43. add_library(glui
  44. ${glui_SRCS}
  45. )