2 cmake_minimum_required(VERSION 2.8)
4 set(SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
7 message("cmake options:")
8 message(" -DCMAKE_BUILD_TYPE=[debug|release]: Build debug or release.")
9 message(" -DVOGLTEST_LOAD_LIBVOGLTRACE=[On|Off]: glitest will load libvogltrace.so manually (don't implictly link against libgl.so).")
10 message(" -DVOGLTRACE_NO_PUBLIC_EXPORTS=[On|Off]: Don't define any public GL exports in libvogltrace.so.")
11 message(" -DVOGL_ENABLE_ASSERTS=[On|Off]: Enable assertions in all voglcore builds (including release).")
12 message(" -DCMAKE_VERBOSE=[On|Off]: Spew cmake project options.")
13 message(" -DBUILD_X64=[On|Off]: Build 32 or 64-bit.")
14 message(" -DCLANG_ANALYZE=[On|Off]: Do clang analyze build (will not link).")
15 message(" -DCLANG_EVERYTHING=[On|Off]: Do clang build with -Weverything.")
16 message(" -DUSE_TELEMETRY=[On|Off]: Build with Telemetry.")
23 add_subdirectory(voglcore)
24 add_subdirectory(voglgen)
25 add_subdirectory(voglcommon)
26 add_subdirectory(voglreplay)
27 add_subdirectory(voglbench)
28 add_subdirectory(voglsyms)
29 add_subdirectory(vogltrace)
30 add_subdirectory(vogltest)
31 add_subdirectory(voglserver)
32 add_subdirectory(voglcmd)
33 add_subdirectory(gltests)
34 add_subdirectory(glxspheres)
35 add_subdirectory(OGLSuperBible)
36 add_subdirectory(OGLSamples_GTruc)
37 add_subdirectory(vogleditor)
39 add_subdirectory(libbacktrace)
40 add_subdirectory(libbacktrace_test)