Arborescence de la nouvelle version de mo
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1638 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
de1c727ca7
commit
25c45dd1fa
9 changed files with 2852 additions and 0 deletions
41
branches/newMo/CMakeLists.txt
Normal file
41
branches/newMo/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
||||||
|
|
||||||
|
##########################################################################################################################################
|
||||||
|
### 0) If you want to set your own variables in mo-conf.cmake and avoid the cmd line
|
||||||
|
##########################################################################################################################################
|
||||||
|
|
||||||
|
INCLUDE(mo-conf.cmake OPTIONAL)
|
||||||
|
|
||||||
|
##########################################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
##########################################################################################################################################
|
||||||
|
### 1) Project properties
|
||||||
|
##########################################################################################################################################
|
||||||
|
|
||||||
|
# set the project name
|
||||||
|
PROJECT(ParadisEO-MO)
|
||||||
|
|
||||||
|
SET(PACKAGE_BUGREPORT "paradiseo-help@lists.gforge.inria.fr" CACHE STRING "Package bug report" FORCE)
|
||||||
|
SET(PACKAGE_NAME "ParadisEO-MO - Moving Objects" CACHE STRING "Package name" FORCE)
|
||||||
|
SET(PACKAGE_STRING "ParadisEO-MO 1.2" CACHE STRING "MO Package string full name" FORCE)
|
||||||
|
SET(PACKAGE_VERSION "1.2" CACHE STRING "Package version" FORCE)
|
||||||
|
SET(GLOBAL_VERSION "1.2" CACHE STRING "Global version" FORCE)
|
||||||
|
SET(VERSION "1.2" CACHE STRING "Version" FORCE)
|
||||||
|
##########################################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
##########################################################################################################################################
|
||||||
|
### 2) Include the common CMake configuration
|
||||||
|
##########################################################################################################################################
|
||||||
|
|
||||||
|
# The "config" variable must be provided on the command line
|
||||||
|
IF(NOT DEFINED config OR NOT config)
|
||||||
|
MESSAGE(FATAL_ERROR "The \"config\" variable must be set on the command line to
|
||||||
|
give the path of the install configuration file. ")
|
||||||
|
ENDIF(NOT DEFINED config OR NOT config)
|
||||||
|
|
||||||
|
# Need the config file whose full path is given thanks to the "config" variable
|
||||||
|
INCLUDE(${config})
|
||||||
|
##########################################################################################################################################
|
||||||
|
|
||||||
7
branches/newMo/CTestConfig.cmake
Normal file
7
branches/newMo/CTestConfig.cmake
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
set(CTEST_PROJECT_NAME "ParadisEO")
|
||||||
|
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
|
||||||
|
|
||||||
|
set(CTEST_DROP_METHOD "http")
|
||||||
|
set(CTEST_DROP_SITE "cdash.inria.fr")
|
||||||
|
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=ParadisEO")
|
||||||
|
set(CTEST_DROP_SITE_CDASH TRUE)
|
||||||
26
branches/newMo/doc/CMakeLists.txt
Executable file
26
branches/newMo/doc/CMakeLists.txt
Executable file
|
|
@ -0,0 +1,26 @@
|
||||||
|
|
||||||
|
##########################################################################################
|
||||||
|
### MO Doc generation using Doxygen
|
||||||
|
##########################################################################################
|
||||||
|
|
||||||
|
IF (DOXYGEN_FOUND)
|
||||||
|
|
||||||
|
SET(DOC_DIR ${CMAKE_BINARY_DIR}/doc CACHE PATH "MO documentation directory")
|
||||||
|
SET(MO_DOC_CONFIG_FILE "mo.doxyfile" CACHE PATH "MO documentation configuration file")
|
||||||
|
# define the doc target
|
||||||
|
IF (DOXYGEN_EXECUTABLE)
|
||||||
|
ADD_CUSTOM_TARGET(doc
|
||||||
|
COMMAND ${DOXYGEN_EXECUTABLE} ${MO_DOC_CONFIG_FILE}
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
)
|
||||||
|
ENDIF (DOXYGEN_EXECUTABLE)
|
||||||
|
|
||||||
|
# configure doxyfile file
|
||||||
|
CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/doc/${MO_DOC_CONFIG_FILE}.cmake"
|
||||||
|
"${CMAKE_BINARY_DIR}/doc/${MO_DOC_CONFIG_FILE}")
|
||||||
|
|
||||||
|
ELSE (DOXYGEN_FOUND)
|
||||||
|
MESSAGE(STATUS "Unable to generate the documentation, Doxygen package not found")
|
||||||
|
ENDIF (DOXYGEN_FOUND)
|
||||||
|
|
||||||
|
##########################################################################################
|
||||||
1261
branches/newMo/doc/mo.doxyfile.cmake
Normal file
1261
branches/newMo/doc/mo.doxyfile.cmake
Normal file
File diff suppressed because it is too large
Load diff
1367
branches/newMo/doc/mo.doxytag
Normal file
1367
branches/newMo/doc/mo.doxytag
Normal file
File diff suppressed because it is too large
Load diff
3
branches/newMo/src/CMakeLists.txt
Normal file
3
branches/newMo/src/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
###############################################################
|
||||||
|
# This is a dummy file
|
||||||
|
###############################################################
|
||||||
41
branches/newMo/src/mo
Executable file
41
branches/newMo/src/mo
Executable file
|
|
@ -0,0 +1,41 @@
|
||||||
|
/*
|
||||||
|
<mo>
|
||||||
|
Copyright (C) DOLPHIN Project-Team, INRIA Futurs, 2006-2008
|
||||||
|
(C) OPAC Team, LIFL, 2002-2008
|
||||||
|
|
||||||
|
Sébastien Cahon, Jean-Charles Boisson (Jean-Charles.Boisson@lifl.fr)
|
||||||
|
|
||||||
|
This software is governed by the CeCILL license under French law and
|
||||||
|
abiding by the rules of distribution of free software. You can use,
|
||||||
|
modify and/ or redistribute the software under the terms of the CeCILL
|
||||||
|
license as circulated by CEA, CNRS and INRIA at the following URL
|
||||||
|
"http://www.cecill.info".
|
||||||
|
|
||||||
|
As a counterpart to the access to the source code and rights to copy,
|
||||||
|
modify and redistribute granted by the license, users are provided only
|
||||||
|
with a limited warranty and the software's author, the holder of the
|
||||||
|
economic rights, and the successive licensors have only limited liability.
|
||||||
|
|
||||||
|
In this respect, the user's attention is drawn to the risks associated
|
||||||
|
with loading, using, modifying and/or developing or reproducing the
|
||||||
|
software by the user in light of its specific status of free software,
|
||||||
|
that may mean that it is complicated to manipulate, and that also
|
||||||
|
therefore means that it is reserved for developers and experienced
|
||||||
|
professionals having in-depth computer knowledge. Users are therefore
|
||||||
|
encouraged to load and test the software's suitability as regards their
|
||||||
|
requirements in conditions enabling the security of their systems and/or
|
||||||
|
data to be ensured and, more generally, to use and operate it in the
|
||||||
|
same conditions as regards security.
|
||||||
|
The fact that you are presently reading this means that you have had
|
||||||
|
knowledge of the CeCILL license and that you accept its terms.
|
||||||
|
|
||||||
|
ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
||||||
|
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __mo
|
||||||
|
#define __mo
|
||||||
|
|
||||||
|
#include "mo.h"
|
||||||
|
|
||||||
|
#endif
|
||||||
41
branches/newMo/src/mo.h
Executable file
41
branches/newMo/src/mo.h
Executable file
|
|
@ -0,0 +1,41 @@
|
||||||
|
/*
|
||||||
|
<mo.h>
|
||||||
|
Copyright (C) DOLPHIN Project-Team, INRIA Futurs, 2006-2007
|
||||||
|
(C) OPAC Team, LIFL, 2002-2007
|
||||||
|
|
||||||
|
Sébastien Cahon, Jean-Charles Boisson (Jean-Charles.Boisson@lifl.fr)
|
||||||
|
|
||||||
|
This software is governed by the CeCILL license under French law and
|
||||||
|
abiding by the rules of distribution of free software. You can use,
|
||||||
|
modify and/ or redistribute the software under the terms of the CeCILL
|
||||||
|
license as circulated by CEA, CNRS and INRIA at the following URL
|
||||||
|
"http://www.cecill.info".
|
||||||
|
|
||||||
|
As a counterpart to the access to the source code and rights to copy,
|
||||||
|
modify and redistribute granted by the license, users are provided only
|
||||||
|
with a limited warranty and the software's author, the holder of the
|
||||||
|
economic rights, and the successive licensors have only limited liability.
|
||||||
|
|
||||||
|
In this respect, the user's attention is drawn to the risks associated
|
||||||
|
with loading, using, modifying and/or developing or reproducing the
|
||||||
|
software by the user in light of its specific status of free software,
|
||||||
|
that may mean that it is complicated to manipulate, and that also
|
||||||
|
therefore means that it is reserved for developers and experienced
|
||||||
|
professionals having in-depth computer knowledge. Users are therefore
|
||||||
|
encouraged to load and test the software's suitability as regards their
|
||||||
|
requirements in conditions enabling the security of their systems and/or
|
||||||
|
data to be ensured and, more generally, to use and operate it in the
|
||||||
|
same conditions as regards security.
|
||||||
|
The fact that you are presently reading this means that you have had
|
||||||
|
knowledge of the CeCILL license and that you accept its terms.
|
||||||
|
|
||||||
|
ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
||||||
|
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _mo_h
|
||||||
|
#define _mo_h
|
||||||
|
|
||||||
|
#include <algo/moAlgo.h>
|
||||||
|
|
||||||
|
#endif
|
||||||
65
branches/newMo/test/CMakeLists.txt
Normal file
65
branches/newMo/test/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
###############################################################################
|
||||||
|
##
|
||||||
|
## CMakeLists file for ParadisEO-MO/test
|
||||||
|
##
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
### 1) Include the sources
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src)
|
||||||
|
INCLUDE_DIRECTORIES(${ParadisEO-MO_SOURCE_DIR}/src)
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
### 2) Specify where CMake can find the libraries
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
LINK_DIRECTORIES(${EO_BIN_DIR}/lib ${ParadisEO-MO_BINARY_DIR}/lib)
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
### 3) Define your targets and link the librairies
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
SET (TEST_LIST
|
||||||
|
)
|
||||||
|
|
||||||
|
FOREACH (test ${TEST_LIST})
|
||||||
|
SET ("T_${test}_SOURCES" "${test}.cpp")
|
||||||
|
ENDFOREACH (test)
|
||||||
|
|
||||||
|
|
||||||
|
IF(ENABLE_MINIMAL_CMAKE_TESTING)
|
||||||
|
SET (MIN_TEST_LIST t-moHC)
|
||||||
|
FOREACH (mintest ${MIN_TEST_LIST})
|
||||||
|
SET ("T_${mintest}_SOURCES" "${mintest}.cpp")
|
||||||
|
ADD_EXECUTABLE(${mintest} ${T_${mintest}_SOURCES})
|
||||||
|
ADD_TEST(${mintest} ${mintest})
|
||||||
|
ENDFOREACH (mintest)
|
||||||
|
|
||||||
|
ELSEIF(ENABLE_CMAKE_TESTING)
|
||||||
|
|
||||||
|
# Add the tests
|
||||||
|
FOREACH (test ${TEST_LIST})
|
||||||
|
ADD_EXECUTABLE(${test} ${T_${test}_SOURCES})
|
||||||
|
ADD_TEST(${test} ${test})
|
||||||
|
ENDFOREACH (test)
|
||||||
|
|
||||||
|
# Link the librairies
|
||||||
|
FOREACH (test ${TEST_LIST})
|
||||||
|
TARGET_LINK_LIBRARIES(${test} ga es eoutils eo)
|
||||||
|
ENDFOREACH (test)
|
||||||
|
|
||||||
|
ENDIF(ENABLE_MINIMAL_CMAKE_TESTING)
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue