Re: [CMake] Creating the resource-only dll with NMake

2012-01-17 Thread Yuri Timenkov
y > > -Original Message- > From: Yuri Timenkov [mailto:y...@timenkov.ru] > Sent: Tuesday, January 17, 2012 7:28 AM > To: Kozlovskiy, Alexey > Cc: cmake@cmake.org > Subject: Re: [CMake] Creating the resource-only dll with NMake > > Won't it work if you set target

Re: [CMake] Creating the resource-only dll with NMake

2012-01-16 Thread Kozlovskiy, Alexey
al -> Culture Thanks again! Regards, Alexey -Original Message- From: Yuri Timenkov [mailto:y...@timenkov.ru] Sent: Tuesday, January 17, 2012 7:28 AM To: Kozlovskiy, Alexey Cc: cmake@cmake.org Subject: Re: [CMake] Creating the resource-only dll with NMake Won't it work if you set

Re: [CMake] Creating the resource-only dll with NMake

2012-01-16 Thread Yuri Timenkov
Won't it work if you set target's linker language to C or C++? I suppose it's a LINKER_LANGUAGE property. On Mon, Jan 16, 2012 at 6:17 PM, Kozlovskiy, Alexey wrote: > > Hi, > > > > I tried to create a simple CMake project to assemble a resource only dll. My > CMakeList.txt file: > > cmake_minimu

[CMake] Creating the resource-only dll with NMake

2012-01-16 Thread Kozlovskiy, Alexey
Hi, I tried to create a simple CMake project to assemble a resource only dll. My CMakeList.txt file: cmake_minimum_required(VERSION 2.8) set (PROJECT_NAME viewerResDLL) project ( ${PROJECT_NAME} ) set ( SRCS_MAIN viewerres_en.rc ) set ( HDRS_MAIN resou