Re: [CMake] How to prevent .lib file to be installed?

2013-12-10 Thread Totte Karlsson
Great, worked perfect! Thanks, Tk On 12/10/2013 1:23 PM, Rolf Eike Beer wrote: Am Dienstag, 10. Dezember 2013, 13:07:07 schrieb Totte Karlsson: Hi, I'm creating a 'plugin' DLL and want to prevent the associated .lib file to be installed (cause its not being used). My Install code looks like thi

Re: [CMake] How to prevent .lib file to be installed?

2013-12-10 Thread Rolf Eike Beer
Am Dienstag, 10. Dezember 2013, 13:07:07 schrieb Totte Karlsson: > Hi, > I'm creating a 'plugin' DLL and want to prevent the associated .lib file > to be installed (cause its not being used). > > My Install code looks like this now: > > install (TARGETS ${target} > DESTINATION plugins > COMPONENT

[CMake] How to prevent .lib file to be installed?

2013-12-10 Thread Totte Karlsson
Hi, I'm creating a 'plugin' DLL and want to prevent the associated .lib file to be installed (cause its not being used). My Install code looks like this now: install (TARGETS ${target} DESTINATION plugins COMPONENT plugins ) and it installs both a .DLL and a .lib file. Any simple fix? tk --

Re: [CMake] Windows XP + CMake + VS2013

2013-12-10 Thread Stefan Fendt
Hi Andrey, > You should add CMake command option /|-T vc120_xp > |/ Many thanks! with best regards, Stefan -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake communi

Re: [CMake] How to find/run external host executables when using cross compiling

2013-12-10 Thread Williams, Norman K
This is a case for using the ExternalProject module! You have a top level 'SuperBuild' whose job it is to find all the prerequisites for the actual project build. Then it configures and builds it. This means that the tricky configuration is handled by CMake, instead of working it out yourself b

[CMake] Contents of link.txt differ between Solaris 8 and Linux

2013-12-10 Thread Tom Kacvinsky
Hi, I am using cmake 2.8.11.2 on Solaris 8 and Ubuntu 12.04.2 LTS, built from source using the GCC tool chain. I noted that the link.txt for one of our binaries on Solaris 8 are: /home/tjk/gnatpro-7.1.2/bin/gnatmake -aI/home/Users/tjk/vector/build/cmake/SunOS/.common-enums -aI/home/Users/tjk/ve

Re: [CMake] How to find/run external host executables when using cross compiling

2013-12-10 Thread Eric Noulard
2013/12/10 Eric Wing : > On 12/4/13, Eric Wing wrote: >> I'm currently trying to port a rather large, complex project to >> Android. It has an existing CMake project so I'm trying to leverage >> that. I've taken and enhanced one of the Android-CMake toolchains I've >> found. >> >> This particular