Commit bcfa225d authored by saubatn's avatar saubatn
Browse files

FIXED Update CEP groups for packaging of several libraries.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@857 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 3c9212ad
......@@ -2,6 +2,12 @@ project(LML)
cmake_minimum_required(VERSION 2.6)
if (PACKAGING_NSIS)
set(LIB_NAME library_lml)
else()
set(LIB_NAME library-lml)
endif()
# Is this tool is compiled inside or outside CamiTK (as a standalone)?
if (NOT CEP_NAME STREQUAL "modeling")
# if this tool is compiled independantly from CamiTK
......@@ -68,6 +74,7 @@ if (PACKAGING_NSIS)
COMPONENT library_lml
GROUP libraries
)
else()
export_headers( ${HEADERS}
COMPONENT library-lml
......@@ -75,6 +82,12 @@ else()
)
endif()
cpack_add_component( ${LIB_NAME}
DISPLAY_NAME ${LIB_NAME}
DESCRIPTION "Tools to describes a biomechanical model."
GROUP CEP_MODELING
)
# # lib installation
# install(TARGETS lml
# ARCHIVE DESTINATION lib/${CAMITK_SHORT_VERSION_STRING}
......
......@@ -87,6 +87,12 @@ export_headers(
GROUP libraries
)
cpack_add_component( ${LIB_NAME}
DISPLAY_NAME ${LIB_NAME}
DESCRIPTION "Graphical user interface to monitor a biomechanical deformation."
GROUP CEP_MODELING
)
# lib installation
# install(TARGETS monitoringgui
# ARCHIVE DESTINATION lib/${CAMITK_SHORT_VERSION_STRING}
......
......@@ -92,11 +92,11 @@ if(MML_SOFA_SUPPORT)
${MML_SOFA_DIR}/include/framework ${MML_SOFA_DIR}/include/extlibs/miniBoost )
if(MML_GENERATE_GUI)
set(sofa_MOC_SRCS
simulator/simulators/Sofa/SofaWidget.h
simulator/simulators/Sofa/SofaWidget.h
)
set(sofa_UIS
simulator/simulators/Sofa/SofaWidget.ui
simulator/simulators/Sofa/SofaWidget.ui
)
qt4_wrap_ui(sofa_UIS_H ${sofa_UIS})
......@@ -137,11 +137,11 @@ if(EXISTS ${MML_ANSYS_WORKING_DIR})
if(MML_GENERATE_GUI)
set(ansys_MOC_SRCS
simulator/simulators/Ansys/AnsysWidget.h
simulator/simulators/Ansys/AnsysWidget.h
)
set(ansys_UIS
simulator/simulators/Ansys/AnsysWidget.ui
simulator/simulators/Ansys/AnsysWidget.ui
)
qt4_wrap_ui(ansys_UIS_H ${ansys_UIS})
......@@ -203,8 +203,8 @@ endif(EXISTS ${MML_ARTISYNTH_BIN})
if(MML_GENERATE_GUI)
set(MML_MOC_SRCS
simulator/SimulatorWidget.h
tools/Xmlhighlighter.h
simulator/SimulatorWidget.h
tools/Xmlhighlighter.h
)
qt4_wrap_cpp(MML_MOCS ${MML_MOC_SRCS})
set(MML_QT_SRC
......@@ -581,3 +581,9 @@ export_headers(
# ARCHIVE DESTINATION lib/${CAMITK_SHORT_VERSION_STRING}
# COMPONENT monitoring
# )
cpack_add_component( ${LIB_NAME}
DISPLAY_NAME ${LIB_NAME}
DESCRIPTION "Tools to monitor a biomechanical deformation."
GROUP CEP_MODELING
)
......@@ -60,3 +60,9 @@ export_headers( ${monitoringLib_H}
# ARCHIVE DESTINATION lib/${CAMITK_SHORT_VERSION_STRING}
# COMPONENT mml
# )
cpack_add_component( ${LIB_NAME}
DISPLAY_NAME ${LIB_NAME}
DESCRIPTION "Tools to describes a biomechanical model."
GROUP CEP_MODELING
)
......@@ -2,6 +2,12 @@ project(PML)
cmake_minimum_required(VERSION 2.6)
if (PACKAGING_NSIS)
set(LIB_NAME library_pml)
else()
set(LIB_NAME library-pml)
endif()
# Is this tool is compiled inside or outside CAMITK (as a standalone)?
if (NOT CEP_NAME STREQUAL "modeling")
# if this tool is compiled independantly from CamiTK
......@@ -80,16 +86,23 @@ add_subdirectory(tools)
#--------------
if (PACKAGING_NSIS)
export_headers( ${HEADERS}
COMPONENT library_pml
COMPONENT ${LIB_NAME}
GROUP libraries
)
else()
export_headers( ${HEADERS}
COMPONENT library-pml
COMPONENT ${LIB_NAME}
GROUP libraries
)
endif()
cpack_add_component( ${LIB_NAME}
DISPLAY_NAME ${LIB_NAME}
DESCRIPTION "Tools to describes a biomechanical model."
GROUP CEP_MODELING
)
# lib installation
# install(TARGETS pml
......
......@@ -2,6 +2,12 @@ project(qcustomplot)
cmake_minimum_required(VERSION 2.6)
if (PACKAGING_NSIS)
set(LIB_NAME library_qcustomplot)
else()
set(LIB_NAME library-qcustomplot)
endif()
# Qt is required
find_package(Qt4 REQUIRED)
include(${QT_USE_FILE})
......@@ -43,7 +49,7 @@ file(GLOB HEADERS_UPPERCASE "src/Qt*")
# installation
#--------------
export_headers(${CUSTOM_PLOT_HEADERS}
COMPONENT qcustomplot
COMPONENT ${LIB_NAME}
GROUP libraries
)
......@@ -55,7 +61,11 @@ export_headers(${CUSTOM_PLOT_HEADERS}
# COMPONENT qcustomplot
# )
cpack_add_component( ${LIB_NAME}
DISPLAY_NAME ${LIB_NAME}
DESCRIPTION "Tool to draw dots (plots) in a Qt interface."
GROUP CEP_MODELING
)
......@@ -52,8 +52,10 @@ export_headers(${XSD_H}
# COMPONENT coreschema
# )
cpack_add_component( coreschema
DISPLAY_NAME coreschema
cpack_add_component( ${LIB_NAME}
DISPLAY_NAME ${LIB_NAME}
DESCRIPTION "Allows data-binding in XML of core basic classes. Required by the application wizard for instance."
REQUIRED
GROUP SDK
)
\ No newline at end of file
)
\ No newline at end of file
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