Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
cameo
cameo
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Cameo
  • cameocameo
  • Wiki
  • developments

developments

Last edited by yannick legoc Dec 14, 2020
Page history

Developments


When developing the cameo-api-cpp project, it is useful to install the files in a dedicated directory and compile run the tests with these files.
Change the target directory in cameo-api-cpp to :

$ cmake -DCMAKE_INSTALL_PREFIX:PATH=<local-test> ..

The directory is a directory owned by the user and not root.

Configure the tests with :

$ cd cameo-tests/build
$ ../configure --with-cameo=<local-test> --prefix=<cameo-tests>/build

To run the tests, the LD_LIBRARY_PATH must be changed in the shell you run the tests:

$ export LD_LIBRARY_PATH=<local-test>/lib:/usr/lib/x86_64-linux-gnu/jni

Set the PATH variable so that the C++ programs are found:

$ export PATH=<cameo-tests path>/build/bin:$PATH

Start a simple c++ test with jzmq:

$ cd cameo-tests
$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml startsimplecpp 10

Start all the c++ tests:

$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml cpp 1
Clone repository
  • JZMQ or JeroMQ?
  • Version 1.0
  • all tests
  • cpp installation
  • dependencies
  • developments
  • example of code
  • examples
  • Home
  • implementation
  • linux tests
  • python
  • windows compilation
  • windows package
  • windows tests