Displaying 4 results from an estimated 4 matches for "add_version_info_from_vc".
Did you mean:
add_version_info_from_vcs
2014 May 13
2
[LLVMdev] [PATCH] CMake add_version_info_from_vcs SVN_REPOSITORY
...control information to the variable VERS. For
# determining the Version Control System used (if any) it inspects the
-# existence of certain subdirectories under CMAKE_CURRENT_SOURCE_DIR.
+# existence of certain subdirectories under CMAKE_CURRENT_SOURCE_DIR
+# or optional 2nd argument.
function(add_version_info_from_vcs VERS)
string(REPLACE "svn" "" result "${${VERS}}")
+ if( ARGV1 )
+ set(CMAKE_CURRENT_SOURCE_DIR "${ARGV1}")
+ endif()
if( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.svn" )
set(result "${result}svn")
# FindSubversion does no...
2018 Nov 29
3
Errors in configuration for LLVM with CMake GUI
...CMake/share/cmake-3.13/Modules/FindSubversion.cmake:123 (message):
> Command "C:/Program Files/TortoiseSVN/bin/ info C:/llvm" failed with
> output:
>
> Call Stack (most recent call first):
> cmake/modules/VersionFromVCS.cmake:19 (subversion_wc_info)
> CMakeLists.txt:757 (add_version_info_from_vcs)
>
> LLVMHello ignored -- Loadable modules not supported on this platform.
>
> Targeting AArch64
>
> Targeting AMDGPU
>
> Targeting ARM
>
> Targeting BPF
>
> Targeting Hexagon
>
> Targeting Lanai
>
> Targeting Mips
>
> Targeting MSP430
>
>...
2018 Nov 29
2
Errors in configuration for LLVM with CMake GUI
...ke Error at C:/Program Files/CMake/share/cmake-3.13/Modules/FindSubversion.cmake:123 (message):
Command "C:/Program Files/TortoiseSVN/bin/ info C:/llvm" failed with
output:
Call Stack (most recent call first):
cmake/modules/VersionFromVCS.cmake:19 (subversion_wc_info)
CMakeLists.txt:757 (add_version_info_from_vcs)
LLVMHello ignored -- Loadable modules not supported on this platform.
Targeting AArch64
Targeting AMDGPU
Targeting ARM
Targeting BPF
Targeting Hexagon
Targeting Lanai
Targeting Mips
Targeting MSP430
Targeting NVPTX
Targeting PowerPC
Targeting Sparc
Targeting SystemZ
Targeting WebAs...
2018 Nov 29
7
Errors in configuration for LLVM with CMake GUI
I probably need GCC for Git bash. And the one I have is MinGW's GCC, which is the one for Windows. I don't know why CMake is trying to find Linux headers. Hopefully someone who knows better what to do will weigh in here.
@Jonathan Goodwin<mailto:jondgoodwin at gmail.com> , are you sure you didn't have to tell it where the header files for Windows are? If I need to specify