certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] applications/HLA_Tutorial CMakeLists.txt .cvsig...


From: certi-cvs
Subject: [certi-cvs] applications/HLA_Tutorial CMakeLists.txt .cvsig...
Date: Thu, 06 Nov 2008 22:22:58 +0000

CVSROOT:        /sources/certi
Module name:    applications
Changes by:     Eric NOULARD <erk>      08/11/06 22:22:58

Modified files:
        HLA_Tutorial   : CMakeLists.txt 
Added files:
        HLA_Tutorial   : .cvsignore 

Log message:
        Use FindRTI instead of FindCERTI

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_Tutorial/CMakeLists.txt?cvsroot=certi&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_Tutorial/.cvsignore?cvsroot=certi&rev=1.1

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/applications/HLA_Tutorial/CMakeLists.txt,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- CMakeLists.txt      21 Sep 2008 10:44:52 -0000      1.10
+++ CMakeLists.txt      6 Nov 2008 22:22:58 -0000       1.11
@@ -13,7 +13,7 @@
 # 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
+# containing FindRTI.cmake
 # Use CERTI_HOME env var if it is defined
 IF ("$ENV{CERTI_HOME}" STRGREATER "")
     FILE(TO_CMAKE_PATH "$ENV{CERTI_HOME}" CERTI_HOME_TEMP)
@@ -56,9 +56,11 @@
 MESSAGE(STATUS "Configuring ${PACKAGE_NAME} version ${PACKAGE_VERSION}")
 
 #########################################################################
-# Call i.e. INCLUDE the CERTI usage configuration
+# Call i.e. FIND RTI
 #########################################################################
-INCLUDE(UseCERTI)
+FIND_PACKAGE(RTI REQUIRED)
+INCLUDE_DIRECTORIES(${RTI_INCLUDE_DIR})
+ADD_DEFINITIONS(${RTI_DEFINITIONS})
 
 #########################################################################
 # CPack specific Configuration
@@ -120,7 +122,7 @@
 # Generic CMake executable target
 ###################################
 ADD_EXECUTABLE(${EXE_NAME} ${SRC_LIST})
-TARGET_LINK_LIBRARIES (${EXE_NAME} ${CERTI_LIBRARIES})
+TARGET_LINK_LIBRARIES (${EXE_NAME} ${RTI_LIBRARIES})
 INSTALL(TARGETS ${EXE_NAME} 
         RUNTIME DESTINATION bin)
 
@@ -136,7 +138,7 @@
 # Generic CMake executable target
 ###################################
 ADD_EXECUTABLE(${EXE_NAME} ${SRC_LIST})
-TARGET_LINK_LIBRARIES (${EXE_NAME} ${CERTI_LIBRARIES})
+TARGET_LINK_LIBRARIES (${EXE_NAME} ${RTI_LIBRARIES})
 INSTALL(TARGETS ${EXE_NAME} 
         RUNTIME DESTINATION bin)
 

Index: .cvsignore
===================================================================
RCS file: .cvsignore
diff -N .cvsignore
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ .cvsignore  6 Nov 2008 22:22:57 -0000       1.1
@@ -0,0 +1 @@
+build




reply via email to

[Prev in Thread] Current Thread [Next in Thread]