Skip to content
/ astlib Public

Eurocontrol Asterix decoder framework based on XML declarations

License

Notifications You must be signed in to change notification settings

mkrivos/astlib

Repository files navigation

astlib

Eurocontrol Asterix decoder framework based on XML declarations

Project is inspired by: https://github.com/vitorafsr/asterixed

Dependencies

  • Modern C++11 compiler, gcc 5.x, Visual Studio 2015
  • Cmake 3.3 or above
  • Poco library 1.7.0 or above
  • Gtest (optional)
  • Node.js (optional) (+v8pp +mocha)

Building - Windows [Debug]

  1. mkdir debug
  2. cd debug
  3. cmake -G"Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Debug ..
  4. msbuild astlib.sln /t:Rebuild /p:Configuration=Debug
  5. cd ..
  6. bin/Debug/testunit.exe

Building - Windows [NMake][Debug]

  1. mkdir debug
  2. cd debug
  3. cmake -G"NMake Makefiles JOM" -DCMAKE_BUILD_TYPE=Debug ..
  4. jom /j9
  5. cd ..
  6. bin/testunit.exe

Building - Windows [Release]

  1. mkdir release
  2. cd release
  3. cmake -G"Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Release ..
  4. msbuild astlib.sln /t:Rebuild /p:Configuration=Release
  5. cd ..
  6. bin/Release/testunit.exe

Node.js support (or https://www.npmjs.com/package/node-cmake)

  1. install nodejs package

  2. npm install --save bindings

  3. sudo npm install -g cmake-js [https://www.npmjs.com/package/cmake-js]

  4. cmake-js build