Code::Blocks

User forums => Using Code::Blocks => Topic started by: Дмитро on April 29, 2017, 08:54:38 pm

Title: Like _MT and _STATIC_LIB?
Post by: Дмитро on April 29, 2017, 08:54:38 pm
Like _MT and _STATIC_LIB? :D
Title: Re: Like _MT and _STATIC_LIB?
Post by: oBFusCATed on April 29, 2017, 08:56:36 pm
What? How are we supposed to help you with so little information?
Title: Re: Like _MT and _STATIC_LIB?
Post by: Дмитро on April 29, 2017, 10:11:54 pm
I apologize. Well, the book says that if you use a universal environment for compilation, it's better and easier to define the UNICODE constant in the project, and also to define _MT and _STATIC_LIB.
Title: Re: Like _MT and _STATIC_LIB?
Post by: stahta01 on April 29, 2017, 10:46:46 pm
Project -> Build Options
Select Project or target from left pane
Added  _MT and _STATIC_LIB  one per line to #defines tab

Tim S.
Title: Re: Like _MT and _STATIC_LIB?
Post by: Дмитро on April 30, 2017, 01:37:00 am
Thank you so much!