options gen2
require daslib/fio

[export]
def initialize(project_path : string) {
    if (das_is_dll_build()) {
        register_dynamic_module("{project_path}/dasModuleStbImage.shared_module", "Module_StbImage")
        register_dynamic_module("{project_path}/dasModuleStbImage.shared_module", "Module_Raster")
        register_dynamic_module("{project_path}/dasModuleStbImage.shared_module", "Module_StbTrueType")
    }
    register_native_path("stbimage", "texture_blocks", "{project_path}/stbimage/texture_blocks.das")
    register_native_path("stbimage", "stbimage_boost", "{project_path}/stbimage/stbimage_boost.das")
    register_native_path("stbimage", "stbimage_ttf", "{project_path}/stbimage/stbimage_ttf.das")
}
