PyWrap target no longer always out of date.
PyWrap target no longer always out of date.

CMake custom targets are always out of date. By pairing a custom target with a custom command, it is possible to effectively have a custom target that can be up-to-date. This is preferable, since SWIG can take a while to run. Often, I'll run make, then make install immediately after. In such cases, the SWIG/PyWrap target would build twice, even though none of the input files changed.


git-svn-id: 9e047e1e624cce0a2485e750063112e834f85522@8522 fc29be9c-2cb0-420d-b520-73dbd18add6e

opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core