mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
Use CMake option macros.
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
cmake_minimum_required(VERSION 3.25)
|
||||
|
||||
option(NO_FILESELECTOR "Disable the file selector" OFF)
|
||||
option(GTK_FILESELECTOR "Use the GTK file selector on Linux instead of the xdg-portal one" OFF)
|
||||
option(LEGACY "Instead of Wayland, use the legacy X11 backend on Linux" OFF)
|
||||
option(NO_STATISTICS "Disable calculation of statistics" OFF)
|
||||
option(SELF_PROFILE "Enable self-profiling" OFF)
|
||||
set(SANITIZE "" CACHE STRING "Sanitizer parameters")
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/options.cmake)
|
||||
|
||||
set_option(NO_FILESELECTOR "Disable the file selector" OFF)
|
||||
set_option(GTK_FILESELECTOR "Use the GTK file selector on Linux instead of the xdg-portal one" OFF)
|
||||
set_option(LEGACY "Instead of Wayland, use the legacy X11 backend on Linux" OFF)
|
||||
set_option(NO_STATISTICS "Disable calculation of statistics" OFF)
|
||||
set_option(SELF_PROFILE "Enable self-profiling" OFF)
|
||||
set_option_value(SANITIZE "Sanitizer parameters" "")
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/version.cmake)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user