Lines Matching +full:expand +full:- +full:archive
5 # Use of this source code is governed by a BSD-style license that can be
12 gn gen out/config --ide=json --json-ide-script=../../gn/gn_to_cmake.py
16 gn gen out/config --ide=json
19 The first is recommended, as it will auto-update.
49 CMP0037 in CMake 3.0 restricts target names to "^[A-Za-z0-9_.:+-]+$"
53 if c in string.ascii_letters or c in string.digits or c in '_.+-':
146 'static_library': CMakeTargetType('add_library', 'STATIC', 'ARCHIVE', True),
204 if toolchain_separator == -1:
210 toolchain = gn_target_name[toolchain_separator + 1:-1]
221 cmake_target_name += '--' + toolchain
251 out.write(' COMMAND ${CMAKE_COMMAND} -E make_directory "')
320 out.write(' COMMAND ${CMAKE_COMMAND} -E make_directory "')
325 # TODO: need to expand {{xxx}} in arguments
332 expand = functools.partial(ExpandPlaceholders, source_abs_path)
333 out.write('"\n "'.join(map(CMakeStringEscape, map(expand,arguments))))
381 out.write(' COMMAND ${CMAKE_COMMAND} -E copy "')
383 out.write(' COMMAND ${CMAKE_COMMAND} -E copy_directory "')
517 # Only executables and non-OBJECT libraries may reference an OBJECT library.
598 # Non-library dependencies.
607 # Non-OBJECT library dependencies.
621 external_library = external_library[:-len('.framework')]
661 # gn gen out/config --ide=json --json-ide-script=../../gn/gn_to_cmake.py
664 out.write(' ninja -C "')
685 # The following appears to be as-yet undocumented.
688 # ASM-ATT does not support .S files.
689 # output.write('enable_language(ASM-ATT)\n')
691 # Current issues with automatic re-generation: