Allow examples to setup their own includes/libs

This commit is contained in:
Lynix 2020-05-18 13:57:10 +02:00
parent 0c86e7d74e
commit 6ffbfd9941
1 changed files with 6 additions and 3 deletions

View File

@ -298,16 +298,19 @@ function NazaraBuild:Execute()
debugdir(destPath)
includedirs({
"../include",
"../thirdparty/include"
"../thirdparty/include",
exampleTable.Includes
})
libdirs({
"../lib",
exampleTable.LibDir
})
libdirs("../lib")
files(exampleTable.Files)
excludes(exampleTable.FilesExcluded)
defines(exampleTable.Defines)
flags(exampleTable.Flags)
includedirs(exampleTable.Includes)
links(exampleTable.Libraries)
targetdir(destPath)