Skip to content
/ mpio Public

Multi-platform common IO library

License

Notifications You must be signed in to change notification settings

cfnptr/mpio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

29ae2e5 · Aug 20, 2024

History

70 Commits
Aug 20, 2024
Jan 28, 2024
Aug 20, 2024
Feb 18, 2024
Jan 28, 2024
Feb 18, 2024
Jan 30, 2024
Feb 18, 2024
Jan 30, 2024
May 31, 2024
Aug 20, 2024
Aug 20, 2024
Nov 15, 2021
Mar 9, 2024

Repository files navigation

MPIO

A library providing generic interface for file system input / output operations across different platforms.

See the documentation.

Features

  • Common directory and file functions
  • App data and resources path getters
  • CPU name, RAM size, CPU count getters
  • Current clock (time stamp) getter
  • C and C++ implementations

Supported operating systems

  • Windows
  • macOS
  • Ubuntu (Linux)

Build requirements

Use building instructions to install all required tools and libraries.

CMake options

Name Description Default value
MPIO_BUILD_SHARED Build MPIO shared library ON
MPIO_BUILD_TESTS Build MPIO library tests ON

CMake targets

Name Description Windows macOS Linux
mpio-static Static MPIO library .lib .a .a
mpio-shared Dynamic MPIO library .dll .dylib .so

Cloning

git clone https://github.com/cfnptr/mpio

Building CI

  • Windows: ./scripts/build-release.bat
  • macOS / Ubuntu: ./scripts/build-release.sh