2020-01-17 22:05:45 +03:00
|
|
|
module f
|
|
|
|
|
|
|
|
import fontstash
|
|
|
|
|
|
|
|
pub const (
|
|
|
|
used_import = 1 + fontstash.used_import
|
|
|
|
)
|
|
|
|
|
|
|
|
#flag windows -I @VROOT/thirdparty/freetype/include
|
|
|
|
#flag windows -L @VROOT/thirdparty/freetype/win64
|
|
|
|
|
2020-08-06 18:23:54 +03:00
|
|
|
/*
|
2020-01-17 22:05:45 +03:00
|
|
|
#flag linux -I/usr/include/freetype2
|
|
|
|
#flag darwin -I/usr/local/include/freetype2
|
2020-02-24 18:54:04 +03:00
|
|
|
// MacPorts
|
2020-01-17 22:05:45 +03:00
|
|
|
#flag darwin -I/opt/local/include/freetype2
|
2020-02-24 18:54:04 +03:00
|
|
|
#flag darwin -L/opt/local/lib
|
2020-01-17 22:05:45 +03:00
|
|
|
#flag freebsd -I/usr/local/include/freetype2
|
|
|
|
#flag freebsd -Wl -L/usr/local/lib
|
|
|
|
|
2020-07-28 23:27:38 +03:00
|
|
|
#flag windows -lfreetype
|
|
|
|
#flag linux -lfreetype
|
|
|
|
#flag darwin -lfreetype
|
|
|
|
|
2020-01-17 22:05:45 +03:00
|
|
|
#flag darwin -lpng -lbz2 -lz
|
2020-08-06 18:23:54 +03:00
|
|
|
*/
|
2020-01-17 22:05:45 +03:00
|
|
|
|
|
|
|
#flag linux -I.
|
|
|
|
|
2020-06-09 13:21:33 +03:00
|
|
|
//#include "ft2build.h"
|
2020-01-17 22:05:45 +03:00
|
|
|
|
|
|
|
#define SOKOL_FONTSTASH_IMPL
|
|
|
|
#include "util/sokol_fontstash.h"
|