• Home
  • Raw
  • Download

Lines Matching full:build

6 Builds must use CMake 3.15 or higher as the build system generator. The
7 examples on this page show how to use it to generate build systems for NMake
8 (Windows) and Make (Linux and macOS), but CMake supports other build system
15 ### Configuring the build
17 To use CMake you must first configure the build. Create a build directory in
19 to generate the build system.
22 # Create a build directory
23 mkdir build
24 cd build
26 # Configure your build of choice, for example:
37 A single CMake configure can build multiple binaries for a single target CPU
39 will include the build variant as a postfix. It is possible to build any set of
48 Once you have configured the build you can use NMake to compile the project
49 from your build dir, and install to your target install directory.
52 # Run a build and install build outputs in `${CMAKE_INSTALL_PREFIX}/astcenc/`
53 cd build
63 ### Configuring the build
65 To use CMake you must first configure the build. Create a build directory
67 to generate the build system.
73 # Create a build directory
74 mkdir build
75 cd build
77 # Configure your build of choice, for example:
87 # macOS universal binary build
92 A single CMake configure can build multiple binaries for a single target CPU
94 will include the build variant as a postfix. It is possible to build any set of
97 For macOS, we additionally support the ability to build a universal binary,
100 built binary. To build a universal binary select a single x86 variant and a
103 (e.g. by XCode-generated build commands) it will be validated against the other
108 Once you have configured the build you can use Make to compile the project from
109 your build dir, and install to your target install directory.
112 # Run a build and install build outputs in `${CMAKE_INSTALL_PREFIX}/astcenc/`
113 cd build
117 ## Advanced build options
120 the build system.
122 ### Build Types
128 | Release | Optimized release build |
129 | RelWithDebInfo | Optimized release build with debug info |
130 | Debug | Unoptimized debug build with debug info |
139 performance can be improved by limiting the block sizes supported in the build
141 configuring. Legal block sizes that are unavailable in a restricted build will
146 All normal builds are designed to be invariant, so any build from the same git
156 development purposes it is possible to build an intrinsic-free build which uses
174 To build unit tests add `-DUNITTEST=ON` to the CMake command line when
177 To run unit tests use the CMake `ctest` utility from your build directory after
181 cd build
188 supports it. To build binaries with ASAN checking enabled add `-DASAN=ON` to
194 the current CMake configuration using the `package` build target
197 # Run a build and package build outputs in `./astcenc-<ver>-<os>-<arch>.<fmt>`
198 cd build