Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Existing make project(Using Eclipse C/C++ project over an existing cmake project, and changing cmake parameters)
Existing make project [message #1856925] Mon, 09 January 2023 17:31
anders Mising name is currently offline anders Mising nameFriend
Messages: 15
Registered: September 2010
Junior Member
I am using Eclipse CDT "Empty or Existing CMake project" Project over an existing cmake project. This works very well!

Is there a way to add parameters to the execution of cmake command?
The thing is that in my case i need to add "-DCMAKE_BUILD_TYPE:STRING=Debug" to the invocation of cmake. I.e. i want to build an debug executable.

Yes, i can add same variable inside the cmakelists.txt. But in my case i cannot do that (restrictions in the CI). Alternatively i can execute cmake in a command shell, and debug within Eclipse. But it would be nice to do everything inside Eclipse

regards,
Anders
Previous Topic:CMake + Include/Exclude files from build GUI Interface
Next Topic:Parsing error probably related to the tool config.
Goto Forum:
  


Current Time: Tue Jan 14 04:19:45 GMT 2025

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

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

Back to the top