Getting the sources from Git:

The latest development sources are always at Github. You can fetch the code with the following command:

git clone https://github.com/x64architecture/libicuid.git

Building instructions:

*nix

  1. mkdir build
  2. cd build
  3. For static library
    • cmake -DCMAKE_BUILD_TYPE=Release ..
  4. For dynamic library
    • cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release ..
  5. make
  6. make install

Windows

  1. mkdir build
  2. cd build
  3. For static library
    • cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ..
  4. For dynamic library
    • cmake -G"NMake Makefiles" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release ..
  5. nmake

Note: You can create Visual Studio Solution files by excluding the -G"NMake Makefiles" from the command and not running nmake