# CIAO CIDL compiler README

Before continuing, please note that pre-built binary executables of CIDL compiler are available for different platforms The CIDL compiler options are documented here.

The C++ source files in this directory are compiled into the code generators and driver for the CIAO CIDL compiler. CORBA Compiler Framework (CCF) provides the front-end for the compiler. To build CIDL compiler you will need to compile CCF libraries first. Please refer to instructions for building CCF libraries.

After you have compiled the CCF libraries, you are ready to build the CIDLC compiler. In order to build the compiler, you must generate the appropriate project files. If there are makefiles, or project solutions, already in the directory, please disgard them since because they can be out-of-date, or invalid. To regenerate all project files, type the following command:

    %> $ACE_ROOT/bin/mwc.pl -type <project-type> -static -features cidl=1,exceptions=1,boost=1 CIDLC.mwc

Once MPC finishes generating the project files, you can now build CIDLC.

- On Linux/UNIX:

  If you are building with a make utility, e.g., gmake, use the following command to build CCF:

      %> gmake cidl=1 exceptions=1 boost=1

- On Windows:

  Just open the generated solution file.

Note: If you are building CCF on a Windows platform, use `%ACE_ROOT%\bin\mwc.pl` instead `of $ACE_ROOT/bin/mwc.pl`. Also, for a list of project types and other command-line options supported by MPC, type `$ACE_ROOT/bin/mwc.pl --help`.