diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-03-13 20:54:37 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-07-17 20:54:10 (GMT) |
commit | b01f5eb079ad2cb2ac4a114132f6bd12daa712d9 (patch) | |
tree | 7474b0af97f75e0e46d613608f9440dec0165815 /Modules/Platform/Windows.cmake | |
parent | d84681d8f068225f786453a5a77791a1eb8e5459 (diff) | |
download | CMake-b01f5eb079ad2cb2ac4a114132f6bd12daa712d9.zip CMake-b01f5eb079ad2cb2ac4a114132f6bd12daa712d9.tar.gz CMake-b01f5eb079ad2cb2ac4a114132f6bd12daa712d9.tar.bz2 |
Windows: Add experimental WindowsKernelModeDriver platform
Diffstat (limited to 'Modules/Platform/Windows.cmake')
-rw-r--r-- | Modules/Platform/Windows.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/Platform/Windows.cmake b/Modules/Platform/Windows.cmake index 8697e7a..1bf39cf 100644 --- a/Modules/Platform/Windows.cmake +++ b/Modules/Platform/Windows.cmake @@ -1,7 +1,11 @@ set(CMAKE_STATIC_LIBRARY_PREFIX "") set(CMAKE_STATIC_LIBRARY_SUFFIX ".lib") set(CMAKE_SHARED_LIBRARY_PREFIX "") # lib -set(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") # .so +if(CMAKE_SYSTEM_NAME STREQUAL "WindowsKernelModeDriver") + set(CMAKE_SHARED_LIBRARY_SUFFIX ".sys") # .so +else() + set(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") # .so +endif() set(CMAKE_IMPORT_LIBRARY_PREFIX "") set(CMAKE_IMPORT_LIBRARY_SUFFIX ".lib") set(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe |