Lines Matching +full:cmake +full:- +full:args
7 # http://www.apache.org/licenses/LICENSE-2.0
40 # libgav1_add_executable(NAME <name> SOURCES <sources> [optional args])
42 # Optional args:
43 # cmake-format: off
44 # - OUTPUT_NAME: Override output file basename. Target basename defaults to
46 # - TEST: Flag. Presence means treat executable as a test.
47 # - DEFINES: List of preprocessor macro definitions.
48 # - INCLUDES: list of include directories for the target.
49 # - COMPILE_FLAGS: list of compiler flags for the target.
50 # - LINK_FLAGS: List of linker flags for the target.
51 # - OBJLIB_DEPS: List of CMake object library target dependencies.
52 # - LIB_DEPS: List of CMake library dependencies.
53 # cmake-format: on
82 message("--------- libgav1_add_executable ---------\n"
94 "------------------------------------------\n")
186 # libraries. Since the target created here is an executable, and CMake
192 list(INSERT exe_LIB_DEPS 0 -Wl,--start-group)
193 list(APPEND exe_LIB_DEPS -Wl,--end-group)
202 # libgav1_add_library(NAME <name> TYPE <type> SOURCES <sources> [optional args])
204 # Optional args:
205 # cmake-format: off
206 # - OUTPUT_NAME: Override output file basename. Target basename defaults to
207 # NAME. OUTPUT_NAME is ignored when BUILD_SHARED_LIBS is enabled and CMake
210 # - TEST: Flag. Presence means treat library as a test.
211 # - DEFINES: List of preprocessor macro definitions.
212 # - INCLUDES: list of include directories for the target.
213 # - COMPILE_FLAGS: list of compiler flags for the target.
214 # - LINK_FLAGS: List of linker flags for the target.
215 # - OBJLIB_DEPS: List of CMake object library target dependencies.
216 # - LIB_DEPS: List of CMake library dependencies.
217 # - PUBLIC_INCLUDES: List of include paths to export to dependents.
218 # cmake-format: on
221 # cmake-format: off
222 # - When TEST is specified sources are added to $libgav1_test_sources.
223 # - Otherwise sources are added to $libgav1_sources.
224 # cmake-format: on
227 # cmake-format: off
228 # - Targets are always added to $libgav1_targets.
229 # - When the TEST flag is specified, targets are added to
231 # - When TEST is not specified:
232 # - Libraries of type SHARED are added to $libgav1_dylib_targets.
233 # - Libraries of type OBJECT are added to $libgav1_objlib_targets.
234 # - Libraries of type STATIC are added to $libgav1_lib_targets.
235 # cmake-format: on
258 message("--------- libgav1_add_library ---------\n"
271 "---------------------------------------\n")
342 list(INSERT lib_LIB_DEPS 0 -Wl,-force_load)
344 list(INSERT lib_LIB_DEPS 0 -Wl,--whole-archive)
345 list(APPEND lib_LIB_DEPS -Wl,--no-whole-archive)
353 # Non-MSVC generators prepend lib to static lib target file names. Libgav1
377 # This is a header only target. Tell CMake the link language.