aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Use SBK_PYTHON_INCLUDE_DIR instead of PYTHON_INCLUDE_DIRS or ↵Hugo Parente Lima2012-03-081-1/+1
| | | | | | | PYTHON_INCLUDE_PATH. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Append python name to libshiboken output fileLauro Neto2012-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | libshiboken is strongly tied to the python it was compiled against. This commit adds the python name to the output file to make this connection explicit. The generator plugin, binary and includes are untouched as they don't depend on python. Also, Instead of installing the cmake info in a single file, ShibokenConfig.cmake will load the correct file (ShibokenConfig-<python name>.cmake) based on the value of PYTHON_BASENAME when cmake is called. The last shiboken installed will be the default as each install will overwrite ShibokenConfig.cmake. To select an specific python, call cmake with -DPYTHON_BASENAME=python2.6, for python2.6 release. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Removed WITH_THREAD ifdefs, it causes a lot of warnings on Windows and was ↵Hugo Parente Lima2012-03-081-1/+0
| | | | always set by our buildsystem.
* pyenum.{h|cpp} moved to sbkenum.{h|cpp}Hugo Parente Lima2012-03-081-2/+2
|
* Shiboken generator code moved to the directory generator.Hugo Parente Lima2012-03-081-0/+8
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated ↵sb-0.5.0Renato Filho2010-09-101-16/+2
| | | | | | | files to allow multiples version installed simultaneous. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Move gilstate implementation to a sparated file.Renato Filho2010-08-251-0/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Move ThreadStateSaver implementation from the header to a cpp file.Renato Filho2010-08-251-1/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fixed shiboken library name on windows.Hugo Parente Lima2010-08-201-2/+4
| | | | | | | It's now called shiboken.dll instead of libshiboken.dll. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fixed install dir on windows.Renato Filho2010-08-201-1/+4
|
* Use CMake DEFINES to export symbols.Renato Filho2010-08-191-1/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Moved python detection to root CMakelist.Renato Filho2010-07-191-3/+0
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Use correct python library in debug mode.Renato Filho2010-07-191-12/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix cmake files used by other projects to detect Shiboken.Hugo Parente Lima2010-06-231-3/+3
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug: "Debug build fails to run the tests (doesn't work) ↵Hugo Parente Lima2010-06-211-0/+11
| | | | | | | [_Py_AddToAllObjects: Assertion (...) failed]" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Removed missing local include path for hash library.Renato Filho2010-06-181-2/+1
| | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Find installed google hash library.Renato Filho2010-06-181-1/+9
| | | | | Reviewers: Luciano Wolf <luciano.wolf@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Fix SONAME, as proposed by Didier Raboud.Hugo Parente Lima2010-05-041-1/+2
|
* Do not install all headers, just the necessary ones.Hugo Lima2010-03-301-4/+15
|
* Add SOVERSION to libshibokenHugo Lima2010-03-241-0/+1
| | | | | Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Lauro Moura <lauro.neto@openbossa.org>
* Shiboken generator and libshiboken now share the same version number.sb-0.2.0Hugo Lima2010-03-231-3/+3
| | | | | | | Version bumped to 0.2.0. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Lauro Moura <lauro.neto@openbossa.org>
* Remove duplicated definition of libshiboken_VERSION.Hugo Lima2010-03-231-1/+0
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Lauro Moura <lauro.neto@openbossa.org>
* Remove FindShiboken.cmake file in favor of ShibokenConfig and Version .cmake ↵Hugo Lima2010-02-241-8/+17
| | | | | | | | | | | files. This is the right way to go, according to: - http://www.cmake.org/pipermail/cmake/2009-April/028504.html - http://www.cmake.org/Wiki/CMake_2.6_Notes#Packages Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Implemented type discovery feature.Hugo Lima2010-01-141-0/+1
| | | | | | | | | | | | | | | The problem: - There are two class, A and B, B inherits from A. - You are inside a virtual method reimplemented in python with just one parameter of type A*. - But the object referenced by a variable of type A* is an instance of B and it was created by C++, not Python! - Shiboken needs to create a PyObject of type B, not A! This does not makes sense for C++, but does for Python, because python variables does not store type information, just values. To achieve this we use RTTI to get the real type name of a variable, then we create the PyObject using the TypeResolver infrastructure initially developed to help with signal slot problems. In other words, the TypeResolver class has been moved from libpyside to libshiboken.
* Correct install location for FindShiboken.cmakeChris Hills2009-12-071-1/+1
| | | | Reviewed by Hugo Lima <hugo.lima@openbossa.org>
* Remove -lutil from target_link_libraries. This library *must* be provided by ↵Hugo Lima2009-11-231-2/+1
| | | | | | | | | cmake. If any distro doesn't provide this by default, this is a distro bug, not a shiboken one. The other problem is that an unix/linux/gcc specific flag can't be placed here, because it doesn't makes sense on windows.
* Use google dense hash table instead of std::map in BindingManager.Hugo Lima2009-11-181-1/+2
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Removed useless file container.cpp/hHugo Lima2009-11-111-1/+0
|
* Fix install location for libshiboken pkgconfig file and remove redundant ↵Hugo Lima2009-08-281-3/+1
| | | | cmake code
* Fix lib install dirHugo Lima2009-08-271-2/+4
|
* The End Is the Beginning Is the EndMarcelo Lira2009-08-171-0/+37