Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Is it possible to compile one file from the project but not the others?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Is it possible to compile one file from the project but not the others? (Read 2247 times)
undostres2411
Single posting newcomer
Posts: 3
Is it possible to compile one file from the project but not the others?
«
on:
May 12, 2016, 01:57:37 pm »
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!
Logged
Jenna
Administrator
Lives here!
Posts: 7255
Re: Is it possible to compile one file from the project but not the others?
«
Reply #1 on:
May 12, 2016, 09:50:03 pm »
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.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Is it possible to compile one file from the project but not the others?