Code Generator Options

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  ユーザーマニュアル > Code Generator >

Code Generator Options

The menu option DTD/Schema | Generate Program Code lets you specify the target programming language as well as specific code generation settings.

 

cg_codegen_options_xs

 

The available settings are as follows.

 

C++ Settings

Defines the specific compiler settings for the C++ environment, namely:

The Visual Studio version (2008, 2010, 2013, 2015, 2017)
Whether a makefile for Linux with GCC compiler must be generated.
The XML library (MSXML, Xerces 3.x)
Whether static or dynamic libraries must be generated
Whether code must be generated with or without MFC support

 

The Makefile for Linux/GCC option adds makefiles to the generated code. C++ source files are generated so that they are portable using #ifdef constructs to support different compilers and operating systems.

 

Note the following if you intend to compile the generated code with GCC (GNU Compiler Collection) on Linux:

 

For Linux/GCC compilation, the only supported XML Library is Xerces 3.x.
Selecting the check box MFC support has no effect on compilation with Linux/GCC.

C# Settings

Defines the specific compiler settings for the C# environment, namely, the Visual Studio version (2008, 2010, 2013, 2015, 2017).


(C) 2018 Altova GmbH