v/vlib/sokol/f/f.v

39 lines
655 B
V
Raw Normal View History

module f
import fontstash
pub const (
used_import = 1 + fontstash.used_import
)
2020-08-24 03:23:57 +02:00
/*
#flag windows -I @VROOT/thirdparty/freetype/include
#flag windows -L @VROOT/thirdparty/freetype/win64
#flag linux -I/usr/include/freetype2
#flag darwin -I/usr/local/include/freetype2
2020-02-24 16:54:04 +01:00
// MacPorts
#flag darwin -I/opt/local/include/freetype2
2020-02-24 16:54:04 +01:00
#flag darwin -L/opt/local/lib
#flag freebsd -I/usr/local/include/freetype2
#flag freebsd -Wl -L/usr/local/lib
#flag windows -lfreetype
#flag linux -lfreetype
#flag darwin -lfreetype
#flag darwin -lpng -lbz2 -lz
2020-08-24 03:23:57 +02:00
*/
2020-08-23 07:25:30 +02:00
#flag linux -I.
//#include "ft2build.h"
#define SOKOL_FONTSTASH_IMPL
#include "util/sokol_fontstash.h"