So i set a global compiler var called COMP for each compiler (Digital Mars: COMP = dmc for example).
Then to project linker dir i add $(WXDIR)\lib\$(COMP)_lib and to include dir:
$(WXDIR)\lib\$(COMP)_lib\msw for release
$(WXDIR)\lib\$(COMP)_lib\mswd for debug
But it seems that global compiler vars are not visible from project settings. Could you please make they visible?
They are. You're not using a global compiler variable. Use this:
$(WXDIR)\lib\$(#COMP)_lib\msw for release
$(WXDIR)\lib\$(#COMP)_lib\mswd for debug
Reference: http://wiki.codeblocks.org/index.php?title=Global_compiler_variables