Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Please delete this post. I don't know why is twice
Please delete this post. I don't know why is twice [message #1841019] Fri, 30 April 2021 13:30
Jose Maldonado is currently offline Jose MaldonadoFriend
Messages: 6
Registered: March 2021
Junior Member
I use eclipse like C++ IDE, and the compilation, although driven from eclipse, is through CMake managed.

The type of build is set between Release and Debug, by means of:
set(CMAKE_BUILD_TYPE Debug)	#set to Debug or Release

Which is equivalent to adding the in the command line the option

cmake .. -DCMAKE_BUILD_TYPE=Debug

My question is, is there a way to set this variable through Run/Debug control on the IDE?

in other words, how to define cmake variables through Run/Debug IDE interface? Is it possible?

Thanks in advance

[Updated on: Fri, 30 April 2021 13:35]

Report message to a moderator

Previous Topic:Why are C++ trigonometric functions fast, but not that fast ?
Next Topic:Breakpoint error marker in Disassembly window
Goto Forum:

Current Time: Thu Feb 02 19:19:33 GMT 2023

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

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

Back to the top