diff options
author | starkos <none@none> | 2008-12-23 01:57:22 +0300 |
---|---|---|
committer | starkos <none@none> | 2008-12-23 01:57:22 +0300 |
commit | de46cc12608e1fa89a9035de9e7e35f4a1396fa5 (patch) | |
tree | 69e8fd51e7c1cb22d87268590420b19fd88207e1 /samples | |
parent | 2fbce41b981edc7fe1ca2846ef12c15617bde65d (diff) |
Removed special solution clean hook; needs rethinking
Diffstat (limited to 'samples')
-rw-r--r-- | samples/project/CppSharedLib/premake4.lua | 5 | ||||
-rw-r--r-- | samples/project/CppStaticLib/premake4.lua | 5 | ||||
-rw-r--r-- | samples/project/CsSharedLib/premake4.lua | 5 | ||||
-rw-r--r-- | samples/project/premake4.lua | 6 |
4 files changed, 17 insertions, 4 deletions
diff --git a/samples/project/CppSharedLib/premake4.lua b/samples/project/CppSharedLib/premake4.lua index 7f6ae09..4177c3e 100644 --- a/samples/project/CppSharedLib/premake4.lua +++ b/samples/project/CppSharedLib/premake4.lua @@ -9,3 +9,8 @@ project "CppSharedLib" configuration "Release" targetdir "lib/release" + + + if _ACTION == "clean" then + os.rmdir("lib") + end
\ No newline at end of file diff --git a/samples/project/CppStaticLib/premake4.lua b/samples/project/CppStaticLib/premake4.lua index 91edebd..4e60fe6 100644 --- a/samples/project/CppStaticLib/premake4.lua +++ b/samples/project/CppStaticLib/premake4.lua @@ -9,3 +9,8 @@ project "CppStaticLib" configuration "Release" targetdir "lib/release" + + + if _ACTION == "clean" then + os.rmdir("lib") + end
\ No newline at end of file diff --git a/samples/project/CsSharedLib/premake4.lua b/samples/project/CsSharedLib/premake4.lua index e8df542..c8d65e2 100644 --- a/samples/project/CsSharedLib/premake4.lua +++ b/samples/project/CsSharedLib/premake4.lua @@ -9,3 +9,8 @@ project "CsSharedLib" configuration "Release" targetdir "lib/release" + + + if _ACTION == "clean" then + os.rmdir("lib") + end
\ No newline at end of file diff --git a/samples/project/premake4.lua b/samples/project/premake4.lua index b39956b..5482b75 100644 --- a/samples/project/premake4.lua +++ b/samples/project/premake4.lua @@ -19,10 +19,8 @@ include "CppSharedLib" include "CsSharedLib" include "CppStaticLib" -function onclean() + +if _ACTION == "clean" then os.rmdir("bin") - os.rmdir("CppSharedLib/lib") - os.rmdir("CppStaticLib/lib") - os.rmdir("CsSharedLib/lib") end |