Browse Source

Fix FileDialog

master
Macoy Madson 5 months ago
parent
commit
52acd69b59
  1. 10
      src/FileDialog.cake

10
src/FileDialog.cake

@ -17,12 +17,18 @@
(add-c-search-directory-module "/usr/lib/x86_64-linux-gnu/glib-2.0/include")
(add-c-search-directory-module "/usr/lib/aarch64-linux-gnu/glib-2.0/include")
(add-c-search-directory-module "Dependencies/gamelib/src"))
(export
(c-import "noc_file_dialog.h"))
(add-library-dependency "glib-2.0" "gio-2.0" "gobject-2.0" "gtk-3")
(c-preprocessor-define NOC_FILE_DIALOG_GTK))))
('Windows
(export-and-evaluate
(add-c-search-directory-module "Dependencies/gamelib/src"))
(export
(c-import "noc_file_dialog.h"))
(c-preprocessor-define NOC_FILE_DIALOG_WIN32)))
(c-import &with-decls "noc_file_dialog.h")
(add-c-search-directory-module "Dependencies/gamelib/src")
(c-preprocessor-define NOC_FILE_DIALOG_IMPLEMENTATION)
(c-import "noc_file_dialog.h")

Loading…
Cancel
Save