Cutter
|
Compilation, Linking & Makefiles
Upon receiving the keyboard shortcut CUTTER_DIRECTORY/custom_templates/Makefile
or
CUTTER_DIRECTOY/Cutter_Help/templates/Makerfile
In the case of Linux, Cutter looks for a file named |
|
Listing 1 (Makefile.dsoLINUX)
|
|
Within a template Makefile the following strings act as "placeholders", DEVKIT_INCLUDE_PATH
OTHER_INCLUDE_PATHS
YOUR_DSO_NAME
OTHER_OBJ_PATHS
Cutter copies the text of the template Makefile and substitutes the placeholders with the appropriate information derived from the name of the 'C' file the user is editing and from information found in preferences. Therefore, it is essential the user has correctly setup their prefs. Setting Up the ShadeOP Preferences
The preferences for "ShadeOP" is shown in figure 4. The first path should specify
the location of the
The "User Paths", shown empty in figure 4, should specify the full path to the
users
DSO LocationsIf compilation and linking are successful, a DSO will be created in the same directory as the 'C' source code. If the user has set their "User Paths & Options" (figure 6), additional copies of the DSO will be saved in the users "shaders" and "RSL source" directories.
|
© 2002- Malcolm Kesson. All rights reserved.