Hi, I am trying to organise my SWIG files into a central location as there are multiple langauges that I am supporting.
I have found that introducing relative path breaks my build CMake complains that it cannot find the generated source file and that the expected location would be in "../utils" How do I tell CMake to find the *.i files in location that is not in the current directory, I am using symbolic link as a work around at the moment but want to avoid that as symlinks is not supported by SVN on Windows. --working version-- SET_SOURCE_FILES_PROPERTIES ( RIBClient.i PROPERTIES CPLUPLUS ON ) SET_SOURCE_FILES_PROPERTIES ( RIBClient.i PROPERTIES SWIG_FLAGS "-includeall" ) SWIG_ADD_MODULE ( ribclient python RIBClient.i ParameterList.cpp ) --not working version-- SET_SOURCE_FILES_PROPERTIES ( ../utils/RIBClient.i PROPERTIES CPLUPLUS ON ) SET_SOURCE_FILES_PROPERTIES ( ../utils/RIBClient.i PROPERTIES SWIG_FLAGS "-includeall" ) SWIG_ADD_MODULE ( ribclient python ../utils/RIBClient.i ParameterList.cpp ) Regards
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
