~ubuntu-branches/ubuntu/trusty/openscenegraph/trusty

« back to all changes in this revision

Viewing changes to OpenSceneGraph/PlatformSpecifics/Windows/VisualStudio_Syntax_Highlighting.txt

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2008-07-29 04:34:38 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20080729043438-no1h9h0dpsrlzp1y
* Non-maintainer upload.
* No longer try to detect (using /proc/cpuinfo when available) how many
  CPUs are available, fixing the FTBFS (due to -j0) on various platforms
  (Closes: #477353). The right way to do it is to support parallel=n in
  DEB_BUILD_OPTIONS (see Debian Policy §4.9.1), and adequate support has
  been implemented.
* Add patch to fix FTBFS due to the build system now refusing to handle
  whitespaces (Policy CMP0004 say the logs), thanks to Andreas Putzo who
  provided it (Closes: #482239):
   - debian/patches/fix-cmp0004-build-failure.dpatch
* Remove myself from Uploaders, as requested a while ago, done by Luk in
  his 2.2.0-2.1 NMU, which was never acknowledged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Mapping extensionless header files to C++ in Visual Studio
 
2
=============================================================================
 
3
 
 
4
Previous versions of the OSG included registry files which enabled syntax 
 
5
highlighting for OSG's extensionless headers in Visual Studio. These are not 
 
6
needed anymore, because starting with Visual Studio 2002 (7.0), there is a 
 
7
setting that will map extensionless files to a certain language in the 
 
8
options. This also works for the Express Editions.
 
9
 
 
10
1. Go to Tools-Options.
 
11
2. Open the Text Editor section, and click on File Extension.
 
12
3. At the bottom of the window, check the Map Extensionless Files To 
 
13
   checkbox, and select Microsoft Visual C++ in the list to the right.
 
14
 
 
15
Note that if you use this feature for other languages, you will have to 
 
16
change it when needed. If that is too cumbersome you may want to generate 
 
17
the registry files and do it that way instead. Please see the 
 
18
.reg files in previous versions of OSG in the VisualStudio directory for 
 
19
a guide on how to do that (hint: check the location of the registry key
 
20
to make sure the added values end up in the right place for your version
 
21
of Visual Studio).