[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] applications/HLA_TestsSuite COPYING HLATestSuit...
From: |
certi-cvs |
Subject: |
[certi-cvs] applications/HLA_TestsSuite COPYING HLATestSuit... |
Date: |
Sun, 27 Apr 2008 13:16:42 +0000 |
CVSROOT: /sources/certi
Module name: applications
Changes by: Eric NOULARD <erk> 08/04/27 13:16:42
Added files:
HLA_TestsSuite : COPYING HLATestSuiteTools.cmake
HLA_TestsSuite_DESCRIPTION.txt CMakeLists.txt
Log message:
Initialize HLA_TestsSuite folder
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/COPYING?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/HLATestSuiteTools.cmake?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/HLA_TestsSuite_DESCRIPTION.txt?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/CMakeLists.txt?cvsroot=certi&rev=1.1
Patches:
Index: COPYING
===================================================================
RCS file: COPYING
diff -N COPYING
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ COPYING 27 Apr 2008 13:16:39 -0000 1.1
@@ -0,0 +1,15 @@
+
+CERTI_TUTORIAL is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License as
+published by the Free Software Foundation; either version 2 of
+the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program, in the file "gpl.txt"; if not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA
Index: HLATestSuiteTools.cmake
===================================================================
RCS file: HLATestSuiteTools.cmake
diff -N HLATestSuiteTools.cmake
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ HLATestSuiteTools.cmake 27 Apr 2008 13:16:40 -0000 1.1
@@ -0,0 +1,10 @@
+MACRO(HLATestSuite_ADD_TEST TESTNAME FEDFILE TEST_FILES_LIST)
+ ADD_EXECUTABLE(${TESTNAME} ${TEST_FILES_LIST})
+
+ TARGET_LINK_LIBRARIES (${TESTNAME} ${CERTI_LIBRARIES})
+
+ INSTALL(TARGETS ${TESTNAME}
+ RUNTIME DESTINATION bin)
+ INSTALL(FILES ${FEDFILE}
+ DESTINATION share/federations)
+ENDMACRO(TestSuite_ADDTEST TESTNAME TEST_FILES_LIST)
Index: HLA_TestsSuite_DESCRIPTION.txt
===================================================================
RCS file: HLA_TestsSuite_DESCRIPTION.txt
diff -N HLA_TestsSuite_DESCRIPTION.txt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ HLA_TestsSuite_DESCRIPTION.txt 27 Apr 2008 13:16:41 -0000 1.1
@@ -0,0 +1,8 @@
+HLA_TestsSuite is a set of [possibly] small program which may be used to HLA
+conformance testing.
+The set of test programs are provided by many CERTI developers and contributors
+see https://savannah.nongnu.org/projects.
+
+We are currently far away for full conformance testing suite but with the help
+of the community we may end-up with a full test suite which may be suitable
for
+CERTI conformance and non-regression tests and may be for any RTI.
\ No newline at end of file
Index: CMakeLists.txt
===================================================================
RCS file: CMakeLists.txt
diff -N CMakeLists.txt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ CMakeLists.txt 27 Apr 2008 13:16:41 -0000 1.1
@@ -0,0 +1,107 @@
+#########################################################################
+# CMakeLists.txt for the HLA_TestsSuite project
+#
+# HLA_TestsSuite is a set of [possibly] small program
+# which may be used to HLA conformance testing.
+# We are currently far away for full conformance testing
+# but with the help of the community we may end-up with
+# a full test suite which may be suitable for CERTI
+# conformance and non-regression tests and may be for
+# any RTI.
+#########################################################################
+PROJECT(HLA_TestsSuite CXX)
+
+#########################################################################
+# Setup reasonable default CMake behavior
+#########################################################################
+
+# CERTI requires CMake 2.4.x
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4)
+
+# Use CERTI specific CMake modules first
+# You should set CERTI_HOME env var to appropriate value
+# or put here the full path to the directory
+# containing FindCERTI.cmake
+SET(CERTI_HOME $ENV{CERTI_HOME} CACHE PATH "The CERTI install directory")
+SET(CMAKE_MODULE_PATH ${CERTI_HOME}/share/scripts)
+
+# You should uncomment the following line
+# if you want VERBOSE build
+#SET(CMAKE_VERBOSE_MAKEFILE ON)
+
+# The preferred (default) behaviour is to
+# build library as shared on all platform
+OPTION(BUILD_SHARED
+ "Build libraries as shared library" ON)
+IF (BUILD_SHARED)
+ SET(BUILD_SHARED_LIBS ON)
+ELSE (BUILD_SHARED)
+ SET(BUILD_SHARED_LIBS OFF)
+ENDIF (BUILD_SHARED)
+
+# Change the build type to release
+# when you are ready to release
+SET(CMAKE_BUILD_TYPE "Debug")
+#SET(CMAKE_BUILD_TYPE "Release")
+
+#########################################################################
+# Define your project packaging basics
+#########################################################################
+SET(PACKAGE_NAME ${CMAKE_PROJECT_NAME})
+SET(PACKAGE_VERSION_MAJOR "0")
+SET(PACKAGE_VERSION_MINOR "1")
+SET(PACKAGE_VERSION_PATCH "0")
+SET(PACKAGE_VERSION
"${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}.${PACKAGE_VERSION_PATCH}")
+SET(PACKAGE_BUGREPORT "address@hidden")
+MESSAGE(STATUS "Configuring ${PACKAGE_NAME} version ${PACKAGE_VERSION}")
+
+#########################################################################
+# Call i.e. INCLUDE the CERTI usage configuration
+#########################################################################
+INCLUDE(UseCERTI)
+
+#########################################################################
+# CPack specific Configuration
+#########################################################################
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An HLA Tests Suite")
+SET(CPACK_PACKAGE_VENDOR "CERTI Devel Team
https://savannah.nongnu.org/projects/CERTI")
+SET(CPACK_PACKAGE_DESCRIPTION_FILE
"${CMAKE_CURRENT_SOURCE_DIR}/HLA_TestsSuite_DESCRIPTION.txt")
+SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
+SET(CPACK_PACKAGE_NAME ${CMAKE_PROJECT_NAME})
+SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})
+SET(CPACK_SOURCE_IGNORE_FILES
"/CVS/;/\\\\.svn/;\\\\.swp$;\\\\.#;/#;.*~;cscope.*")
+SET(CPACK_SOURCE_GENERATOR "ZIP;TGZ")
+IF (WIN32)
+ SET(CPACK_GENERATOR "ZIP;NSIS")
+ ## Add a custom target callable from IDE (Mostly for Visual Studio)
+ GET_FILENAME_COMPONENT(CPACK_COMMAND ${CMAKE_COMMAND} PATH)
+ SET(CPACK_COMMAND ${CPACK_COMMAND}/cpack)
+ ADD_CUSTOM_TARGET(PACKAGE_SOURCE_ZIP
+ COMMAND ${CPACK_COMMAND} -G ZIP --config CPackSourceConfig.cmake
+ COMMENTS "Build a ZIP file containing the source")
+ # NSIS installer specific part
+ INCLUDE(InstallRequiredSystemLibraries)
+ELSE (WIN32)
+ SET(CPACK_GENERATOR "ZIP;TGZ")
+ENDIF(WIN32)
+SET(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION})
+SET(CPACK_PACKAGE_VERSION_MAJOR ${PACKAGE_VERSION_MAJOR})
+SET(CPACK_PACKAGE_VERSION_MINOR ${PACKAGE_VERSION_MINOR})
+SET(CPACK_PACKAGE_VERSION_PATCH ${PACKAGE_VERSION_PATCH})
+
+INCLUDE(CPack)
+
+#INCLUDE(HLATestSuiteTools)
+#########################################################################
+# ADD TEST ELEMENTARY PROGRAM
+#########################################################################
+#HLATestSuite_ADD_TEST(test01
+# FEDFILE Sample.fed
+# SOURCE_FILES test01.cc)
+
+#ADD_EXECUTABLE(test01 test01.cc)
+#TARGET_LINK_LIBRARIES(test01 ${CERTI_LIBRARIES})
+#INSTALL(TARGETS test01 RUNTIME DESTINATION bin)
+#INSTALL(FILES Test01.fed DESTINATION share/federations)
+
+MESSAGE(STATUS "*** ${CMAKE_PROJECT_NAME} has been successfully configured
***")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] applications/HLA_TestsSuite COPYING HLATestSuit...,
certi-cvs <=