certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/libRTI CMakeLists.txt


From: CERTI CVS commits
Subject: [certi-cvs] certi/libRTI CMakeLists.txt
Date: Mon, 03 Mar 2014 14:26:03 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      14/03/03 14:26:03

Modified files:
        libRTI         : CMakeLists.txt 

Log message:
        Install configured file in the build tree at configure time in order to 
ease the compilation of builtin test federate

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libRTI/CMakeLists.txt?cvsroot=certi&r1=1.30&r2=1.31

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/libRTI/CMakeLists.txt,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- CMakeLists.txt      16 Dec 2013 14:07:29 -0000      1.30
+++ CMakeLists.txt      3 Mar 2014 14:26:03 -0000       1.31
@@ -200,8 +200,9 @@
     ../include/ieee1516-2000/RTI/certiLogicalTimeFactory.h
     RTI1516fedTime.h
     RTI1516fedTime.cpp
-
 )
+
+
 IF (BUILD_WITH_EXTRA_LOGICAL_TIME)
    LIST(APPEND FEDTIME1516_SRC
         LogicalTimeDouble.h
@@ -251,6 +252,8 @@
     LIBRARY DESTINATION lib
     ARCHIVE DESTINATION lib)
 
-
+# mimic install directory structure in the binary tree in order to ease the 
linking 
+# of builtin test (i.e. testFederate)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/RTI1516fedTime.h 
${CMAKE_BINARY_DIR}/include/ieee1516-2000/RTI/RTI1516fedTime.h COPYONLY)
 install(FILES RTI1516fedTime.h DESTINATION include/ieee1516-2000/RTI)
 install(FILES RTI1516fedTime.h DESTINATION include/ieee1516-2010/RTI)



reply via email to

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