>\r
<Tool\r
Name="VCPreBuildEventTool"\r
- CommandLine="if not exist perlxsi.c perl -MExtUtils::Embed -e xsinit"\r
+ CommandLine=""\r
/>\r
<Tool\r
Name="VCCustomBuildTool"\r
/>\r
<Tool\r
Name="VCLinkerTool"\r
- AdditionalOptions="/EXPORT:xs_init"\r
OutputFile="$(OutDir)\Perl\$(ProjectName).dll"\r
LinkIncremental="2"\r
GenerateDebugInformation="true"\r
>\r
<Tool\r
Name="VCPreBuildEventTool"\r
- CommandLine="if not exist perlxsi.c perl -MExtUtils::Embed -e xsinit"\r
+ CommandLine=""\r
/>\r
<Tool\r
Name="VCCustomBuildTool"\r
/>\r
<Tool\r
Name="VCLinkerTool"\r
- AdditionalOptions="/EXPORT:xs_init"\r
OutputFile="$(OutDir)\Perl\$(ProjectName).dll"\r
LinkIncremental="1"\r
GenerateDebugInformation="true"\r
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"\r
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"\r
>\r
- <File\r
- RelativePath=".\perlxsi.c"\r
- >\r
- </File>\r
<File\r
RelativePath=".\switch_swig.c"\r
>\r
>\r
<Tool\r
Name="VCPreBuildEventTool"\r
- CommandLine="cscript /nologo $(InputDir)..\..\..\..\w32\vsnet\getlibs.vbs mod_perl Debug"\r
+ CommandLine="if not exist perlxsi.c perl -MExtUtils::Embed -e xsinit"\r
/>\r
<Tool\r
Name="VCCustomBuildTool"\r
>\r
<Tool\r
Name="VCPreBuildEventTool"\r
- CommandLine="cscript /nologo $(InputDir)..\..\..\..\w32\vsnet\getlibs.vbs mod_perl Release"\r
+ CommandLine="if not exist perlxsi.c perl -MExtUtils::Embed -e xsinit"\r
/>\r
<Tool\r
Name="VCCustomBuildTool"\r
RelativePath=".\mod_perl.c"\r
>\r
</File>\r
+ <File\r
+ RelativePath=".\perlxsi.c"\r
+ >\r
+ </File>\r
</Filter>\r
<Filter\r
Name="Header Files"\r
char *path =NULL, *working =NULL;
apr_dir_t *perl_dir_handle = NULL;
- apr_env_get(&path, "path", loadable_modules.pool);\r
- apr_filepath_get(&working, APR_FILEPATH_NATIVE , loadable_modules.pool);\r
-
- if (apr_dir_open(&perl_dir_handle, ".\\perl", loadable_modules.pool) == APR_SUCCESS) {\r
- apr_dir_close(perl_dir_handle);\r
- apr_env_set("path", \r
- apr_pstrcat(loadable_modules.pool, path, ";", working, "\\perl", NULL), \r
- loadable_modules.pool);\r
- }\r
+ apr_env_get(&path, "path", loadable_modules.pool);
+ apr_filepath_get(&working, APR_FILEPATH_NATIVE , loadable_modules.pool);
+
+ if (apr_dir_open(&perl_dir_handle, ".\\perl", loadable_modules.pool) == APR_SUCCESS) {
+ apr_dir_close(perl_dir_handle);
+ apr_env_set("path",
+ apr_pstrcat(loadable_modules.pool, path, ";", working, "\\perl", NULL),
+ loadable_modules.pool);
+ }
}
#endif
#ifdef WIN32
- switch_loadable_module_path_init();\r
+ switch_loadable_module_path_init();
#endif
switch_core_hash_init(&loadable_modules.module_hash, loadable_modules.pool);
EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_spidermonkey", "..\..\src\mod\languages\mod_spidermonkey\mod_spidermonkey.vcproj", "{1AD3F51E-BBB6-4090-BA39-9DFAB1EF1F5F}"\r
ProjectSection(ProjectDependencies) = postProject\r
- {89385C74-5860-4174-9CAF-A39E7C48909C} = {89385C74-5860-4174-9CAF-A39E7C48909C}\r
{202D7A4E-760D-4D0E-AFA1-D7459CED30FF} = {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}\r
+ {89385C74-5860-4174-9CAF-A39E7C48909C} = {89385C74-5860-4174-9CAF-A39E7C48909C}\r
EndProjectSection\r
EndProject\r
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ASR-TTS", "ASR-TTS", "{4CF6A6AC-07DE-4B9E-ABE1-7F98B64E0BB0}"\r
EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_perl", "..\..\src\mod\languages\mod_perl\mod_perl.vcproj", "{7B077E7F-1BE7-4291-AB86-55E527B25CAC}"\r
ProjectSection(ProjectDependencies) = postProject\r
- {B0C6CFF9-7DCD-4A21-8BA4-C2011E18DED8} = {B0C6CFF9-7DCD-4A21-8BA4-C2011E18DED8}\r
{202D7A4E-760D-4D0E-AFA1-D7459CED30FF} = {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}\r
EndProjectSection\r
EndProject\r