Clean directories

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2729 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
quemy 2012-08-27 15:54:24 +00:00
commit d7d6c3a217
14 changed files with 0 additions and 225 deletions

View file

@ -1,84 +0,0 @@
######################################################################################
### 1) Check dependencies
######################################################################################
IF (NOT DEFINED PROJECT_NAME OR
NOT DEFINED PROJECT_VERSION_MAJOR OR
NOT DEFINED PROJECT_VERSION_MINOR OR
NOT DEFINED PROJECT_VERSION_PATCH OR
NOT DEFINED PROJECT_VERSION)
MESSAGE(FATAL_ERROR "Be sure you have defined PROJECT_NAME and PROJECT_VERSION*.")
ENDIF()
######################################################################################
######################################################################################
### 2) Set up components
######################################################################################
SET(CPACK_COMPONENTS_ALL libraries test examples)
SET(CPACK_ALL_INSTALL_TYPES Minimal Full)
SET(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "${PACKAGE_NAME}")
SET(CPACK_COMPONENT_LIBRARIES_DESCRIPTION "${PACKAGE_NAME} library")
SET(CPACK_COMPONENT_LIBRARIES_GROUP "Devel")
SET(CPACK_COMPONENT_LIBRARIES_INSTALL_TYPES Minimal Full)
SET(CPACK_COMPONENT_TEST_DISPLAY_NAME "${PACKAGE_NAME}")
SET(CPACK_COMPONENT_TEST_DESCRIPTION "${PACKAGE_NAME} test")
SET(CPACK_COMPONENT_TEST_GROUP "Devel")
SET(CPACK_COMPONENT_TEST_INSTALL_TYPES Full)
SET(CPACK_COMPONENT_EXAMPLES_DISPLAY_NAME "${PACKAGE_NAME}")
SET(CPACK_COMPONENT_EXAMPLES_DESCRIPTION "${PACKAGE_NAME} examples")
SET(CPACK_COMPONENT_EXAMPLES_GROUP "Devel")
SET(CPACK_COMPONENT_EXAMPLES_INSTALL_TYPES Full)
######################################################################################
######################################################################################
### 3) Set up general information about packaging
######################################################################################
# For more details: http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack
#cpack package information
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_PACKAGE_DESCRIPTION "${PACKAGE_NAME}")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${PACKAGE_NAME}")
SET(CPACK_PACKAGE_VENDOR "${PACKAGE_NAME}")
SET(CPACK_PACKAGE_CONTACT "${PACKAGE_BUGREPORT}")
SET(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
SET(CPACK_STRIP_FILES ${PROJECT_NAME})
SET(CPACK_SOURCE_STRIP_FILES "bin/${PROJECT_NAME}")
SET(CPACK_PACKAGE_EXECUTABLES "${PROJECT_NAME}" "${PROJECT_NAME}")
SET(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
SET(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}")
SET(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "${PROJECT_NAME} ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}")
######################################################################################
######################################################################################
### 4) Set up debian packaging information
######################################################################################
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libstdc++6, libgcc1, libc6, g++")
SET(CPACK_DEBIAN_PACKAGE_SECTION "devel")
SET(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
######################################################################################
######################################################################################
### 5) And finally, include cpack, this is the last thing to do.
######################################################################################
INCLUDE(CPack)
######################################################################################

View file

@ -1,7 +0,0 @@
#!/usr/bin/env sh
mkdir -p debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
cd ..

View file

@ -1,7 +0,0 @@
#!/usr/bin/env sh
mkdir -p release
cd release
cmake -DENABLE_PYEO=1 ..
make
cd ..

View file

@ -1,7 +0,0 @@
#!/usr/bin/env sh
mkdir -p release
cd release
cmake ..
make
cd ..

View file

@ -1,7 +0,0 @@
#!/usr/bin/env sh
mkdir -p release
cd release
cmake -D_GLIBCXX_PARALLEL=1 ..
make
cd ..

View file

@ -1,7 +0,0 @@
#!/usr/bin/env sh
mkdir -p release
cd release
cmake -DENABLE_EO_TUTORIAL=1 ..
make
cd ..

View file

@ -1,7 +0,0 @@
#!/usr/bin/env sh
mkdir -p debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_CMAKE_TESTING=1 ..
make
cd ..

View file

@ -1,5 +0,0 @@
mkdir release
cd release
cmake -G "Visual Studio 9 2008" ..
cd ..
pause

View file

@ -1,4 +0,0 @@
#!/usr/bin/env sh
rm -rf debug
rm -rf release

View file

@ -1,8 +0,0 @@
# Current version
SET(PROJECT_VERSION_MAJOR 1)
SET(PROJECT_VERSION_MINOR 3)
SET(PROJECT_VERSION_PATCH 0)
SET(PROJECT_VERSION_MISC "-edge")
ADD_DEFINITIONS(-DDEPRECATED_MESSAGES) # disable warning deprecated function messages

View file

@ -1,5 +0,0 @@
#!/usr/bin/env sh
cd release
cpack -G DEB
cd ..

View file

@ -1,4 +0,0 @@
cd release
cpack -G NSIS
cd ..
pause

View file

@ -1,5 +0,0 @@
#!/usr/bin/env sh
cd release
cpack -G RPM
cd ..

View file

@ -1,68 +0,0 @@
/*
<tagDispatching.h>
Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2012
Alexandre Quemy
This software is governed by the CeCILL license under French law and
abiding by the rules of distribution of free software. You can ue,
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".
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
*/
#include <eo>
namespace paradiseo
{
namespace smp
{
/** Tag Dispatching
* The Tag Dispatching enable to choose the algorithm to call at compile time
**/
// Main algorithms tags
struct error_tag {};
struct eoEasyEA_tag {};
struct eoEasyPSO_tag {};
struct eoSyncEasyPSO_tag {};
template<template <class> class A, class B>
struct traits {
typedef error_tag type;
};
template<class B>
struct traits<eoEasyEA,B> {
typedef eoEasyEA_tag type;
};
template<class B>
struct traits<eoEasyPSO,B> {
typedef eoEasyPSO_tag type;
};
template<class B>
struct traits<eoSyncEasyPSO,B> {
typedef eoSyncEasyPSO_tag type;
};
}
}