<html><div style='background-color:'><DIV class=RTE>Hi all,</DIV>
<DIV class=RTE> </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 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 I did wrong here? </DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Thanks a lot!</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Ying</DIV>
<DIV class=RTE> </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> INCLUDE(${ITK_USE_FILE})<BR>ELSE(ITK_FOUND)<BR> MESSAGE(FATAL_ERROR<BR> "Cannot build without ITK. 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> MarquardtRegistration.cxx<BR> LevenbergMarquardtOptimizer.cxx<BR> Numerical_Recipes_util.cxx<BR>)</DIV>
<DIV class=RTE>ADD_EXECUTABLE(MarquardtRegistration<BR> "${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>