I've been reading through the thread on Eclipse CDT and CMake and have a couple questions.
I have installed the eclipse plugin from http://www.cthing.com/CMakeEd.asp It color codes the CMakeLists.txt file, not sure what else it does, as it did not have any documentation I could see and there is no help or faq on their website. I ran through the instructions on the wiki: http://paraview.org/Wiki/CMake:Eclipse and was not clear on a couple of points. First of all, the example refers to a helloworld.cpp file, which does not exist by default... perhaps it needs to be added to the wiki? I could use eclipse to generate a class file named helloworld but I am not sure if the example needs any particular code. the example also shows a CMakeLists.txt file which also does not exist. What would go into it? Moving on and guessing about where I could go from here, I then downloaded the example code from http://www.cmake.org/HTML/Examples.html and dropped it into my new project, and did an eclipse "build all". It did a build, and generated some files, but did not make the executable output that I expected. before running the cmake, the file structure was: CMakeLists.txt Demo/demo.cxx Demo/demo_b.cxx Demo/CMakeLists.txt Hello/hello.cxx Hello/hello.h Hello/CMakeLists.txt Build after, the following files got put into the build dir: CMakeLists.txt Build Demo/demo.cxx Demo/demo_b.cxx Demo/CMakeLists.txt Hello/hello.cxx Hello/hello.h Hello/CMakeLists.txt CMakeCache.txt Makefile cmake_install.cmake Demo/Makefile Demo/cmake_install.cmake Demo/CMakeFiles/progress.make Demo/CMakeFiles/CMakeDirectoryInformation.cmake Demo/CMakeFiles/helloDemo.dir/cmake_clean.cmake Demo/CMakeFiles/helloDemo.dir/flags.make Demo/CMakeFiles/helloDemo.dir/build.make Demo/CMakeFiles/helloDemo.dir/DependInfo.cmake Demo/CMakeFiles/helloDemo.dir/cmake_clean_target.cmake Demo/CMakeFiles/helloDemo.dir/depend.make Demo/CMakeFiles/helloDemo.dir/progress.make Hello/Makefile Hello/cmake_install.cmake Hello/CMakeFiles/progress.make Hello/CMakeFiles/CMakeDirectoryInformation.cmake Hello/CMakeFiles/Hello.dir/cmake_clean.cmake Hello/CMakeFiles/Hello.dir/flags.make Hello/CMakeFiles/Hello.dir/build.make Hello/CMakeFiles/Hello.dir/DependInfo.cmake Hello/CMakeFiles/Hello.dir/cmake_clean_target.cmake Hello/CMakeFiles/Hello.dir/depend.make Hello/CMakeFiles/Hello.dir/link.txt Hello/CMakeFiles/Hello.dir/progress.make CMakeFiles/CMakeTmp/CMakeFiles/cmTryCompileExec.dirCMakeFiles/Makefile.cmake CMakeFiles/CMakeOutput.log CMakeFiles/cmake.check_cache CMakeFiles/CMakeSystem.cmake CMakeFiles/Makefile2 CMakeFiles/CMakeCCompiler.cmake CMakeFiles/CMakeCXXCompiler.cmake CMakeFiles/progress.make CMakeFiles/CMakeDirectoryInformation.cmake ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ WARNING: This email and any attachments may be confidential and/or privileged. They are intended for the addressee only and are not to be read, used, copied or disseminated by anyone receiving them in error. If you are not the intended recipient, please notify the sender by return email and delete this message and any attachments. The views expressed in this email are those of the sender and do not necessarily reflect the official views of Landcare Research. SirTrack http://www.sirtrack.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake