CMakeLists.txt
上传用户:gb3593
上传日期:2022-01-07
资源大小:3028k
文件大小:1k
- add_definitions( -DFREEGLUT_EXPORTS -DFREEGLUT_STATIC -D_CRT_SECURE_NO_WARNINGS )
- if(APPLE)
- include_directories( /usr/X11/include )
- endif(APPLE)
- if(UNIX)
- add_definitions( -D__unix__ -DHAVE_FCNTL_H -DHAVE_GETTIMEOFDAY )
- endif(UNIX)
- set(freeglut_SRCS
- freeglut_callbacks.c
- freeglut_callbacks.c
- freeglut_cursor.c
- freeglut_display.c
- freeglut_ext.c
- freeglut_font_data.c
- freeglut_font.c
- freeglut_gamemode.c
- freeglut_geometry.c
- freeglut_glutfont_definitions.c
- freeglut_init.c
- freeglut_input_devices.c
- freeglut_internal.h
- freeglut_joystick.c
- freeglut_main.c
- freeglut_menu.c
- freeglut_misc.c
- freeglut_overlay.c
- freeglut_spaceball.c
- freeglut_state.c
- freeglut_stroke_mono_roman.c
- freeglut_stroke_roman.c
- freeglut_structure.c
- freeglut_teapot_data.h
- freeglut_teapot.c
- freeglut_videoresize.c
- freeglut_window.c
- GL/freeglut.h
- GL/freeglut_ext.h
- GL/freeglut_std.h
- GL/glut.h
- )
- include_directories (
- ${OPENGL_INCLUDE_DIR}
- .
- )
- add_library(freeglut_static
- ${freeglut_SRCS}
- )