Commit 67f2fd6a authored by saubatn's avatar saubatn

FIXED Missing actions/mesh subdirectories.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1202 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 1f104974
......@@ -7,3 +7,10 @@
set(SHIBOKEN_TYPESYSTEM_PATH ${SHIBOKEN_TYPESYSTEM_PATH}:${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "")
set(SHIBOKEN_GLOBAL_H_PATH ${SHIBOKEN_GLOBAL_H_PATH}:${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "")
# find mesh component
get_subdirectories(MESHCOMP_LIST)
# Add subdirectories in CMake project
foreach(MESHCOMP_NAME ${MESHCOMP_LIST})
add_subdirectory(${MESHCOMP_NAME})
endforeach()
#---------------------------------------------------------------------------------
#
# Recursively parse subdirectories for classes to expose
#
#---------------------------------------------------------------------------------
# Shiboken PATH to look for typesystem.xml adn global.h files, recursively udapted
set(SHIBOKEN_TYPESYSTEM_PATH ${SHIBOKEN_TYPESYSTEM_PATH}:${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "")
set(SHIBOKEN_GLOBAL_H_PATH ${SHIBOKEN_GLOBAL_H_PATH}:${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "")
<?xml version="1.0"?>
<typesystem>
<!-- CamiTK sdk classes exposition to Python -->
<object-type name="ApplicationActionExtension" />
</typesystem>
#---------------------------------------------------------------------------------
#
# Recursively parse subdirectories for classes to expose
#
#---------------------------------------------------------------------------------
# Shiboken PATH to look for typesystem.xml adn global.h files, recursively udapted
set(SHIBOKEN_TYPESYSTEM_PATH ${SHIBOKEN_TYPESYSTEM_PATH}:${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "")
set(SHIBOKEN_GLOBAL_H_PATH ${SHIBOKEN_GLOBAL_H_PATH}:${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "")
<?xml version="1.0"?>
<typesystem>
<!-- CamiTK sdk classes exposition to Python -->
<object-type name="ApplicationActionExtension" />
</typesystem>
// subdirectories header files
#include "./basicmesh/global_sdk_actions_mesh_basicmesh.h"
#include "./basictopology/global_sdk_actions_mesh_basictopology.h"
#include "./meshprocessing/global_sdk_actions_mesh_meshprocessing.h"
// local header files
#---------------------------------------------------------------------------------
#
# Recursively parse subdirectories for classes to expose
#
#---------------------------------------------------------------------------------
# Shiboken PATH to look for typesystem.xml adn global.h files, recursively udapted
set(SHIBOKEN_TYPESYSTEM_PATH ${SHIBOKEN_TYPESYSTEM_PATH}:${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "")
set(SHIBOKEN_GLOBAL_H_PATH ${SHIBOKEN_GLOBAL_H_PATH}:${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "")
<?xml version="1.0"?>
<typesystem>
<!-- CamiTK sdk classes exposition to Python -->
</typesystem>
<?xml version="1.0"?>
<typesystem>
<!-- CamiTK actions subdirectories typesystem files -->
<load-typesystem name="typesystem_sdk_actions_mesh_basicmesh.xml" generate="yes" />
<load-typesystem name="typesystem_sdk_actions_mesh_basictopology.xml" generate="yes" />
<load-typesystem name="typesystem_sdk_actions_mesh_meshprocessing.xml" generate="yes" />
<!-- CamiTK sdk classes exposition to Python -->
</typesystem>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment