diff options
author | starkos <unknown> | 2008-12-23 01:57:22 +0300 |
---|---|---|
committer | starkos <unknown> | 2008-12-23 01:57:22 +0300 |
commit | f654a85e5faee668ba3d6bc690c38e5d58e90b96 (patch) | |
tree | 69e8fd51e7c1cb22d87268590420b19fd88207e1 /samples | |
parent | b0441e8eb4ef3298081d5b5ad0bd3da6e6b3c46e (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 |