Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mariusm on February 14, 2023, 11:27:19 am

Title: Missing configuration for OSX
Post by: mariusm on February 14, 2023, 11:27:19 am
I want to build some files to improve compatibility with OSX Objective C.

For this must add compiler_obj-clang.xml, options_obj-clang.xml and lexer_objc.xml. Intend to share this, maybe help somebody...

How to add  -isysroot option for SDK with path selection like search directories.

How to add options like in compiler settings but for linker. I want to add OSX frameworks in easiest way, with checkbox.

Cannot set matching brace highlight colors in lexer_...xml ?
Title: Re: Missing configuration for OSX
Post by: mariusm on February 14, 2023, 03:19:42 pm
I found the solution for linker options
Code
        <Option name="CoreFoundation" additionalLibs="-framework CoreFoundation"/>

additionalLibs do the trick