Commit Graph

11 Commits (6188965887743be7371f37d2822b15383ee54bf2)

Author SHA1 Message Date
bebopagogo 17dc41ab72 added examples/chant.cpp for simple command-line NORM chat app 2023-05-31 19:30:36 -04:00
bebopagogo 9f65f5e20a pynorm improvement to keep cache sender enqueued objects in pynorm.instance._objects cache 2022-10-04 19:21:41 -04:00
Brian Adamson 684c7303e2 Merge branch 'master' of https://github.com/USNavalResearchLaboratory/norm 2022-08-20 22:36:52 -04:00
Brian Adamson 001d50aa46 pynorm fixes 2022-08-20 22:36:29 -04:00
Honglei a08f387ec5
Make Session.getReportInterval work (#68)
* Update core.py

libnorm.NormGetReportInterval.argtypes missed

* Update session.py

getReportInterval Need return the  value

* fix Unknown command FetchContent_MakeAvailable

-- Building protokit from c51d4a771b0ccb073a78e1cf60f0deb7d652f382
CMake Error at CMakeLists.txt:63 (FetchContent_MakeAvailable):
  Unknown CMake command "FetchContent_MakeAvailable".

https://github.com/EMsoft-org/EMsoft/issues/93
2022-07-18 16:54:09 -04:00
Luca Boccassi 9c367b50bc
pkg-config, PIE, API breakages fixes (#23)
* Update protolib to pick up new fixes

* CMake: restore SONAME_VERSION to 1

* CMake: generate pkg-config file

* CMake: set -fvisibility=hidden and POSITION_INDEPENDENT_CODE

Need to build everything with fPIC, and also hide symbols by default,
since public ones are explicitly marked as such.

* Revert public API incompatible changes

NormSetId and NormCountCompletedObjects were part of the public API in
released versions, so they cannot be just removed without breaking API/ABI
compatibility.
NormSendCommandTo is a private symbol, but was marked for export by
mistake.

* Add BUILD_STATIC_LIBS option to allow building both static and shared objects

CMake does not support this out of the box, so it has to be implemented
manually. It results in the libnorm build being repeated twice, as there's
no object sharing.
2021-02-01 10:20:20 -05:00
mjvankampen d630f65613
Adds windows shared build support under cmake (#18)
* Adds windows shared build support under cmake

* makes public
2021-01-30 09:26:15 -05:00
mjvankampen 1008f83092
Adds option to force a build of protokit and select a specific commit (#15)
* Adds option to force a build of protokit and select a specific commit

* Only depend on protolib when it is not build with norm

* Revert "Only depend on protolib when it is not build with norm"

This reverts commit 30e5dfab53.

* Revert "Revert "Only depend on protolib when it is not build with norm""

This reverts commit facc70ce29.

* Adds policy to allow norm to set option

* Updates git protokit git hash

* Removes protokit as external dep

* Updates git tag

* Get git submodule target hash for fetch_content

* Updates submodule

* Adds way to specify custom protolib version (such as origin/master)

* Adds option to build from local ./protolib folder

* Makes logic somewhat nicer
2021-01-18 10:26:06 -05:00
mjvk 7d9b0aeadd
Install norm into include instead of include/norm (#11)
* Install norm into include instead of include/norm

Does not break existing use of norm

* Only installs normApi.h
2020-06-08 23:03:02 -04:00
bebopagogo 4b3b9351d0 commented out inclusion of unix and win32 'post process' source file inclusion as that is not intended to be part of the NORM library 2020-06-06 12:45:20 -04:00
mjvk 8d8c3f0da5
[WIP] Cmake (#8)
* Adds initial cmake

* Renames include according common convention

* Tries to include examples

* Changes to protokit

* Improves install step

* Removes /protokit

* Fixes some comments

* Adds a few feature tests

* Adds FLOCK includes

* Removes if in feature tests

* Fixes missing normApi.cpp

* Adds missing include

* Fixes bad rename
2020-05-18 10:19:04 -04:00