Dear CMake-users,<br><br>I have been modifying one of the libraries of ITK for including it in my project, but I have found a problem because the CMake doesn't create the file .lib, so I cannot build the project using the Visual Studio 2005 without any error. In the souce project of my folder, I have a subfolder called: Library which contains the .txx and .h files.<br> <br><br>PROJECT(myProject)<br><br>FIND_PACKAGE(ITK)<br>IF(ITK_FOUND)<br>&nbsp; INCLUDE(${USE_ITK_FILE})<br>ENDIF(ITK_FOUND)<br><br>INCLUDE_DIRECTORIES(${myProject<div id="1fh5" class="ArwC7c ckChnd"><wbr>_SOURCE_DIR}/Library) <br><br>LINK_DIRECTORIES (${myProject_BINARY_DIR}<wbr>/Library)<br> <br>ADD_LIBRARY (myfunctions Library/itkBinaryBallStructurin<wbr>gElement_modified.txx)<br><br>SET_TARGET_PROPERTIES(myfunctio<wbr>ns PROPERTIES LINKER_LANGUAGE C) <br>//without the previous line I obtained the following error in the CMake: CMake cannot determine linker language for target<br> <br>ADD_EXECUTABLE
 (myProject myProject.cxx)<br><br>TARGET_LINK_LIBRARIES (myProject ITKCommon ITKIO myfunctions )<br><br>Thanks in advance for your help<br>Best regards<br><font color="#888888">Irene</font></div><p>&#32;
      <hr size=1><br><font face="Verdana" size="-2">Enviado desde Correo Yahoo!<br><a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52431/*http://es.docs.yahoo.com/mail/overview/index.html">Disfruta de una bandeja de entrada más inteligente.</a>.<br></font>