[vtkusers] Building executables - CMake - VTK

Ravi Gupta rgupta at imaging.robarts.ca
Thu Apr 10 11:34:13 EDT 2003


Hi,

I am trying to build my own executables for vtk. I can build the .o 
files fine but I can't get the cmake build process to build my executable.

I added

ADD_EXECUTABLE(dwt ${DWT_SRCS})

to the CMakeLists.txt file.

I looked at the testing and examples directories and their CMakeList.txt 
files but can't see what they did different.

I can cd /DWT after the build
cc -o dwt abc.o xyz.o

works file.

UNIX SunOS 5.8
c++

Any help would be appreciated.

Ravi

-- 
Ravi Gupta

Programmer

###################################################
Robarts Research - Imaging	  | 100 Perth Drive
Tel: (519) 663-5777 ext. 1-34077  | London, Ontario
Fax: (519) 663-3403		  | N6A 5K8
E-Mail: rgupta at imaging.robarts.ca | Canada 
###################################################

###################################################
http://www.imaging.robarts.ca/
http://www.imaging.robarts.ca/coders	 
http://www.imaging.robarts.ca/~rgupta
###################################################

"Be the change you wish to see in the world."
-Mohandas Karamchand Gandhi





More information about the vtkusers mailing list