Nmap Development mailing list archives
[PATCH] Win32 Post build event to copy nselib/data/*.*
From: jah <jah () zadkiel plus com>
Date: Mon, 25 Aug 2008 15:22:36 +0100
Hello, The data subdirectory of nselib is not copied when building Nmap on windows. The attached patch for nmap.vcproj adds an xcopy command to the post-build event which fixes this. Regards, jah
--- nmap.vcproj.orig 2008-08-01 01:23:07.875000000 +0100
+++ nmap.vcproj 2008-08-25 15:11:00.171875000 +0100
@@ -199,7 +199,7 @@
/>
<Tool
Name="VCPostBuildEventTool"
- CommandLine="xcopy "$(SolutionDir)..\scripts"
".\$(ConfigurationName)\scripts\" /e /y && xcopy "$(SolutionDir)..\nselib\*.lua"
"$(SolutionDir)\$(ConfigurationName)\nselib\" /y && xcopy
"$(SolutionDir)\OpenSSL\bin\*.dll" "$(SolutionDir)\$(ConfigurationName)\" /y"
+ CommandLine="xcopy "$(SolutionDir)..\scripts"
".\$(ConfigurationName)\scripts\" /e /y && xcopy "$(SolutionDir)..\nselib\*.lua"
"$(SolutionDir)\$(ConfigurationName)\nselib\" /y && xcopy
"$(SolutionDir)..\nselib\data\*.*" "$(SolutionDir)\$(ConfigurationName)\nselib\data\" /y &&
xcopy "$(SolutionDir)\OpenSSL\bin\*.dll" "$(SolutionDir)\$(ConfigurationName)\" /y"
/>
</Configuration>
</Configurations>
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] Win32 Post build event to copy nselib/data/*.* jah (Aug 25)
- Re: [PATCH] Win32 Post build event to copy nselib/data/*.* Fyodor (Aug 29)
