Configuring the MSVC IDE, per-project options
This section assumes that that the ADM-XRC SDK has been installed in the default location, namely
C:/ADMXRC_SDK2.8.1 |
Altering the global MSVC options may not desirable. In this case, the ADM-XRC API header and library files may be added to the search paths on a per-project basis. To do this, follow these steps:
- Select Project->Settings from the menu. Ensure that the correct project is highlighted on the left hand side of the Project Settings dialog box.
- Select the configuration(s) you want to change - Win32 Debug, Win32 Release or All Configurations - from the Settings for list.
- Select the C/C++ tab and then select Preprocessor from the Category list.
- Add the path
C:/ADMXRC_SDK2.8.1/include
to the Additional include directories field.
- Select the Link tab and then select Input from the Category list.
- Add the path
C:/ADMXRC_SDK2.8.1/lib/msvc
to the Additional library path field.
- Add the API library to the list of .lib files in the Object/Library modules field. This must be admxrc.lib (to use the Release version) or admxrcd.lib (to use the Debug version).
- Click OK to apply the changes, which will require the project to be completely rebuilt in order to take effect.