Commit b94ab7b0 authored by Jan Möbius's avatar Jan Möbius

Updated cmakelists

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9314 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 241f68dc
......@@ -34,19 +34,32 @@ if (NOT GLUT_FOUND)
message (FATAL_ERROR "GLUT not found!")
endif ()
# start with an empty plugin list
acg_set (OPENFLIPPER_PLUGINS "")
# add the basic componenets
# ========================================================================
# Core Components
# ========================================================================
add_subdirectory (OpenMesh/src/OpenMesh/Core)
add_subdirectory (OpenMesh/src/OpenMesh/Tools)
add_subdirectory (ACG)
add_subdirectory (OpenFlipper/PluginLib)
add_subdirectory (OpenFlipper/CoreApp)
# ========================================================================
# Documentation generators
# ========================================================================
# Create dirs to make doxygen happy
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc )
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Help )
# Add the deocumentation targets
add_subdirectory (OpenFlipper/Documentation/DeveloperTarget)
add_subdirectory (OpenFlipper/Documentation/UserTarget)
# ========================================================================
# Build all additional libraries
# ========================================================================
# search all libs in the libs directory
file (
GLOB _local_libs_in
......@@ -60,9 +73,20 @@ foreach (_localLib ${_local_libs_in})
add_subdirectory (${CMAKE_SOURCE_DIR}/${_local_lib_dir})
endforeach ()
# ========================================================================
# Plugins
# ========================================================================
# start with an empty plugin list
acg_set (OPENFLIPPER_PLUGINS "")
# add plugins
of_add_plugins ()
# ========================================================================
# Bundle generation
# ========================================================================
if (WIN32 )
# prepare bundle generation cmake file and add a build target for it
configure_file ("${CMAKE_SOURCE_DIR}/OpenFlipper/cmake/fixbundle.cmake.win.in"
......@@ -92,6 +116,11 @@ if (APPLE)
USE_SOURCE_PERMISSIONS)
endif ()
# ========================================================================
# Output log information
# ========================================================================
# display results
acg_print_configure_header (OPENFLIPPER "OpenFlipper")
of_print_plugin_stats ()
......
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