Hi,

I need to use a mix with SWIG and Python in a windows environment. I
used SWIG_LINK_LIBRARIES( blabla ${PYTHON_LIBRARIES}) where
${PYTHON_LIBRARIES} I get using FindPackage(PythonLibs). 

But I have  blank space in ${PYTHON_LIBRARIES} and this cause a error in
my vcproj. Ex.

If ${PYTHON_LIBRARIES} = "C:\arquivos de programas\fernando_luz\teste
\libteste.lib"

in vcproj, the list of libraries became

"C:\arquivos 
de 
programas\fernando_luz\teste\libteste.lib"

in other words, I have 3 libs...

I looked in mail list and I tried split the path and name of
python_libraries, but I don't have success... I tried 

SET_TARGET_PROPERTIES( target PROPERTIES LINK_FLAGS "/LIBPATH:"C:
\arquivos de programas\fernando_luz\teste\" )


But I don't know who is my target, I tried _teste (because this is the name of 
vcproj 
created) but it's don't work.

Thanks in advanced

Fernando Luz


_______________________________________________
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

Reply via email to