Revision 62d50515

View differences:

client/CMakeLists.txt
1
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
2

  
3
PROJECT("hlrc_client")
4

  
5
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
6

  
7
#options
8
OPTION(BUILD_CPP "Decide whether to build the CPP bindings." ON)
9
OPTION(BUILD_JAVA "Decide whether to build the Java bindings." ON)
10
OPTION(BUILD_PYTHON "Decide whether to build the Python bindings." ON)
11

  
12

  
13

  
14
IF(BUILD_CPP)
15
    ADD_SUBDIRECTORY(cpp)
16
ENDIF()
17

  
18
IF(BUILD_JAVA)
19
    ADD_SUBDIRECTORY(java)
20
ENDIF()
21

  
22
IF(BUILD_PYTHON)
23
    ADD_SUBDIRECTORY(python)
24
ENDIF()
25

  
26

  
27

  
client/java/CMakeLists.txt
1
cmake_minimum_required(VERSION 2.8)
2

  
3
SET(JAR_FILE "${CMAKE_CURRENT_BINARY_DIR}/hlrc_client_java-0.1.jar" )
4

  
5
FIND_PROGRAM(MVN_EXECUTABLE mvn)
6
IF(MVN_EXECUTABLE)
7
    ADD_CUSTOM_COMMAND(OUTPUT  ${JAR_FILE}
8
                       COMMAND ${MVN_EXECUTABLE} install appassembler::assemble
9
                       WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
10
                       COMMENT "Creating jar files")
11

  
12
    ADD_CUSTOM_TARGET(java ALL DEPENDS ${JAR_FILE})
13

  
14
    INSTALL(FILES ${JAR_FILE} DESTINATION share/java)
15

  
16
ELSE()
17
    MESSAGE(STATUS "mvn not found. java bindings will not be created")
18
ENDIF()
19

  
client/java/pom.xml
3 3
    <modelVersion>4.0.0</modelVersion>
4 4
    <groupId>de.citec.csra</groupId>
5 5
    <artifactId>hlrc-client</artifactId>
6
    <version>1.0.0-SNAPSHOT</version>
6
    <version>0.1-SNAPSHOT</version>
7 7
    <packaging>jar</packaging>
8
    <name>High Level Command Client</name>
8
    <name>High Level Robot Control java client</name>
9 9
    <url>http://maven.apache.org</url>
10 10
    <build>
11 11
        <plugins>
client/python/CMakeLists.txt
1
cmake_minimum_required(VERSION 2.8)
2

  
3
install(CODE "execute_process(COMMAND python setup.py install -f --prefix=${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})")
client/python/hlrc_client.egg-info/PKG-INFO
1 1
Metadata-Version: 1.1
2 2
Name: hlrc-client
3
Version: 1.2.0
3
Version: 0.1
4 4
Summary: [h]igh [l]evel [r]obot [c]ontrol client project
5 5
Home-page: http://opensource.cit-ec.uni-bielefeld.de/hlrc
6 6
Author: Simon Schulz
client/python/hlrc_client.egg-info/SOURCES.txt
4 4
setup.cfg
5 5
setup.py
6 6
hlrc_client/Middleware.py
7
hlrc_client/MiddlewareROS.py
7 8
hlrc_client/MiddlewareRSB.py
8 9
hlrc_client/RobotAnimation.py
9 10
hlrc_client/RobotController.py
client/python/hlrc_client.egg-info/requires.txt
1
peppercorn
1

  
2 2

  
3 3
[test]
4 4
coverage
client/python/setup.py
23 23
    # Versions should comply with PEP440.  For a discussion on single-sourcing
24 24
    # the version across setup.py and the project code, see
25 25
    # https://packaging.python.org/en/latest/single_source_version.html
26
    version='1.2.0',
26
    version='0.1',
27 27

  
28 28
    description='[h]igh [l]evel [r]obot [c]ontrol client project',
29 29
    long_description=long_description,
......
75 75
    # your project is installed. For an analysis of "install_requires" vs pip's
76 76
    # requirements files see:
77 77
    # https://packaging.python.org/en/latest/requirements.html
78
    install_requires=['peppercorn'],
78
    install_requires=[],
79 79

  
80 80
    # List additional groups of dependencies here (e.g. development
81 81
    # dependencies). You can install these using the following syntax,

Also available in: Unified diff