Compare commits
2 Commits
4f7bc0fae1
...
ec3e9f78ba
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ec3e9f78ba | ||
![]() |
fc16eab7dd |
19
README.md
19
README.md
@ -6,10 +6,13 @@ Parts of it based on: https://gist.github.com/HiImJulien/3eb47d7d874fe5483810bd7
|
||||
|
||||
## Requirements
|
||||
|
||||
- Clang Version 10
|
||||
- Clang Version >= 10
|
||||
- Visual Studio Build Tools: https://visualstudio.microsoft.com/downloads/
|
||||
- The following components are sufficient:
|
||||
* MSVC v142 - VS 2019 C++-x64/x86-Buildtools (v14.28)
|
||||
+ Windows 10 SDK (10.0.19041.0)
|
||||
- Qt5: https://download.qt.io/official_releases/qt
|
||||
|
||||
- again when installing it is sufficient to install msvc version of Qt5
|
||||
|
||||
## Instructions Linux
|
||||
|
||||
@ -41,16 +44,12 @@ Parts of it based on: https://gist.github.com/HiImJulien/3eb47d7d874fe5483810bd7
|
||||
|
||||
- Download and Install Qt5 (MinGW libraries not needed)
|
||||
- Clang 10 (https://releases.llvm.org/download.html)
|
||||
- Install MinGW Make
|
||||
- Install JetBrains CLion (https://jetbrains.com/clion)
|
||||
|
||||
### Steps
|
||||
|
||||
- Open project
|
||||
- Open project with CLion
|
||||
- Adjust Toolchain
|
||||
- Go to Toolchain Settings
|
||||
- Remove existing Toolchains
|
||||
- Add MinGW Toolchain
|
||||
- Adjust CMake Profiles
|
||||
- Add `-DCMAKE_TOOLCHAIN_FILE=clang_windows_toolchain.cmake` as CMake
|
||||
parameters
|
||||
- Choose Visual Studio Toolchain
|
||||
- Add to the CMake Options:
|
||||
- `-DCMAKE_TOOLCHAIN_FILE=clang_windows_toolchain.cmake`
|
@ -1,7 +1,7 @@
|
||||
# Cross toolchain configuration for using clang-cl.
|
||||
|
||||
set(WINSDK_VER "10.0.19041.0")
|
||||
set(QT5_VERSION "5.12.20")
|
||||
set(QT5_VERSION "5.12.10")
|
||||
|
||||
if(WIN32)
|
||||
set(CMAKE_C_COMPILER "C:/llvm/bin/clang-cl.exe")
|
||||
@ -25,6 +25,8 @@ else()
|
||||
set(WINSDK_BASE "${PROJECT_SOURCE_DIR}/msvc_build_tools/Kit")
|
||||
endif()
|
||||
|
||||
message(STATUS "Qt5 Directory: ${QT_INSTALL_PATH}")
|
||||
|
||||
set(CMAKE_SYSTEM_NAME Windows)
|
||||
set(CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(CMAKE_SYSTEM_PROCESSOR AMD64)
|
||||
|
Loading…
x
Reference in New Issue
Block a user