<html><div style='background-color:'><DIV class=RTE>Hi all,</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>I am trying to build an application based on ITK. There are a few .cxx, .h, .txx files written by myself. I wrote a CMakeLists.txt file and tried to generate a workspace of MS VC 6.0 on a Windows XP&nbsp;machine by using CMakeSetup. But the configuration failed and the error messages said that could not find those .cxx files in the directory that I specified. I am new on writing the CMakeLists.txt file, I attached my "CMakeLists.txt" in the following, could any expert please give me some advice on what&nbsp;I did&nbsp;wrong here? </DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Thanks a lot!</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Ying</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>PROJECT( MarquardtRegistration )</DIV>
<DIV class=RTE>INCLUDE_REGULAR_EXPRESSION(".*")</DIV>
<DIV class=RTE>FIND_PACKAGE(ITK)<BR>IF(ITK_FOUND)<BR>&nbsp; INCLUDE(${ITK_USE_FILE})<BR>ELSE(ITK_FOUND)<BR>&nbsp; MESSAGE(FATAL_ERROR<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Cannot build without ITK.&nbsp; Please set ITK_DIR.")<BR>ENDIF(ITK_FOUND)</DIV>
<DIV class=RTE>INCLUDE_DIRECTORIES(<BR>${MarquardtRegistration_SOURCE_DIR}<BR>${MarquardtRegistration_BINARY_DIR}<BR>)</DIV>
<DIV class=RTE>SET(MarquardtRegistration_SRCS<BR>&nbsp; MarquardtRegistration.cxx<BR>&nbsp; LevenbergMarquardtOptimizer.cxx<BR>&nbsp; Numerical_Recipes_util.cxx<BR>)</DIV>
<DIV class=RTE>ADD_EXECUTABLE(MarquardtRegistration<BR>&nbsp; "${MarquardtRegistration_SRCS}")</DIV>
<DIV class=RTE>TARGET_LINK_LIBRARIES(MarquardtRegistration ITKNumerics ITKBasicFilters ITKIO)</DIV></div><br clear=all><hr>Tired of spam? Get <a href="http://g.msn.com/8HMAEN/2734??PS=47575">advanced junk mail protection</a> with MSN 8.</html>