Commit 9beac898 authored by Jan Möbius's avatar Jan Möbius
Browse files

Includes per Object Type

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7411 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 47b5bdd2
include (ACGCommon) include (ACGCommon)
set ( ADDITIONAL_PLUGINLIB_LIBS "")
set ( ADDITIONAL_PLUGINLIB_INCS "")
# search all ObjectTypes in the ObjectType directory for additional build information
file (
GLOB _plugin_buildinfos
RELATIVE "${CMAKE_SOURCE_DIR}"
"${CMAKE_SOURCE_DIR}/ObjectTypes/*/CMakeLists.txt"
)
# include all cmake files fouund for objecttypes here
foreach ( _buildInfo ${_plugin_buildinfos})
include ("${CMAKE_SOURCE_DIR}/${_buildInfo}")
endforeach ()
include_directories ( include_directories (
.. ..
${CMAKE_SOURCE_DIR}/OpenMesh/src ${CMAKE_SOURCE_DIR}/OpenMesh/src
...@@ -9,6 +25,7 @@ include_directories ( ...@@ -9,6 +25,7 @@ include_directories (
${OPENGL_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR}
${GLEW_INCLUDE_DIR} ${GLEW_INCLUDE_DIR}
${GLUT_INCLUDE_DIR} ${GLUT_INCLUDE_DIR}
${ADDITIONAL_PLUGINLIB_INCS}
) )
link_directories ( link_directories (
...@@ -47,20 +64,6 @@ acg_append_files (ui "*.ui" ${directories}) ...@@ -47,20 +64,6 @@ acg_append_files (ui "*.ui" ${directories})
acg_append_files_recursive (headers "*.hh" ${CMAKE_SOURCE_DIR}/ObjectTypes) acg_append_files_recursive (headers "*.hh" ${CMAKE_SOURCE_DIR}/ObjectTypes)
acg_append_files_recursive (sources "*.cc" ${CMAKE_SOURCE_DIR}/ObjectTypes) acg_append_files_recursive (sources "*.cc" ${CMAKE_SOURCE_DIR}/ObjectTypes)
set ( ADDITIONAL_PLUGINLIB_LIBS "")
# search all ObjectTypes in the ObjectType directory for additional build information
file (
GLOB _plugin_buildinfos
RELATIVE "${CMAKE_SOURCE_DIR}"
"${CMAKE_SOURCE_DIR}/ObjectTypes/*/CMakeLists.txt"
)
# include all cmake files fouund for objecttypes here
foreach ( _buildInfo ${_plugin_buildinfos})
include ("${CMAKE_SOURCE_DIR}/${_buildInfo}")
endforeach ()
# remove template cc files from source file list # remove template cc files from source file list
acg_drop_templates (sources) acg_drop_templates (sources)
......
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