summaryrefslogtreecommitdiff
path: root/DevIL/README.cmake
blob: 4d516fb71f32bdfb00864d74bb9a5aa8a0da9585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Build DevIL with CMake
----------------------


For Linux/Unix/OSX/mingw, using makefiles:

    $ mkdir build
    $ cd build
    $ cmake ..
    $ make
    $ make install

To generate visual studio project files (untested!):

    makedir build
    cd build
    cmake -G"Visual Studio 14 2015" ..

See here for list of generators:
http://www.cmake.org/cmake/help/v3.3/manual/cmake-generators.7.html



Debug/Release/etc:

    $ cmake -DCMAKE_BUILD_TYPE=Debug ..