Skip to content

building open-dis-cpp with cmake #89

@AJPerriello

Description

@AJPerriello

I want to build open-dis ccp dis6 source as a shared library. I don't need examples.
I am building on a machine that has cmake and most everything needed for development.
If this build is going to need more than I can not install that, need to work with what I have, which should be enough
anyhow, can I please have an example of linux command line to cmake and build

i tried ..
cmake -BUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF -S src
(I'm sunning that in a directory that contains src/dis6, src/dis7 CMakeLists.txt
I tried using cmake3 as well
cmake -h doesn't help much :)
Do I need to make entries in CMakeLists?
I assumed, just download, install, and do cmake -S -B and turn on SHARED_LIBS,
but so far isn't working.
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions