add global header to solution

This commit is contained in:
SweetId 2023-11-24 16:40:38 +05:30
parent f0b9a1bcd9
commit ca83128851
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ function ModuleTargetConfig(name, module)
add_headerfiles("src/NazaraEditor/" .. name .. "/Resources/**.nzsl", { prefixdir = "private", install = false })
end
-- Add global header
add_headerfiles("include/(NazaraEditor/" .. name .. ".hpp)")
remove_headerfiles("src/NazaraEditor/" .. name .. "/Resources/**.h")
add_files("src/NazaraEditor/" .. name .. "/**.cpp")