[Insight-users] MFC
Luis Ibanez
luis . ibanez at kitware . com
Wed, 12 Nov 2003 23:05:34 -0500
Hi Thimmaiah,
You simply need to add the "WIN32" modifier
to the ADD_EXECUTABLE command. It should
look like
ADD_EXECUTABLE( myExecutable WIN32 source1.cxx source2.cxx )
You will find details about this modified in the CMake.pdf
document distributed with CMake's source code and in the
book "Mastering CMake"
Regards,
Luis
-----------------------------
Thimmaiah, Sandhya wrote:
> Hi,
> When I execute my MFC application it runs good. But when I use cmake it
> goes to command prompt. If I run from command prompt also it gives me this
> error. when I give exe file I get this message "failed to create empty
> document". My application just reads a file name using MFC. Sorry to mail
> about MFC & Cmake here but I am trying to integrate this with itk.Thank you
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk . org
> http://www . itk . org/mailman/listinfo/insight-users
>