help must now be in the same directory as fceux.exe

now the vcproj copies the chm to the output directory (which could be complex and contain other useful files)
This commit is contained in:
zeromus 2008-06-02 03:43:49 +00:00
parent 952671c6b5
commit fc66466f09
2 changed files with 10 additions and 1 deletions

View File

@ -6,7 +6,7 @@ void OpenHelpWindow(const char *subpage)
{
char helpFileName[MAX_PATH];
strcpy(helpFileName, BaseDirectory);
strcat(helpFileName, "\\help\\fceux.chm");
strcat(helpFileName, "\\fceux.chm");
if (subpage)
{
strcat(helpFileName, "::/");

View File

@ -2251,6 +2251,15 @@
<File
RelativePath="..\src\drivers\win\help\fceux.chm"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
CommandLine="copy /y ..\src\drivers\win\help\fceux.chm $(OutDir)"
Outputs="$(OutDir)\fceux.chm"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\src\fds.cpp"