User forums > Using Code::Blocks

Add projects into existing workspace

(1/2) > >>

senthilkumar:
Hi All,

I have workspace with 6 projects.One is an application and rest are dll(used by the app).I have created one new project(dll),i would like to add this project into existing workspace.
when i do build workspace,existing wrokspace which has 6 projects only building now.

How shall i add my project into the existing workspace so that when i do build workspace,my new project also should get build?

Thanks in advance
Regards
Senthil

AkiraDev:
I don't understand your question.

I believe that if you have saved the project separately, it's just a matter of opening it while in your workspace: it will be added to the workspace, and then you can just save it. Done.

Jenna:

--- Quote from: AkiraDev on May 15, 2009, 11:35:33 am ---I don't understand your question.

I believe that if you have saved the project separately, it's just a matter of opening it while in your workspace: it will be added to the workspace, and then you can just save it. Done.

--- End quote ---

If it still does not build, make sure the build targets have the same name.
You can also create virtual targets that include 1..n "real" build targets to make sure all projects get build.

senthilkumar:
Hi Akiradev,

i have opened my project in the workspace and i have the saved the workspace.but still when i do build workspace,my recently included project is not building with that workspace

Jens,
i couldnt get your answer.can you please explain bit more?

Jenna:

--- Quote from: senthilkumar on May 15, 2009, 12:58:48 pm ---Hi Akiradev,

i have opened my project in the workspace and i have the saved the workspace.but still when i do build workspace,my recently included project is not building with that workspace

Jens,
i couldnt get your answer.can you please explain bit more?

--- End quote ---
In your workspace you have an active project and this project has an active target (visible in the dropdownlist of the compiler toolbar).

If you now build your workspace all targets that are named like the active target in the active project are build.

If the build targets in the newly added project are named different, they will never be build automatically.

Navigation

[0] Message Index

[#] Next page

Go to full version