Compartir a través de


Sources Editor: C/C++ (Compact 2013)

3/26/2014

This page enables you to view and modify C/C++ subproject settings that are held in the sources file.

  • Additional Macro Definitions
    Specifies additional macro definitions to add to C/C++ compiler commands. Use the compiler syntax for specifying macro definitions from a command prompt.
  • Code Analysis
    Enables code analysis.
  • Data Execution Prevention Compatible
    Specifies that the executable or dynamic-link library does not execute memory unless it is classed as executable.
  • Debug Information
    Specifies the destination, if any, for debug information. It can be either a PDB file (-Zi) or the OBJ (-Z7).
  • DLL Entry Point
    Specifies the initial entry point for .dll files. By default, the initial entry point is _DllMainCRTStartup.
  • Exception Handling
    Specifies whether to use C++ structured exception handling (SEH) and how to handle C exceptions.
  • Executable Entry Point
    Specifies the initial entry point for executable files. By default, the initial entry point is WinMainCRTStartup.
  • External C Exceptions
    Specifies the exception settings for external C code.
  • Externally located PCH
    Specifies the location of the PCH file if it resides in a directory other than $(OBJDIR).
  • Files dependent on EXTERNAL_PCH_FILE
    Specifies the list of OBJ files dependent on an externally defined PCH file. List of OBJ files, separated by spaces.
  • Generate Browse Information
    Specifies whether browse information is generated. This enables you to view definitions and references to identifiers in the selected project.
  • Include Directories
    Specifies additional directories that contain header files by listing directory names that do not contain spaces, separated by a semicolon.

    Do not include a trailing semicolon.

  • Link helper functions statically
    Specifies whether to force the compiler to use statically linked helper functions.
  • MASM assembly is SafeSEH aware (x86-only)
    Indicates that all exception handlers in .asm files have been marked with the .SAFESEH directive.
  • Optimization Preference
    Specifies whether code is optimized for faster performance or smaller size.
  • Precompiled Files
    Specifies whether to treat precompiled files as C++ code files. The default setting is No, and is based on the extension of the PRECOMPILED_INCLUDE file name. When set to No, PRECOMPILED_INCLUDE files that use .c and .h extensions are treated as C files and are used only when compiling files with a .c extension. PRECOMPILED_INCLUDE files that use a .cpp, .hpp, .cxx or .hxx extension are treated as C++ files, and are used only when compiling C++ files. When set to Yes, PRECOMPILED_CXX causes the precompiled files to be treated as C++ files, regardless of the extension of the PRECOMPILED_INCLUDE file name.
  • Precompiled Header File Name
    Specifies the name of the precompiled header file that is created, using the .pch file type extension.
  • Precompiled Header Object File Name
    Specifies the name of the precompiled header object file that is created, using the .obj file extension.
  • Precompiled Header Options
    Specifies the command-line options for the compiler when compiling precompiled header files. Overrides all other settings.
  • Precompiled Header Source File Name
    Specifies a file name for the precompiled header source file.
  • Runtime Type Information
    Specifies whether run-time type information is available.
  • SafeSEH (x86-only)
    When specified, Platform Builder creates a table of all legal exception handlers in the executable or .dll file.
  • Security Checks
    Specifies that the -gs compiler flag is turned on and enables stack security checks.
  • Target architecture for assembler
    Specifies the target architectures for the assembler. The values selected override the default values set in Makefile.def.
  • Target architecture for compiler
    Specifies the target architectures for the compiler. The values selected override the default values set in Makefile.def.
  • Use OpenMP
    Specifies that the -openmp compiler flag is set and that vcomp.lib is added to TARGETLIBS.

See Also

Reference

Sources Editor Dialog Box

Concepts

Platform Builder User Interface