From c31a89a3b56e7d081178e09cc58add5c5b84a91a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 15 Oct 2018 07:32:44 +0200 Subject: Rewrite vendor.cmake to cmake/VendorConfig.cmake Add menuconfig-editable .config files to platforms. VendorConfig.cmake looks for and includes .config files based on platform name. --- baseconfig | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 baseconfig (limited to 'baseconfig') diff --git a/baseconfig b/baseconfig new file mode 100644 index 0000000..5827dbc --- /dev/null +++ b/baseconfig @@ -0,0 +1,90 @@ +mainmenu "smolbote configuration" + +comment "Build" +menu "Compiler settings" + config CXX_FLAGS + string "Compiler flags" + help + Compiler flags that should be applied to both Debug and Release builds. + default "-fPIE -pipe -fstack-protector-strong -fno-plt" + + config CXX_FLAGS_DEBUG + string "Debug flags" + help + Compiler flags that should be applied to Debug builds. + default "" + + config CXX_FLAGS_RELEASE + string "Release flags" + help + Compiler flags that should be applied to Release builds. + default "-march=native -mtune=native -O3" +endmenu + +menu "Install paths" + config INSTALL_PREFIX + string "Install prefix" + default "/usr/local" + config INSTALL_BIN + string "bin/ prefix" + default "bin" + config INSTALL_LIB + string "lib/ prefix" + default "lib/smolbote" +endmenu + +comment "Branding" +config POI_NAME + string "Application name" + default "smolbote" +config POI_EXE + string "Executable name" + default "poi" + +comment "Browser configuration" +menu "Configuration defaults" + config PATH_CONFIG + string "Configuration location" + default "~/.config/smolbote/smolbote.cfg" + config PATH_CRASHDUMP + string "Crash dump location" + default "~/.config/smolbote/crash.d" + config PATH_FILTER + string "Host filter path" + default "~/.config/smolbote/host.d" + config PATH_PLUGINS + string "Plugin load location" + default "~/.config/smolbote/plugins.d" + config PATH_PROFILES + string "Profile load location" + default "~/.config/smolbote/profiles.d" + config PATH_BOOKMARKS + string "Bookmarks location" + default "~/.config/smolbote/bookmarks.xbel" + config PATH_DOWNLOADS + string "Downloads location" + default "~/Downloads" +endmenu + +config USEPLASMA + bool "Enable KDE Frameworks integration" + default n + help + This is a help message + +config USEBREAKPAD + bool "Enable Breakpad integration" + default n + +comment "Devel" +config QTWARNINGS + bool "Enable Qt deprecated API warnings" + default y + +config TESTS + bool "Build tests" + default n + +config LLVMLIBCPP + bool "Link against the LLVM C++ standard library" + default n -- cgit v1.2.1