~ubuntu-branches/ubuntu/saucy/emscripten/saucy-proposed

« back to all changes in this revision

Viewing changes to tests/box2d/freeglut/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_definitions( -DFREEGLUT_EXPORTS -DFREEGLUT_STATIC -D_CRT_SECURE_NO_WARNINGS )
 
2
 
 
3
if(APPLE)
 
4
        include_directories( /usr/X11/include )
 
5
endif(APPLE)
 
6
 
 
7
if(UNIX)
 
8
        add_definitions( -D__unix__ -DHAVE_FCNTL_H -DHAVE_GETTIMEOFDAY )
 
9
endif(UNIX)
 
10
 
 
11
set(freeglut_SRCS
 
12
        freeglut_callbacks.c
 
13
        freeglut_callbacks.c
 
14
        freeglut_cursor.c
 
15
        freeglut_display.c
 
16
        freeglut_ext.c
 
17
        freeglut_font_data.c
 
18
        freeglut_font.c
 
19
        freeglut_gamemode.c
 
20
        freeglut_geometry.c
 
21
        freeglut_glutfont_definitions.c
 
22
        freeglut_init.c
 
23
        freeglut_input_devices.c
 
24
        freeglut_internal.h
 
25
        freeglut_joystick.c
 
26
        freeglut_main.c
 
27
        freeglut_menu.c
 
28
        freeglut_misc.c
 
29
        freeglut_overlay.c
 
30
        freeglut_spaceball.c
 
31
        freeglut_state.c
 
32
        freeglut_stroke_mono_roman.c
 
33
        freeglut_stroke_roman.c
 
34
        freeglut_structure.c
 
35
        freeglut_teapot_data.h
 
36
        freeglut_teapot.c
 
37
        freeglut_videoresize.c
 
38
        freeglut_window.c
 
39
        freeglut.h
 
40
        freeglut_ext.h
 
41
        freeglut_std.h
 
42
)
 
43
 
 
44
include_directories (
 
45
        ${OPENGL_INCLUDE_DIR}
 
46
        .
 
47
)
 
48
 
 
49
add_library(freeglut_static
 
50
        ${freeglut_SRCS}
 
51
)