add_library(ember-BindingsVarconf STATIC
        BindingsVarconf.cpp
)

target_link_libraries(ember-BindingsVarconf PUBLIC
        ember-framework
        ember-external-sol2
        varconf
)

target_precompile_headers(ember-BindingsVarconf
        REUSE_FROM
        ember-BindingsLua
)


if (MSVC)
    #Need to allow for a lot of symbols when compiling the bindings on MSVC.
    target_compile_options(ember-BindingsVarconf PRIVATE "/bigobj")
endif ()