Migrate FileWatcher to EFSW
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
<set name="LIME_CAIRO" value="1" />
|
||||
<set name="LIME_CURL" value="1" unless="emscripten" />
|
||||
<set name="LIME_EFSW" value="1" if="windows" />
|
||||
<set name="LIME_JPEG" value="1" />
|
||||
<set name="LIME_FREETYPE" value="1" />
|
||||
<set name="LIME_HARFBUZZ" value="1" />
|
||||
@@ -26,7 +27,6 @@
|
||||
<set name="LIME_SDL" value="1" />
|
||||
<!-- <set name="LIME_SDL_ANGLE" value="1" if="windows" unless="static_link" /> -->
|
||||
<set name="LIME_SDL_ANGLE" value="1" if="windows LIME_SDL_ANGLE" unless="static_link" />
|
||||
<set name="LIME_SIMPLEFILEWATCHER" value="1" if="windows" />
|
||||
<set name="LIME_TINYFILEDIALOGS" value="1" if="windows || mac || linux" />
|
||||
<set name="LIME_VORBIS" value="1" />
|
||||
<set name="LIME_ZLIB" value="1" />
|
||||
@@ -78,6 +78,15 @@
|
||||
|
||||
</section>
|
||||
|
||||
<section if="LIME_EFSW">
|
||||
|
||||
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/efsw/include/" />
|
||||
<compilerflag value="-DLIME_EFSW" />
|
||||
|
||||
<file name="src/system/FileWatcher.cpp" />
|
||||
|
||||
</section>
|
||||
|
||||
<section if="LIME_JPEG">
|
||||
|
||||
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/jpeg/" />
|
||||
@@ -214,15 +223,6 @@
|
||||
|
||||
</section>
|
||||
|
||||
<section if="LIME_SIMPLEFILEWATCHER">
|
||||
|
||||
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/simplefilewatcher/include/" />
|
||||
<compilerflag value="-DLIME_SIMPLEFILEWATCHER" />
|
||||
|
||||
<file name="src/system/FileWatcher.cpp" />
|
||||
|
||||
</section>
|
||||
|
||||
<section if="LIME_TINYFILEDIALOGS">
|
||||
|
||||
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/tinyfiledialogs/" />
|
||||
@@ -291,6 +291,7 @@
|
||||
|
||||
<include name="lib/cairo/files.xml" />
|
||||
<include name="lib/curl/files.xml" />
|
||||
<include name="lib/efsw/files.xml" />
|
||||
<include name="lib/freetype/files.xml" />
|
||||
<include name="lib/harfbuzz/files.xml" />
|
||||
<include name="lib/jpeg/files.xml" />
|
||||
@@ -301,7 +302,6 @@
|
||||
<include name="lib/pixman/files.xml" />
|
||||
<include name="lib/png/files.xml" />
|
||||
<include name="lib/sdl/files.xml" />
|
||||
<include name="lib/simplefilewatcher/files.xml" />
|
||||
<include name="lib/tinyfiledialogs/files.xml" />
|
||||
<include name="lib/vorbis/files.xml" />
|
||||
<include name="lib/zlib/files.xml" />
|
||||
@@ -318,6 +318,7 @@
|
||||
|
||||
<files id="native-toolkit-cairo" if="LIME_CAIRO" />
|
||||
<files id="native-toolkit-curl" if="LIME_CURL" />
|
||||
<files id="native-toolkit-efsw" if="LIME_EFSW" />
|
||||
<files id="native-toolkit-jpeg" if="LIME_JPEG" />
|
||||
<files id="native-toolkit-freetype" if="LIME_FREETYPE" />
|
||||
<files id="native-toolkit-harfbuzz" if="LIME_HARFBUZZ" />
|
||||
@@ -328,7 +329,6 @@
|
||||
<files id="native-toolkit-pixman" if="LIME_PIXMAN" />
|
||||
<files id="native-toolkit-png" if="LIME_PNG" />
|
||||
<files id="native-toolkit-sdl" if="LIME_SDL" unless="emscripten" />
|
||||
<files id="native-toolkit-simplefilewatcher" if="LIME_SIMPLEFILEWATCHER" />
|
||||
<files id="native-toolkit-tinyfiledialogs" if="LIME_TINYFILEDIALOGS" />
|
||||
<files id="native-toolkit-vorbis" if="LIME_VORBIS" />
|
||||
<files id="native-toolkit-zlib" if="LIME_ZLIB" />
|
||||
|
||||
Reference in New Issue
Block a user