Re: [CMake] Excluding definitions for source files

2011-05-19 Thread Michael Hertling
On 05/19/2011 08:18 AM, Robert Bielik wrote: > Robert Bielik skrev 2011-05-19 07:57: >>> I have a problem where I need to be able to select Unicode build or not, >>> but at the same time 3 files of my project MUST NOT have >>> Unicode enabled. Is there a way to remove compile definitions for certa

Re: [CMake] Excluding definitions for source files

2011-05-19 Thread Andrea Galeazzi
No, you can only add the compile definitions to the other files. You should split all files into two lists and set the compile definition for unicode to just one. Andrea Il 19/05/2011 7.57, Robert Bielik ha scritto: Robert Bielik skrev 2011-05-19 07:55: Hi, CMake 2.8.4 , MSVC generators: I h

Re: [CMake] Excluding definitions for source files

2011-05-18 Thread Robert Bielik
Robert Bielik skrev 2011-05-19 07:57: I have a problem where I need to be able to select Unicode build or not, but at the same time 3 files of my project MUST NOT have Unicode enabled. Is there a way to remove compile definitions for certain source files ? Oh, and I cannot extract those 3 fil

Re: [CMake] Excluding definitions for source files

2011-05-18 Thread Robert Bielik
Robert Bielik skrev 2011-05-19 07:55: Hi, CMake 2.8.4 , MSVC generators: I have a problem where I need to be able to select Unicode build or not, but at the same time 3 files of my project MUST NOT have Unicode enabled. Is there a way to remove compile definitions for certain source files ?

[CMake] Excluding definitions for source files

2011-05-18 Thread Robert Bielik
Hi, CMake 2.8.4 , MSVC generators: I have a problem where I need to be able to select Unicode build or not, but at the same time 3 files of my project MUST NOT have Unicode enabled. Is there a way to remove compile definitions for certain source files ? TIA /Rob __