[Cmake] Adding executables that use dlls
Asad A. Abu-Tarif
tarifa at rpi.edu
Wed Dec 12 08:00:41 EST 2001
Hi,
I'm trying to use CMake to build a package that I wrote.
I can generate the libraries fine. However, as soon as I
start adding executables, I start getting errors like: undefined
symbol.
For example, here is one executable I'm trying to add:
ADD_EXECUTABLE(ExecTestingPowellCompilation ExecTestingPowellCompilation.cpp
TestingPowellCompilation.cpp )
However, I should also link VTKCommon with those files because
they use it. How do I do that?
Thanks a lot,
Asad
More information about the CMake
mailing list