Skip to content

Commit

Permalink
updated NOTES.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jul 23, 2024
1 parent b83f481 commit 65d0858
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,13 @@ CMake confusions:
also cross-platform or cross-shell so it knows which OS or shell is used and will escape
correctly

- MSVC vs CMAKE_CXX_COMPILER_ID STREQUAL "MSVC"
- they are not the same, MSVC is also set for clang-cl with MSVC
- clang-cl with MSVC matches:
MSVC AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC"
- so if(MSVC) matches both or all MSVC-like compilers
- ❗but if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") matches the cl.exe MSVC compiler only


TinyORM CMake build:
--------------------
Expand Down

0 comments on commit 65d0858

Please sign in to comment.