Added simple context sharing test program.

This commit is contained in:
Camilla Berglund
2010-10-04 19:32:39 +02:00
parent 5ca2189f81
commit afcb2abbd4
2 changed files with 147 additions and 1 deletions
+3 -1
View File
@@ -16,17 +16,19 @@ if(APPLE)
# Set fancy names for bundles
add_executable(Accuracy MACOSX_BUNDLE accuracy.c)
add_executable(FSAA MACOSX_BUNDLE fsaa.c)
add_executable(Sharing MACOSX_BUNDLE sharing.c)
add_executable(Tearing MACOSX_BUNDLE tearing.c)
add_executable(Windows MACOSX_BUNDLE windows.c)
else()
# Set boring names for executables
add_executable(accuracy WIN32 accuracy.c)
add_executable(sharing WIN32 sharing.c)
add_executable(tearing WIN32 tearing.c)
add_executable(fsaa WIN32 fsaa.c)
add_executable(windows WIN32 windows.c)
endif(APPLE)
set(WINDOWS_BINARIES accuracy tearing windows)
set(WINDOWS_BINARIES accuracy sharing tearing windows)
set(CONSOLE_BINARIES defaults events fsaa fsfocus iconify joysticks peter reopen version)
if(MSVC)