[Insight-users] itk application

Luis Ibanez luis.ibanez at kitware.com
Fri Jul 20 11:07:31 EDT 2007


Hi Deepak,

When building InsightApplications you *MUST* configure the directory
from the top. That is, when you pass the source directory to CMake,
you MUST give the top directory of InsightApplications.

The reason is that there are many common configuration flags set up
at the top level, so they can be shared by all the applications.

The ADD_GUI_EXECUTABLE() macro is defined in the CMakeLists.txt file
at the top level of InsightApplications.

Once you have configured the entire source tree with CMake, you can
then build only the projects that you are interested on.


Note that in Visual Studio, you still have to load the .dsw or .sln
file for the total InsightApplications, and then, from the IDE you
can select what project to build.

In Linux, you simply "cd" into the directory of the project that you
want to build, and type "make".



   Regards,


     Luis


===================
deepak kamboj wrote:
> hello
>      i am doing an project given in itk application named dicom image 
> viewer but while configuring it is showing an error i.e unknown cmake 
> *command ADD_GUI_EXECUTABLE()*
> what parameter i have to pass in this command .
> already two parameters are given in this command.
> i shall be very thankful to you for response.
> with best regards
> deepak kamboj
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list