Partager via


Subprojects: C/C++ Settings (Windows Embedded CE 6.0)

1/6/2010

When you use the Sources File Editor to display the properties of a subproject, this tab displays C/C++ settings specific to user-created subprojects. You can configure these settings according to your needs during the development process.

For more information about this dialog box, see Subproject Settings Dialog Box.

  • Additional Macro Definitions
    Specifies additional macro definitions to add to C/C++ compiler commands by using the compiler syntax for specifying macro definitions from a command prompt.
  • Compile for XScale
    Sets the command-line switch for the compiler to target XScale processors.
  • Data Execution Prevention Compatible
    Specifies that the executable or dynamic-link library does not execute memory that is not classed as executable.
  • DLL Contains Resources Only
    Specifies that a dynamic-link library (.dll) file contains only resources, which reduces the file size by removing debugging information that is not needed.
  • DLL Entry Point
    Specifies the initial entry point for dynamic-link library (.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.
  • 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.

  • MASM assembly is SafeSEH aware (x86-only)
    Indicates that all exception handlers in .asm files have been marked 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.

See Also

Reference

Subproject Settings Dialog Box

Concepts

Subprojects