1
# Some flags for Freeglut and GLUI.
2
add_definitions( -DFREEGLUT_EXPORTS -DFREEGLUT_STATIC -D_CRT_SECURE_NO_WARNINGS )
4
# Define the framework files.
5
set(Testbed_Framework_SRCS
13
#define the test files.
14
set(Testbed_Tests_SRCS
25
Tests/CharacterCollision.h
26
Tests/CollisionFiltering.h
27
Tests/CollisionProcessing.h
28
Tests/CompoundShapes.h
30
Tests/ContinuousTest.h
34
Tests/DynamicTreeTest.h
38
Tests/OneSidedPlatform.h
56
Tests/VaryingFriction.h
57
Tests/VaryingRestitution.h
62
# These are used to create visual studio folders.
63
source_group(Framework FILES ${Testbed_Framework_SRCS})
64
source_group(Tests FILES ${Testbed_Tests_SRCS})
72
# We are not using the Apple's framework version, but X11's
73
include_directories( /usr/X11/include )
74
link_directories( /usr/X11/lib )
75
set (OPENGL_LIBRARIES GL GLU GLUT X11)
77
set (ADDITIONAL_LIBRARIES winmm)
80
add_executable(Testbed
81
${Testbed_Framework_SRCS}
85
target_link_libraries (
90
${ADDITIONAL_LIBRARIES}