зеркало из https://github.com/dotnet/llilc.git
Merge pull request #460 from richardlford/driverconfig
Correct main CMakeLists.txt file for standalone executables.
This commit is contained in:
Коммит
2ad3639ae1
|
@ -87,6 +87,10 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
|
|||
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
|
||||
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
|
||||
|
||||
# They are used as destination of target generators.
|
||||
set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
|
||||
set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
|
||||
|
||||
set( LLILC_BUILT_STANDALONE 1 )
|
||||
|
||||
find_package(LibXml2)
|
||||
|
|
Загрузка…
Ссылка в новой задаче