[CMake] [MSVC] LINK_DIRECTORY do not add directories to project

Vincent Daanen vincent.daanen at imag.fr
Thu Feb 9 02:41:12 EST 2006


Hi,

William A. Hoffman a écrit :
> Have you done these things:
>
> 1. use ${var} and not $(var)
>   
no, if I do this ${GMCAO}, it appears as GMCAO in the project file 
instead of $(GMCAO).
> 2. moved the LINK_DIRECTORIES to be BEFORE the ADD_EXECUTABLE.
>   
Yeah ! that's ok !

Thx

 Vince

> -Bill
>
>
> At 10:04 AM 2/8/2006, Vincent Daanen wrote:
>   
>> I'm using CMake 2.2 on a M$ Windows XP SP2 computer.
>>
>> V
>>
>> Brad King a écrit :
>>     
>>> Vincent Daanen wrote:
>>>       
>>>> this is the CMakeLists.txt  file. None of the path set in LINK_DIRECTORIES commands appear in the msvc6.0  project file.
>>>>         
>>> What version of CMake are you using?
>>>
>>> -Brad
>>>       
>
>   


-- 
Vincent Daanen, PhD
Research Engineer, Post-Doctoral Position
Laboratoire TIMC/IMAG (Univ. Joseph Fourier - CNRS UMR 5525)
Equipe GMCAO
Institut d'Ingénierie de l'Information de Santé (IN3S)
Faculté de Médecine - 38706 La Tronche cedex - France
Tel: +33 (0)4 56 52 00 54 - Fax: +33 (0)4 56 52 00 55
Vincent.Daanen at imag.fr

"Les problèmes ne peuvent être résolus par
ceux dont l'horizon se limite aux réalités 
quotidiennes, mais par ceux qui rêvent de 
choses qui n'ont jamais existées et qui se 
disent : Pourquoi Pas ?"

J-F Kennedy, 1963.



More information about the CMake mailing list