shithub: dumb

Download patch

ref: 1f29f914515697d35d5fff400f9f396bf5b4ffaa
parent: aee88d88985e6ec8af126d49f578cfa294a68174
author: Tuomas Virtanen <[email protected]>
date: Mon Dec 14 15:04:11 EST 2015

Update CMake readme file

--- a/dumb/cmake/readme.txt
+++ b/dumb/cmake/readme.txt
@@ -17,7 +17,7 @@
 -----
 
 1. Create a new temporary build directory and cd into it
-2. Run libdumb cmake file with cmake (eg. `cmake -DCMAKE_INSTALL_PREFIX=/install/dir -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release path/to/dumb/cmake/dir`).
+2. Run libdumb cmake file with cmake (eg. `cmake -DCMAKE_INSTALL_PREFIX=/install/dir -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=Release path/to/dumb/cmake/dir`).
 3. Run make (eg. just `make` or `mingw32-make` or something).
 4. If needed, run make install.
 
@@ -26,6 +26,6 @@
 
 * CMAKE_INSTALL_PREFIX sets the installation path prefix
 * CMAKE_BUILD_TYPE sets the build type (eg. Release, Debug, RelWithDebInfo, MinSizeRel). Debug libraries will be named libdumbd, release libraries libdumb.
-* BUILD_SHARED_LIBS selects whether cmake should build dynamic or static library (On=shared, OFF=static)
-* BUILD_EXAMPLES selects example binaries. Note that example binaries require libargtable2 library. Enabled by default.
+* BUILD_SHARED_LIBS selects whether cmake should build dynamic or static library. On by default. (On=shared, OFF=static)
+* BUILD_EXAMPLES selects example binaries. Note that example binaries require argtable2 and SDL2 libraries. On by default.
 * You may also need to tell cmake what kind of makefiles to create with the "-G" flag. Eg. for MSYS one would say something like `cmake -G "MSYS Makefiles" .`.