User forums > Using Code::Blocks

How to use the compiler that I want in cmake generated project?

(1/2) > >>

dominate:
Please help with this:

https://stackoverflow.com/questions/48621242/unable-to-use-specific-compiler-in-cmake-created-codeblocks-project

Thank you.

stahta01:
http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler#Compiler-neutral_setup_steps

dominate:
Have you ever read my post?

BlueHazzard:
simple answer: you can not do this.

The codeblocks projects generated by cmake are so called "makefile" projects. In this mode all settings within the ide are ignored and everything is taken from the makefile.

stahta01:

--- Quote from: BlueHazzard on February 05, 2018, 02:34:18 pm ---simple answer: you can not do this.

The codeblocks projects generated by cmake are so called "makefile" projects. In this mode all settings within the ide are ignored and everything is taken from the makefile.

--- End quote ---

I do believe that the PATH system variable (as modified by Code::Blocks) is used; that is why I suggest changing the toolchain.
Because it is possible it is a PATH system variable related issue.

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version