descriptionDIS(IEEE 1278.1) Fully Implemented in C++
homepage URLhttp://kdis.sf.net
repository URLhttps://git.code.sf.net/p/kdis/code
ownerstefan.naewe+ro@gmail.com
last changeThu, 12 Oct 2023 15:21:34 +0000 (12 16:21 +0100)
last refreshSat, 24 Aug 2024 03:51:28 +0000 (24 05:51 +0200)
content tags
add:
README.md

KDIS

release codeql

Open source implementation of DIS (Distributed Interactive Simulation) IEEE 1278.1

Contributing

I would love to see your contribution :heart:

See CONTRIBUTING guidelines

Development

Requirements

NameHomepageRequiredNotes
CXX Compiler:heavy_check_mark:GCC | Clang | MSVC
CMake<https://cmake.org>:heavy_check_mark:Version >= 3.14
Clang Format<https://clang.llvm.org/docs/ClangFormat.html>:x:
Clang Tidy<https://clang.llvm.org/extra/clang-tidy>:x:
Cppcheck<https://github.com/danmar/cppcheck>:x:
Cpplint<https://github.com/cpplint/cpplint>:x:pip install cpplint
cmake lang<https://github.com/cheshirekow/cmake_format>:x:pip install cmakelang[YAML]
Doxygen<https://www.doxygen.nl>:x:Documentation

Build Options

NameDescriptionTypeDefault
DIS_VERSIONDIS version:
  • 5
    IEEE 1278.1-1995
  • 6
    IEEE 1278.1A-1998
  • 7
    IEEE 1278.1x-2012
STRING7
KDIS_USE_ENUM_DESCRIPTORSEnumeration descriptors.
Allow enum values to be turned into their text labels.
:warning: Increase the memory footprint of the library
BOOLTRUE
KDIS_BUILD_DOCSBuild documentationBOOLFALSE
KDIS_BUILD_EXAMPLESBuild examplesBOOLFALSE
KDIS_BUILD_TESTSBuild testsBOOLFALSE
BUILD_SHARED_LIBSBuild shared libraryBOOLTRUE

Build

  1. Generate project

    [!NOTE] Change build options' values as needed

    cmake \
        -S . \
        -B ./build \
        -DCMAKE_BUILD_TYPE:STRING=Release \
        -DDIS_VERSION:STRING=7 \
        -DKDIS_USE_ENUM_DESCRIPTORS:BOOL=TRUE \
        -DBUILD_SHARED_LIBS:BOOL=TRUE \
        -DBUILD_DOCS:BOOL=FALSE \
        -DBUILD_EXAMPLES:BOOL=FALSE \
        -DBUILD_TESTS:BOOL=FALSE
    
  2. Build project

    [!NOTE] Change value of --config to match value of CMAKE_BUILD_TYPE

    cmake \
        --build ./build \
        --config Release
    

Documentation

[!IMPORTANT] KDIS_BUILD_DOCS:BOOL=TRUE required

File index.html available under build/docs/html directory

More information can be found in docs/README.md

Examples

[!IMPORTANT] KDIS_BUILD_EXAMPLES:BOOL=TRUE required

More information can be found in examples/README.md

Scripts

More information can be found in scripts/README.md

Tests

[!IMPORTANT] KDIS_BUILD_TESTS:BOOL=TRUE required

[!NOTE] Change value of --build-config to match value of CMAKE_BUILD_TYPE

ctest \
    --verbose \
    --test-dir ./build/tests \
    --build-config Release

More information can be found in tests/README.md

License

This project is licensed under the BSD 2-Clause "Simplified" License
See LICENSE file for details

shortlog
2023-10-12 Karl JonesRemove old changelogmaster
2023-10-12 Karl JonesUpdate CHANGELOG.md
2023-10-12 Karl JonesMerge pull request #12 from carlocorradini/new
2023-10-12 Karl JonesMerge remote-tracking branch 'Github/master' into new
2023-10-12 Karl JonesUpdate CHANGELOG.md
2023-10-12 Karl JonesUpdate KDIS_Change_Log.htm
2023-10-11 carlocorradinichore: removed clang-format-ignore
2023-10-11 carlocorradinidocs: fix typo
2023-10-11 carlocorradinichore: fix clang-format and all cmake bool options...
2023-10-11 carlocorradinifix: cmake install and possible conflicting options
2023-10-11 carlocorradinidocs: better readme
2023-10-11 carlocorradinichore: check script, readme and better clang-format...
2023-10-10 carlocorradinichore(ci): fix need deps
2023-10-10 carlocorradinichore(ci): fix build needs
2023-10-10 carlocorradinichore(ci): job dependency
2023-10-10 carlocorradinichore(ci): removed macos
...
tags
8 years ago 2-9-0
heads
10 months ago master
8 years ago tests/data-types
8 years ago unit-tests
9 years ago iff_layer_4