[Cmake] UNICODE Release and Debug builds.

Bill Hoffman bill.hoffman at kitware.com
Fri Aug 10 17:14:14 EDT 2001


MSDEV is very sensitive.  The best way to debug stuff like that is to 
create a project file without your changes, then add your changes via the GUI,
and save, then use that file to edit the template files.

-Bill

At 03:56 PM 8/10/2001 -0500, you wrote:

>Hello Bill,
>
>Thanks for the prompt reply. Regarding DSPWriter, I feel that an additional
>'ReplaceString' statement
>will be needed in order to use new flags like
>'CMAKE_CXX_FLAGS_UNICODERELEASE'.
>In any case, Visual Studio crashes when I try to open the Project
>Workspace.
>
>Regards,
> Kaustubh.
>
>
>
>
>
>
>Bill Hoffman <bill.hoffman at kitware.com> on 08/10/2001 03:41:33 PM
>
>To:   krpatil at imation.com, cmake at public.kitware.com
>cc:
>
>Subject:  Re: [Cmake] UNICODE Release and Debug builds.
>
>
>You should only need to change the Templates, the DSPWriter should not
>need to be changed.  If MSPROJECT_TEMPLATE_DIRECTORY is set in your
>CMakeLists.txt or Cache file , then the cmDSPWriter will use that
>directory for templates.
>
>You could start with the CMake/Templates directory and copy ALL of the
>files.
>Then you want to edit *Header*.dsptemplate and add your new targets.
>
>VXL has a Template directory like this.
>
>BTW, vxl folks, you no longer need that Template directory as, there is now
>support
>for MFC applications.
>
>Just add this to your CMakeList.txt file:
>
># add stuff to use MFC in this executable
>ADD_DEFINITIONS(-D_AFXDLL)
>SET(CMAKE_MFC_FLAG 6)
>
>
>-Bill
>
>
>At 03:31 PM 8/10/2001 -0500, krpatil at imation.com wrote:
>>Hello,
>>
>>I would like to include UNICODE Release and Debug modes to the existing
>>list of build modes.
>>My attempts so far to modify the CMake code (the Templates and
>cmDSPWriter)
>>haven't succeeded,
>>I am wondering if anyone has tried doing this before?? Any suggestions??
>>
>>Thanks,
>> Kaustubh.
>>
>>
>>_______________________________________________
>>Cmake mailing list
>>Cmake at public.kitware.com
>>http://public.kitware.com/mailman/listinfo/cmake





More information about the CMake mailing list