diff options
author | Oliver Schneider <oliver@assarbad.net> | 2014-01-22 05:12:14 +0400 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2014-01-22 05:12:14 +0400 |
commit | 4a45218e1b71abca840ebbc939f8678f46841f8f (patch) | |
tree | d18eb1d7a17993699979ed7ba36b05e06cb24d3c /premake4.lua | |
parent | cc979f4ab88ceb5b1f855dd8760f1982a9f6142a (diff) |
Adjusted the premake4.lua and the .rc files
Diffstat (limited to 'premake4.lua')
-rw-r--r-- | premake4.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/premake4.lua b/premake4.lua index ade898e..892db3e 100644 --- a/premake4.lua +++ b/premake4.lua @@ -269,13 +269,13 @@ solution (iif(release, slnname, "windirstat")) uuid (guid)
language ("C++")
kind ("SharedLib")
- location (nm)
+ location ("windirstat/res/" .. nm)
flags {"NoImportLib", "Unicode", "NoManifest", "NoExceptions", "NoPCH", "NoIncrementalLink"}
objdir (int_dir)
targetdir (iif(release, slnname, "build"))
targetextension (".wdslng")
resoptions {"/nologo", "/l409"}
- resincludedirs {".", nm, "$(IntDir)"} -- ATTENTION: FAULTY IN premake-stable ... needs to be addressed
+ resincludedirs {".", "$(ProjectDir)", "$(IntDir)"} -- ATTENTION: FAULTY IN premake-stable ... needs to be addressed
linkoptions {"/noentry"}
if release then
postbuildcommands
@@ -288,9 +288,9 @@ solution (iif(release, slnname, "windirstat")) end
files
{
- nm .. "/*.txt", nm .. "/*.rst",
- nm .. "/windirstat.rc",
- nm .. "/res/windirstat.rc2",
+ "windirstat/res/" .. nm .. "/*.txt", "windirstat/res/" .. nm .. "/*.rst",
+ "windirstat/res/" .. nm .. "/windirstat.rc",
+ "windirstat/res/" .. nm .. "/res/windirstat.rc2",
"common/version.h",
"windirstat/res/*.bmp",
"windirstat/res/*.cur",
@@ -300,10 +300,10 @@ solution (iif(release, slnname, "windirstat")) }
vpaths
{
- ["Header Files/*"] = { "windirstat/*.h", "common/*.h", nm .. "/*.h" },
- ["Resource Files/*"] = { nm .. "/windirstat.rc", nm .. "/res/windirstat.rc2" },
+ ["Header Files/*"] = { "windirstat/*.h", "common/*.h", "windirstat/res/" .. nm .. "/*.h" },
+ ["Resource Files/*"] = { "windirstat/res/" .. nm .. "/windirstat.rc", "windirstat/res/" .. nm .. "/res/windirstat.rc2" },
["Resource Files/embedded/*"] = { "windirstat/res/*" },
- ["*"] = { nm .. "/*.txt", nm .. "/*.rst" },
+ ["*"] = { "windirstat/res/" .. nm .. "/*.txt", "windirstat/res/" .. nm .. "/*.rst" },
}
end
premake.CurrentContainer = oldcurr
|