pyside / BuildScripts

Build scripts for building PySide from the Git repositories. Supports several Desktop Linux distributions, MeeGo Netbook and Mac OS X. Patches to support other distrubutions/systems welcome.
41 stars 12 forks source link

shiboken build bug #12

Open ezralanglois opened 11 years ago

ezralanglois commented 11 years ago

For Mac and Linux, the build scripts try to create an executable called shiboken in a directory which contains a subdirectory called shiboken.

To fix this do the following:

In shiboken-1.1.2/generator/

Renamed directory from shiboken to shiboken2

Updated with the following shiboken-1.1.2/generator/CMakeLists.txt

set(shiboken_SRC generator.cpp shiboken2/cppgenerator.cpp shiboken2/headergenerator.cpp shiboken2/overloaddata.cpp shiboken2/shibokengenerator.cpp shiboken2/shibokennormalize.cpp main.cpp )

if (NOT DISABLE_DOCSTRINGS) set(shiboken_SRC ${shiboken_SRC} qtdoc/qtdocgenerator.cpp) add_definitions(-DDOCSTRINGS_ENABLED) endif()

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/shiboken2