Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Given a project, how to change file holding the main c/cpp file?
Given a project, how to change file holding the main c/cpp file? [message #1819288] Sun, 12 January 2020 01:40 Go to next message
Eclipse UserFriend
hi All,

I have created a CDT C++ Managed build project. I need to be able to switch between two main cpp files (containing the main function.)

How can I do that ?

thank you
Re: Given a project, how to change file holding the main c/cpp file? [message #1819300 is a reply to message #1819288] Sun, 12 January 2020 12:49 Go to previous message
Eclipse UserFriend
A Managed Build is restricted to one executable per project.
You need to write your own Makefile with separate targets.
You can use the Build Targets view to select the target to build.
Previous Topic:cross compiler: eclipse build keep selecting the incorrect cross compiler
Next Topic: Debug configuration - HELP
Goto Forum:
  


Current Time: Sat Jun 14 14:17:14 EDT 2025

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

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

Back to the top