# Building a Project

To build your project:

1. Select the hello_world project in the Project Explorer view.
2. Select Project > Build Project.

See the Build results in the Console view.

For a C/C++ project, use:

    **** Build of configuration Debug for project hello_world ****
    make all
    Building file: ../src/hello_world.cpp
    Invoking: Intel C++ Compiler
    icpx -g -O0 -MMD -MP -MF"src/hello_world.d" -MT"src/hello_world.d" -c -o "src/hello_world.o" "../src/hello_world.cpp"
    Finished building: ../src/hello_world.cpp

    Building target: hello_world
    Invoking: Intel C++ Linker
    icpx -O0 -o "hello_world"  ./src/hello_world.o
    Finished building target: hello_world

    Build Finished. 0 errors, 0 warnings.

For a DPC++ project, use:

    **** Build of configuration Debug for project DPCPPhelloworld ****
    make all
    Building file: ../main.cpp
    Invoking: Intel® oneAPI DPC++ Compiler
    dpcpp -g -Wall -O0 -I/home/sys_idebuilder/eclipse-workspace/DPCPPhelloworld -MMD -MP -c -o "main.o" "../main.cpp"
    Finished building: ../main.cpp

    Building target: DPCPPhelloworld
    Invoking: Linker
    dpcpp  -o "DPCPPhelloworld"  ./main.o   -lsycl -lOpenCL
    Finished building target: DPCPPhelloworld

    Build Finished. 0 errors, 0 warnings.

Detailed descriptions of errors, warnings, and other output can be viewed by selecting the Problems tab.

Parent topic: Creating a Simple Project