aboutsummaryrefslogtreecommitdiff
path: root/baseconfig
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-15 07:32:44 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-15 07:41:45 +0200
commitc31a89a3b56e7d081178e09cc58add5c5b84a91a (patch)
tree4b547f0c347679fa6b3f118f1ba6a231c58010f1 /baseconfig
parentUpdate CMakeLists option names (diff)
downloadsmolbote-c31a89a3b56e7d081178e09cc58add5c5b84a91a.tar.xz
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.
Diffstat (limited to 'baseconfig')
-rw-r--r--baseconfig90
1 files changed, 90 insertions, 0 deletions
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