mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 17:30:53 +01:00
21 lines
582 B
Lua
21 lines
582 B
Lua
local function build_encoding(name)
|
|
target(name)
|
|
set_kind("static")
|
|
set_group("common")
|
|
add_includedirs(".", "../", {public = true})
|
|
add_headerfiles("**.h|Structs/Skyrim/**", {prefixdir = "Encoding"})
|
|
add_files("**.cpp|Structs/Skyrim/**")
|
|
set_pcxxheader("EncodingPch.h")
|
|
|
|
if is_plat("linux") then
|
|
add_cxxflags("-fPIC")
|
|
end
|
|
|
|
add_files("Structs/Skyrim/**.cpp")
|
|
add_headerfiles("Structs/Skyrim/**.h")
|
|
add_includedirs("Structs/Skyrim")
|
|
|
|
add_packages("hopscotch-map", "glm", "tiltedcore")
|
|
end
|
|
|
|
build_encoding("SkyrimEncoding")
|