target('utfcpp') set_kind("headeronly") set_group("thirdparty") add_headerfiles("utfcpp/**.h") add_includedirs("utfcpp/source", {public=true}) target('oodle') set_kind('headeronly') set_group("thirdparty") add_includedirs("Oodle/include", {public=true}) if is_os("windows") then add_linkdirs("Oodle/lib/Win64", {public=true}) add_links("oo2core_win64", {public=true}) elseif is_os("linux") then add_linkdirs("Oodle/lib/Linux_x64", {public=true}) add_links("oo2corelinux64", {public=true}) add_syslinks("pthread", {public=true}) elseif is_os("macosx") then add_linkdirs("Oodle/lib/Mac_x64", {public=true}) add_links("oo2coremac64", {public=true}) end target('timesinceprocessstart') set_kind('headeronly') set_group('thirdparty') add_includedirs("GetTimeSinceProcessStart", {public=true}) add_headerfiles("GetTimeSinceProcessStart/**.h") target('ue-trace') set_kind('headeronly') set_group('thirdparty') add_includedirs("trace", {public=true}) add_headerfiles("trace/**.h") target('rpmalloc') set_kind("static") set_group('thirdparty') set_languages("c17", "cxx20") if is_os("windows") then add_cflags("/experimental:c11atomics") end add_defines("RPMALLOC_FIRST_CLASS_HEAPS=1", "ENABLE_STATISTICS=1", "ENABLE_OVERRIDE=0") add_files("rpmalloc/rpmalloc.c") add_headerfiles("rpmalloc/**.h") add_includedirs("rpmalloc", {public=true})