[Insight-users] [CMake] cannot include txx files using CMake

Bill Hoffman bill.hoffman at kitware.com
Wed Oct 20 14:00:57 EDT 2010


On 10/20/2010 1:55 PM, Prathamesh Kulkarni wrote:
> I do not understand why I am having errors for only .txx files and not
> for .cpp files placed in the same common folder. Any help would be
> highly appreciated. Right now, I am forced to paste common the files in
> all the project folders where ever they are required.
>

.txx files are just like .h files they get used by #include.  You are 
not setting the include_directories correctly so it is not able to find 
them.

How are you setting up to build with ITK?

-Bill


More information about the Insight-users mailing list