[CMake] Make-ing specific target in a SWIG module

David Cole david.cole at kitware.com
Wed Dec 22 11:35:20 EST 2010


If you make "TriUtilsPYTHON_wrap.o" it should generate the .cpp file first,
and then compile it...


On Wed, Dec 22, 2010 at 11:25 AM, Bill Spotz <wfspotz at sandia.gov> wrote:

> On Dec 22, 2010, at 7:51 AM, Bill Hoffman wrote:
>
> > Does this work:
> > cd BUILD/packages/PyTrilinos
> > make TriUtilsPYTHON_wrap.cpp
>
> No, not in BUILD/packages/PyTrilinos nor in BUILD/packages/PyTrilinos/src.
>
> > Also, you can type:
> >
> >  make help
> >
> > in various directories to find all the available targets in a given
> > directory.
>
> The closest I get is in BUILD/packages/PyTrilinos/src:
>
>  $ make help
>  The following are some of the valid targets for this Makefile:
>  ... all (the default if no target is provided)
>  ... < a whole bunch of stuff >
>  ... TriUtilsPYTHON_wrap.o
>  ... TriUtilsPYTHON_wrap.i
>  ... TriUtilsPYTHON_wrap.s
>
> but none of those targets turn out to be what I want.
>
> ** Bill Spotz                                              **
> ** Sandia National Laboratories  Voice: (505)845-0170      **
> ** P.O. Box 5800                 Fax:   (505)284-0154      **
> ** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101222/82c06380/attachment.htm>


More information about the CMake mailing list