]> git.cworth.org Git - vogl/blob - src/CMakeLists.txt
UI: Add Output window to the bottom of the main window
[vogl] / src / CMakeLists.txt
1 PROJECT(RadDebugger)
2 cmake_minimum_required(VERSION 2.8)
3
4 set(SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
5
6 option(HAS_UPDATED_LIBUNWIND "Build using unw_backtrace_skip" FALSE)
7
8 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
9
10 find_package(LibLZMA REQUIRED)
11 find_package(TinyXML REQUIRED)
12
13 message("")
14 message("cmake options:")
15 message("  -DCMAKE_BUILD_TYPE=[debug|release]: Build debug or release.")
16 message("  -DVOGLTEST_LOAD_LIBVOGLTRACE=[On|Off]: glitest will load libvogltrace.so manually (don't implictly link against libgl.so).")
17 message("  -DVOGLTRACE_NO_PUBLIC_EXPORTS=[On|Off]: Don't define any public GL exports in libvogltrace.so.")
18 message("  -DVOGL_ENABLE_ASSERTS=[On|Off]: Enable assertions in all voglcore builds (including release).")
19 message("  -DCMAKE_VERBOSE=[On|Off]: Spew cmake project options.")
20 message("  -DBUILD_X64=[On|Off]: Build 32 or 64-bit.")
21 message("  -DCLANG_ANALYZE=[On|Off]: Do clang analyze build (will not link).")
22 message("  -DCLANG_EVERYTHING=[On|Off]: Do clang build with -Weverything.")
23 message("  -DUSE_TELEMETRY=[On|Off]: Build with Telemetry.")
24 message("  -DHAS_UPDATED_LIBUNWIND=[On|Off]: Build using unw_backtrace_skip (from valve patched libunwind)")
25 message("")
26
27 #
28 #  Components to build
29 #
30
31 add_subdirectory(voglcore)
32 add_subdirectory(voglgen)
33 add_subdirectory(voglcommon)
34 add_subdirectory(voglreplay)
35 add_subdirectory(voglbench)
36 add_subdirectory(voglsyms)
37 add_subdirectory(vogltrace)
38 add_subdirectory(vogltest)
39 add_subdirectory(voglserver)
40 add_subdirectory(voglcmd)
41 add_subdirectory(glxspheres)
42 add_subdirectory(vogleditor)
43 add_subdirectory(libbacktrace)
44 add_subdirectory(libbacktrace_test)
45
46 add_subdirectory(libbacktrace)
47 add_subdirectory(libbacktrace_test)