nspr/4.35

Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc-like functions.
Recipe info
2023-10-30

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
nspr/4.35

Using nspr

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
nspr/4.35
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("nspr/4.35")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): nspr
  • CMake target name(s): nspr::nspr
  • pkg-config file name(s): nspr.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(nspr REQUIRED)
# ...
target_link_libraries(YOUR_TARGET nspr::nspr)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the nspr homepage listed above:

#include "md/_aix32.cfg"
#include "md/_aix64.cfg"
#include "md/_bsdi.cfg"
#include "md/_darwin.cfg"
#include "md/_freebsd.cfg"
#include "md/_hpux32.cfg"
#include "md/_hpux64.cfg"
#include "md/_linux.cfg"
#include "md/_netbsd.cfg"
#include "md/_nto.cfg"
#include "md/_openbsd.cfg"
#include "md/_os2.cfg"
#include "md/_qnx.cfg"
#include "md/_riscos.cfg"
#include "md/_scoos.cfg"
#include "md/_solaris.cfg"
#include "md/_unixware.cfg"
#include "md/_unixware7.cfg"
#include "md/_win95.cfg"
#include "md/_winnt.cfg"
#include "nspr.h"
#include "nspr/md/_aix32.cfg"
#include "nspr/md/_aix64.cfg"
#include "nspr/md/_bsdi.cfg"
#include "nspr/md/_darwin.cfg"
#include "nspr/md/_freebsd.cfg"
#include "nspr/md/_hpux32.cfg"
#include "nspr/md/_hpux64.cfg"
#include "nspr/md/_linux.cfg"
#include "nspr/md/_netbsd.cfg"
#include "nspr/md/_nto.cfg"
#include "nspr/md/_openbsd.cfg"
#include "nspr/md/_os2.cfg"
#include "nspr/md/_qnx.cfg"
#include "nspr/md/_riscos.cfg"
#include "nspr/md/_scoos.cfg"
#include "nspr/md/_solaris.cfg"
#include "nspr/md/_unixware.cfg"
#include "nspr/md/_unixware7.cfg"
#include "nspr/md/_win95.cfg"
#include "nspr/md/_winnt.cfg"
#include "nspr/nspr.h"
#include "nspr/obsolete/pralarm.h"
#include "nspr/obsolete/probslet.h"
#include "nspr/obsolete/protypes.h"
#include "nspr/obsolete/prsem.h"
#include "nspr/plarena.h"
#include "nspr/plarenas.h"
#include "nspr/plbase64.h"
#include "nspr/plerror.h"
#include "nspr/plgetopt.h"
#include "nspr/plhash.h"
#include "nspr/plstr.h"
#include "nspr/pratom.h"
#include "nspr/prbit.h"
#include "nspr/prclist.h"
#include "nspr/prcmon.h"
#include "nspr/prcountr.h"
#include "nspr/prcpucfg.h"
#include "nspr/prcvar.h"
#include "nspr/prdtoa.h"
#include "nspr/prenv.h"
#include "nspr/prerr.h"
#include "nspr/prerror.h"
#include "nspr/prinet.h"
#include "nspr/prinit.h"
#include "nspr/prinrval.h"
#include "nspr/prio.h"
#include "nspr/pripcsem.h"
#include "nspr/private/pprio.h"
#include "nspr/private/pprthred.h"
#include "nspr/private/prpriv.h"
#include "nspr/prlink.h"
#include "nspr/prlock.h"
#include "nspr/prlog.h"
#include "nspr/prlong.h"
#include "nspr/prmem.h"
#include "nspr/prmon.h"
#include "nspr/prmwait.h"
#include "nspr/prnetdb.h"
#include "nspr/prolock.h"
#include "nspr/prpdce.h"
#include "nspr/prprf.h"
#include "nspr/prproces.h"
#include "nspr/prrng.h"
#include "nspr/prrwlock.h"
#include "nspr/prshm.h"
#include "nspr/prshma.h"
#include "nspr/prsystem.h"
#include "nspr/prthread.h"
#include "nspr/prtime.h"
#include "nspr/prtpool.h"
#include "nspr/prtrace.h"
#include "nspr/prtypes.h"
#include "nspr/prvrsion.h"
#include "nspr/prwin16.h"
#include "obsolete/pralarm.h"
#include "obsolete/probslet.h"
#include "obsolete/protypes.h"
#include "obsolete/prsem.h"
#include "plarena.h"
#include "plarenas.h"
#include "plbase64.h"
#include "plerror.h"
#include "plgetopt.h"
#include "plhash.h"
#include "plstr.h"
#include "pratom.h"
#include "prbit.h"
#include "prclist.h"
#include "prcmon.h"
#include "prcountr.h"
#include "prcpucfg.h"
#include "prcvar.h"
#include "prdtoa.h"
#include "prenv.h"
#include "prerr.h"
#include "prerror.h"
#include "prinet.h"
#include "prinit.h"
#include "prinrval.h"
#include "prio.h"
#include "pripcsem.h"
#include "private/pprio.h"
#include "private/pprthred.h"
#include "private/prpriv.h"
#include "prlink.h"
#include "prlock.h"
#include "prlog.h"
#include "prlong.h"
#include "prmem.h"
#include "prmon.h"
#include "prmwait.h"
#include "prnetdb.h"
#include "prolock.h"
#include "prpdce.h"
#include "prprf.h"
#include "prproces.h"
#include "prrng.h"
#include "prrwlock.h"
#include "prshm.h"
#include "prshma.h"
#include "prsystem.h"
#include "prthread.h"
#include "prtime.h"
#include "prtpool.h"
#include "prtrace.h"
#include "prtypes.h"
#include "prvrsion.h"
#include "prwin16.h"