User forums > Using Code::Blocks

Is it possible to compile one file from the project but not the others?

(1/1)

undostres2411:
Hello! Quick question. Is it possible to run one file from the project but not the others?



For example, can I run only 2.cpp without running main.cpp?

Thanks in advance! ;)

Jenna:
Yes, right-click the file in the project-manager and chose "build file" or press "Ctrl-Shift+F9" if the file is active or chose "compile current file" from the "Build"-menu.

Navigation

[0] Message Index

Go to full version