[vtkusers] cmake and *.cpp
Jesse Corrington
corrington_j at hotmail.com
Tue Dec 6 16:29:36 EST 2005
I am trying to get cmake to create a project without havign to specify every
file, and I am trying to use *.cpp and *.h, but it is not working. Here is
what I am trying. It says unable to find the files. Is there a different
way of doing this.
PROJECT (MCRecon)
INCLUDE (${CMAKE_ROOT}/Modules/FindVTK.cmake)
IF (USE_VTK_FILE)
INCLUDE(${USE_VTK_FILE})
ENDIF (USE_VTK_FILE)
ADD_EXECUTABLE(MCRecon model/*.cpp model/*.h)
TARGET_LINK_LIBRARIES(MCRecon CORE_RL_Magick++_ CORE_RL_MAGICK_)
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
More information about the vtkusers
mailing list