Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Add ClangCL profiles #791

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

build: Add ClangCL profiles #791

wants to merge 4 commits into from

Conversation

alichraghi
Copy link
Member

Also fix some compilation errors catched by clang

Description

Testing

TODO list:

Also fix some compilation errors catched by clang

Signed-off-by: Ali Cheraghi <[email protected]>
3rdparty/CMakeLists.txt Outdated Show resolved Hide resolved
3rdparty/dxc/CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
cmake/adjust/template/vendor/CXX_MSVC.cmake Outdated Show resolved Hide resolved
cmake/common.cmake Outdated Show resolved Hide resolved
src/nbl/builtin/utils.cmake Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
@@ -173,7 +213,7 @@ function(nbl_adjust_flags)

set(MAPPED_CONFIG $<TARGET_GENEX_EVAL:${NBL_TARGET_ITEM},$<TARGET_PROPERTY:${NBL_TARGET_ITEM},NBL_CONFIGURATION_MAP>>)

if(MSVC)
if(MSVC AND CMAKE_CXX_COMPILER_ID STREQUAL MSVC)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if(CMAKE_CXX_COMPILER_ID STREQUAL MSVC)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah was pretty sure i changed this..

Signed-off-by: Ali Cheraghi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants