<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
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). <BR>
<BR>
But I have blank space in ${PYTHON_LIBRARIES} and this cause a error in my vcproj. Ex.<BR>
<BR>
If ${PYTHON_LIBRARIES} = "C:\arquivos de programas\fernando_luz\teste\libteste.lib"<BR>
<BR>
in vcproj, the list of libraries became<BR>
<BR>
"C:\arquivos <BR>
de <BR>
programas\fernando_luz\teste\libteste.lib"<BR>
<BR>
in other words, I have 3 libs...<BR>
<BR>
I looked in mail list and I tried split the path and name of python_libraries, but I don't have success... I tried <BR>
<BR>
SET_TARGET_PROPERTIES( target PROPERTIES LINK_FLAGS "/LIBPATH:"C:\arquivos de programas\fernando_luz\teste\" )
<PRE>
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
</PRE>
</BODY>
</HTML>