Lines Matching full:cmake
11 @section compile_cmake Using CMake
13 GLFW uses [CMake](http://www.cmake.org/) to generate project files or makefiles
16 Homebrew, you can simply install its CMake package. If not, you can download
17 installers for Windows and OS X from the [CMake website](http://www.cmake.org/).
19 @note CMake only generates project files or makefiles. It does not compile the
27 Once you have installed CMake, make sure that all other dependencies are
36 contains all the necessary headers, link libraries and tools except for CMake.
43 headers, link libraries and tools except for CMake. Move on to @ref
54 GLFW has CMake toolchain files in the `CMake/` directory that allow for easy
59 cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain-file> .
69 cmake -DCMAKE_TOOLCHAIN_FILE=CMake/x86_64-w64-mingw32.cmake .
73 [CMake Cross Compiling](http://www.paraview.org/Wiki/CMake_Cross_Compiling) on
74 the CMake wiki.
81 Xcode comes with all necessary tools except for CMake. The required headers
99 @subsection compile_generate Generating build files with CMake
102 files or makefiles for your development environment. CMake needs to know two
115 @subsubsection compile_generate_cli Generating files with the CMake command-line tool
118 (i.e. _not_ the `src` subdirectory) and run CMake. The current directory is
124 cmake .
128 it and run CMake with the (relative or absolute) path to the root of the source
134 cmake <glfw-root-dir>
141 @subsubsection compile_generate_gui Generating files with the CMake GUI
162 @subsection compile_options CMake options
164 The CMake files for GLFW provide a number of options, although not all are
166 among projects using CMake and so have no `GLFW_` prefix.
168 If you are using the GUI version of CMake, these are listed and can be changed
169 from there. If you are using the command-line version of CMake you can use the
172 `cmake-curses-gui` package.
174 Finally, if you don't want to use any GUI, you can set options from the `cmake`
178 cmake -DBUILD_SHARED_LIBS=ON .
182 @subsubsection compile_options_shared Shared CMake options
204 @subsubsection compile_options_osx OS X specific CMake options
216 @subsubsection compile_options_win32 Windows specific CMake options
231 If you wish to compile GLFW without its CMake build environment then you will
237 When building with CMake, the `glfw_config.h` configuration header is generated
238 based on the current platform and CMake options. The GLFW CMake environment