[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi/scripts GenerateMessages.py GenMsgAST.py ...
From: |
certi-cvs |
Subject: |
[certi-cvs] certi/scripts GenerateMessages.py GenMsgAST.py ... |
Date: |
Thu, 24 Jun 2010 14:07:05 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Eric NOULARD <erk> 10/06/24 14:07:05
Modified files:
scripts : GenerateMessages.py GenMsgAST.py CMakeLists.txt
Log message:
Update for epydoc generation
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/scripts/GenerateMessages.py?cvsroot=certi&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/certi/scripts/GenMsgAST.py?cvsroot=certi&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/certi/scripts/CMakeLists.txt?cvsroot=certi&r1=1.1&r2=1.2
Patches:
Index: GenerateMessages.py
===================================================================
RCS file: /sources/certi/certi/scripts/GenerateMessages.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- GenerateMessages.py 18 Jun 2010 13:34:28 -0000 1.41
+++ GenerateMessages.py 24 Jun 2010 14:07:04 -0000 1.42
@@ -20,7 +20,7 @@
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
## USA
##
-## $Id: GenerateMessages.py,v 1.41 2010/06/18 13:34:28 erk Exp $
+## $Id: GenerateMessages.py,v 1.42 2010/06/24 14:07:04 erk Exp $
## ----------------------------------------------------------------------------
"""
@@ -28,8 +28,8 @@
CERTI is an HLA RTI (High Level Architecture RunTime Infrastructure)
which uses in its internal a lot of message based communication.
Those messages:
- should be as compact as possible in terms of memory consumption
- should be easy to implement.
+ - should be as compact as possible in terms of memory consumption
+ - should be easy to implement.
The CERTI developer team did develop a message specification language
inspired from Google Protocol buffer. CERTI message have several
Index: GenMsgAST.py
===================================================================
RCS file: /sources/certi/certi/scripts/GenMsgAST.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- GenMsgAST.py 18 Jun 2010 15:25:12 -0000 1.16
+++ GenMsgAST.py 24 Jun 2010 14:07:05 -0000 1.17
@@ -20,7 +20,7 @@
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
## USA
##
-## $Id: GenMsgAST.py,v 1.16 2010/06/18 15:25:12 erk Exp $
+## $Id: GenMsgAST.py,v 1.17 2010/06/24 14:07:05 erk Exp $
## ----------------------------------------------------------------------------
"""
@@ -40,10 +40,8 @@
class ASTElement(object):
-
"""
The base class for all Abstract Syntax Tree element.
-
"""
def __init__(self, name):
@@ -52,8 +50,8 @@
@param name: the name we want to give to the element
@type name: C{string}
-
"""
+
self.__name = name
"""
@ivar: the name of the C{ASTElement} object
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/scripts/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- CMakeLists.txt 24 Jun 2010 13:19:16 -0000 1.1
+++ CMakeLists.txt 24 Jun 2010 14:07:05 -0000 1.2
@@ -54,16 +54,17 @@
# add a rule for epydoc if it is found
find_program(EPYDOC_EXECUTABLE epydoc)
+ set(EPYDOC_COMMON_OPTS "--graph" "all" "--inheritance" "listed"
"--parse-only" "-v" "--name" "CERTI")
if (EPYDOC_EXECUTABLE)
add_custom_target(GenGenMessageDocPDF
${CMAKE_COMMAND} -E make_directory
${PROJECT_BINARY_DIR}/doc/MsgGen/pdf
- COMMAND ${EPYDOC_EXECUTABLE} --pdf
--output=${PROJECT_BINARY_DIR}/doc/MsgGen/pdf --name="CERTI-Message-Generator"
${MESSAGE_GENERATOR_SRC}
+ COMMAND ${EPYDOC_EXECUTABLE} ${EPYDOC_COMMON_OPTS} --pdf
--output=${PROJECT_BINARY_DIR}/doc/MsgGen/pdf ${MESSAGE_GENERATOR_SRC}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generate CERTI Message generator documentation (PDF) with
epydoc"
)
add_custom_target(GenGenMessageDocHTML
${CMAKE_COMMAND} -E make_directory
${PROJECT_BINARY_DIR}/doc/MsgGen/html
- COMMAND ${EPYDOC_EXECUTABLE} --html
--output=${PROJECT_BINARY_DIR}/doc/MsgGen/html --name="CERTI-Message-Generator"
${MESSAGE_GENERATOR_SRC}
+ COMMAND ${EPYDOC_EXECUTABLE} ${EPYDOC_COMMON_OPTS} --html
--output=${PROJECT_BINARY_DIR}/doc/MsgGen/html ${MESSAGE_GENERATOR_SRC}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generate CERTI Message generator documentation (PDF) with
epydoc"
)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi/scripts GenerateMessages.py GenMsgAST.py ...,
certi-cvs <=