[Insight-users] piloo at unc.edu
Bill Hoffman
bill.hoffman at kitware.com
Thu Nov 15 12:02:45 EST 2001
I think this has been done.
You can create MFC apps in cmake like this:
# add stuff to use MFC in this executable
ADD_DEFINITIONS(-D_AFXDLL)
SET(CMAKE_MFC_FLAG 6)
ADD_EXECUTABLE(CMakeSetup WIN32 SRCS)
One trick is that your should include itk files first.
Perhaps if you described the trouble you were having in some more detail,
we could give a better answer.
-Bill
At 11:30 AM 11/15/2001 -0500, Jean-Philippe Guyon wrote:
>Hi,
>
>it looks like there is no way to compile a code using both itk and mfc, and
>unfortunately, I need both. So I would just like to know if anyone could
>help.
>That would be great if you had a tip :))
>
>thank you,
>
>Jean-Philippe Guyon.
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users
More information about the Insight-users
mailing list