[M5] verify-curated-db.sh + boost recipe (header-only)
This commit is contained in:
13
scripts/curated-snippets/freetype.cpp
Normal file
13
scripts/curated-snippets/freetype.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
import std;
|
||||
|
||||
int main() {
|
||||
FT_Library lib = nullptr;
|
||||
auto err = FT_Init_FreeType(&lib);
|
||||
if (err == 0 && lib) {
|
||||
FT_Done_FreeType(lib);
|
||||
}
|
||||
std::println("freetype ok: init err {}", err);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user