seperate dirmonitor logic, add build time detection of features (#866)

this also adds libkqueue support
This commit is contained in:
Jan
2022-03-17 13:43:01 -04:00
committed by GitHub
parent 20763ed7ff
commit 120c769e7e
7 changed files with 263 additions and 131 deletions
+1
View File
@@ -2,3 +2,4 @@ option('bundle', type : 'boolean', value : false, description: 'Build a macOS bu
option('source-only', type : 'boolean', value : false, description: 'Configure source files only, doesn\'t checks for dependencies')
option('portable', type : 'boolean', value : false, description: 'Portable install')
option('renderer', type : 'boolean', value : false, description: 'Use SDL renderer')
option('dirmonitor_backend', type : 'combo', value : '', choices : ['', 'inotify', 'kqueue', 'win32', 'dummy'], description: 'define what dirmonitor backend to use')