-
-
Notifications
You must be signed in to change notification settings - Fork 107
Home
Krazer edited this page Dec 6, 2020
·
13 revisions
FastNoise2 use cmake for compilation, install cmake with your os support.
Download from https://cmake.org/download/ and install
ubuntu
sudo apt-get install cmake
and others...
Once you have cmake cd to the FastNoise repo directory and run
cmake -H. -Bbuild
(with the latest versions of cmake you can use -S.
rather then -H.
)
after cmake completes, cd to the build directory and run make.
You can either open the solution file in the FastNoise repo/build directory with Visual Studio and compile or run
cmake --build build --config {build type}
{build type} either Debug
or Release
.
Either run make
cd build
make
or with cmake
cmake --build build --config {build type}
{build type} either Debug
or Release
.
cmake - (install will be added soon)
Visual Studio - (soon to be added)
cmake - (install will be added soon)
native - clang
clang++ -o main {yourcpp}.cpp -I{directory of FastNoise includes} -L{directory of FastNoise libs} -lFastNoise
You may need the following depending on shared/static mode when compiling
-Wl,-Bstatic
or
-Wl,-Bdynamic