diff options
author | Jeremy Koritzinsky <jekoritz@microsoft.com> | 2021-04-05 19:28:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 19:28:04 +0300 |
commit | 8c2158f9fe12c82cd3c0a7f4150773654bc78aaf (patch) | |
tree | 44c037075204154c3e9c841177b2eae1b4177e59 /eng/native/functions.cmake | |
parent | b7a164882573af99eaf200c4b21808ecaf6dbb8c (diff) |
Make Ninja the default CMake generator on Windows for the repo (#49715)
Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com>
Diffstat (limited to 'eng/native/functions.cmake')
-rw-r--r-- | eng/native/functions.cmake | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/eng/native/functions.cmake b/eng/native/functions.cmake index 3e01c275025..ae4c66091d3 100644 --- a/eng/native/functions.cmake +++ b/eng/native/functions.cmake @@ -466,34 +466,6 @@ function(add_executable_clr) _add_executable(${ARGV}) endfunction() -function(generate_module_index Target ModuleIndexFile) - if(CLR_CMAKE_HOST_WIN32) - set(scriptExt ".cmd") - else() - set(scriptExt ".sh") - endif() - - set(index_timestamp ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${Target}_index.timestamp) - - add_custom_command( - OUTPUT ${index_timestamp} - COMMAND ${CLR_ENG_NATIVE_DIR}/genmoduleindex${scriptExt} $<TARGET_FILE:${Target}> ${ModuleIndexFile} - COMMAND ${CMAKE_COMMAND} -E touch ${index_timestamp} - DEPENDS ${Target} - COMMENT "Generating ${Target} module index file -> ${ModuleIndexFile}" - ) - - set_source_files_properties( - ${ModuleIndexFile} - PROPERTIES GENERATED TRUE - ) - - add_custom_target( - ${Target}_module_index_header - DEPENDS ${index_timestamp} - ) -endfunction(generate_module_index) - # add_linker_flag(Flag [Config1 Config2 ...]) function(add_linker_flag Flag) if (ARGN STREQUAL "") |