Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 04-29-2012, 07:28 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

This is a great idea that I think should be integrated into the solution for Visual Studio 10+
I added the variables through the Windows GUI, but a command line script could be set up too.
Code:
Index: C:/SVN Files/eqemu/trunk/EQEmuServer/zone/Zone.vcxproj
===================================================================
--- C:/SVN Files/eqemu/trunk/EQEmuServer/zone/Zone.vcxproj	(revision 2137)
+++ C:/SVN Files/eqemu/trunk/EQEmuServer/zone/Zone.vcxproj	(working copy)
@@ -286,6 +286,8 @@
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     <CodeAnalysisRules />
     <CodeAnalysisRuleAssemblies />
+    <IncludePath>$(IncludePath);$(EQEmu_Inc)</IncludePath>
+    <LibraryPath>$(LibraryPath);$(EQEmu_Lib)</LibraryPath>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release x64|Win32'">
     <OutDir>.\..\Build\</OutDir>
In regards to Perl 5.14, I do not have anything available to install 64 bit versions on right now, but this works to build with perl 5.12 in VS2010 Professional. I left the defualt 5.10 reference in ther eto make sure which if my system was building against. I was building on a x64 system for x32 and it chose the correct perl512 reference.
Code:
Index: C:/SVN Files/eqemu/trunk/EQEmuServer/zone/embperl.cpp
===================================================================
--- C:/SVN Files/eqemu/trunk/EQEmuServer/zone/embperl.cpp	(revision 2137)
+++ C:/SVN Files/eqemu/trunk/EQEmuServer/zone/embperl.cpp	(working copy)
@@ -28,11 +28,15 @@
 //#pragma comment(lib, "perl56.lib")
 #ifdef _WINDOWS
 #if _MSC_VER >= 1600 // for V100+ toolset
+#ifdef _WIN64
 #pragma comment(lib, "perl514.lib")
 #else
-#pragma comment(lib, "perl510.lib")
+#pragma comment(lib, "perl512.lib")
 #endif
+#else
+#pragma comment(lib, "perl510.lib")
 #endif
+#endif
 
 #ifdef EMBPERL_XS
 EXTERN_C XS(boot_quest);
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:25 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3