Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » SVN Project to C++ project
SVN Project to C++ project [message #1780844] Mon, 29 January 2018 08:11 Go to next message
column column is currently offline column columnFriend
Messages: 25
Registered: December 2017
Junior Member
Since I cant't create C++ project from sources in SVN anymore I'm thinking about checkout project from SVN as simple Project and then try to convert this project to C++ project with SVN linkage. Is it possible to do that? How?
Re: SVN Project to C++ project [message #1780876 is a reply to message #1780844] Mon, 29 January 2018 13:31 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Have you tried importing them?
File --> Import --> C/C++ --> Existing Code as Makefile Project
Re: SVN Project to C++ project [message #1780887 is a reply to message #1780876] Mon, 29 January 2018 15:15 Go to previous messageGo to next message
column column is currently offline column columnFriend
Messages: 25
Registered: December 2017
Junior Member
It allows import only from C++ projects - not simple SVN one.
Re: SVN Project to C++ project [message #1780918 is a reply to message #1780887] Tue, 30 January 2018 00:22 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Import is how you get existing code as a C/C++ Project.
I have done this a lot: checkout the code then import it.
Perhaps you should elaborate on what you are expecting.
Re: SVN Project to C++ project [message #1780965 is a reply to message #1780918] Tue, 30 January 2018 14:32 Go to previous messageGo to next message
column column is currently offline column columnFriend
Messages: 25
Registered: December 2017
Junior Member
Lets assume I have checkouted project like simple SVN project myProject.

How to perform its import?

I do
File->Import->Existing Projects into Workspace

I select General SVN project in other workspace (it not allows to import from the same workspace) and it imports the same General (not C++) project. Besides that it leaves files in first workspace that I dont like.

How to convert General SVN project into C++ by import?
Re: SVN Project to C++ project [message #1780983 is a reply to message #1780965] Tue, 30 January 2018 22:16 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
A c/c++ project is one with a .cproject file.
File --> Import --> C/C++ --> Existing Code as Makefile Project
will create one.
Select the location of the source.

Understand that it is a Makefile project.
Which means you supply the Makefile.
If you want a Managed Build then you'll have to do more work.
Previous Topic:make: *** [main] Error 1
Next Topic:How can I include .s file in C project
Goto Forum:
  


Current Time: Fri Apr 19 11:21:25 GMT 2024

Powered by FUDForum. Page generated in 0.02216 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top