Is it possible to compile the source files when they are in a different folder than the makefile and project? If it is simple to do then I would like to keep the source files in a separate folder from the project and makefile.
If that is not simple to do... would it be easy if I kept the makefile with the source files but had the project in a different folder?
It's definitely possible. I'm curious though, why do you want to do it?
You can alter the makefile to point to the location of the source files. It will require relative directory path commands. I think VS2010 lets you leave project files in different folders instead of copying them into a working directory. Should be an option/prompt when you create the project.
I am using VS2010 so that is good to know.
As for why - I plan on creating a sourceforge project and using SVN to keep track of my code changes. I don't want the project and all the extra files it generates to be included in the sourceforge/SVN stuff, so I thought it would be best if the project was in a different folder than the source files.
106 IntelliSense: PCH warning: line directives cannot be used in a PCH. An intellisense PCH file was not generated. c:\firaxis games\sid meier's civilization 4\beyond the sword\cvgamecoredll\boost-1.32.0\include\boost\python\call.hpp 44 4
I seem to have fixed this one, though I'm not sure how. Now, I'm just fighting with the effing Boost libraries - AGAIN.@LM - As far as I can see, it might only affect intellisense performance. I'm assuming your DLL is created? If so, you can usually hide intellisense errors using by turning the "error reporting" property off in the relevant options page.
Let me know if it's enough or if you want me to investigate it further.
I'm sorry I was cross earlier. Here are the files:post the makefile and proj
TOOLKIT=C:\Program Files (x86)\Microsoft Visual C++ Toolkit 2003
PSDK=E:\WindowsSDK
CIVINSTALL=C:\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword
Hi Asaf.First, I assume these are correct?
Second, you can ignore the intellisense errors (just hide them the way I posted earlier). Can you post the rest of the errors? The actual compilation errors?Code:TOOLKIT=C:\Program Files (x86)\Microsoft Visual C++ Toolkit 2003 PSDK=E:\WindowsSDK CIVINSTALL=C:\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword
After you've selected a configuration, Simply go to the 'Build' menu and choose 'Build Solution' (or press F7). This will start the compilation process. If there are modified source files, this will save them first.