2009/5/25 Roland Waltersson <[email protected]>: > Hi I have a small sample project in Eclipse. cmake generates it fine > and it builds fine, but i can't see any source code files in the > project browser. This is my CMakeLists.txt file: > > cmake_minimum_required(VERSION 2.6) > project(WINCABase) > add_library(WINCABase constants.hpp exception.hpp version.hpp headersonly.cpp) > > And all the source codes are in the same directory as the > CMakeLists.txt file. I must be missing something trivial here?
You should have linked ressource to the source folder (unless you are building in-source). Did you read the Wiki about the Eclipse CDT generator? http://www.vtk.org/Wiki/Eclipse_CDT4_Generator By the way Are you building in-source or out-of-source? http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees > By the > way I use Eclipse CDT 5 (Ganymede), but it should be backwards > comaptible right? Thanks! I'm using CDT5/Ganymede with CMake 2.6.3 CDT generator without trouble. -- Erk _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
