ENH: typo
[cmake.git] / Modules / Platform / Windows.cmake
blob09cb8d3030ccfaa0be0a038611aadaedd5b3cfc2
1 SET(WIN32 1)
3 SET(CMAKE_STATIC_LIBRARY_PREFIX "")
4 SET(CMAKE_STATIC_LIBRARY_SUFFIX ".lib")
5 SET(CMAKE_SHARED_LIBRARY_PREFIX "")          # lib
6 SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dll")          # .so
7 SET(CMAKE_IMPORT_LIBRARY_PREFIX "")
8 SET(CMAKE_IMPORT_LIBRARY_SUFFIX ".lib")
9 SET(CMAKE_EXECUTABLE_SUFFIX ".exe")          # .exe
10 SET(CMAKE_LINK_LIBRARY_SUFFIX ".lib")
11 SET(CMAKE_DL_LIBS "")
13 SET(CMAKE_FIND_LIBRARY_PREFIXES "")
14 SET(CMAKE_FIND_LIBRARY_SUFFIXES ".lib")
16 # for borland make long command lines are redirected to a file
17 # with the following syntax, see Windows-bcc32.cmake for use
18 IF(CMAKE_GENERATOR MATCHES "Borland")
19   SET(CMAKE_START_TEMP_FILE "@&&|\n")
20   SET(CMAKE_END_TEMP_FILE "\n|")
21 ENDIF(CMAKE_GENERATOR MATCHES "Borland")
23 # for nmake make long command lines are redirected to a file
24 # with the following syntax, see Windows-bcc32.cmake for use
25 IF(CMAKE_GENERATOR MATCHES "NMake")
26   SET(CMAKE_START_TEMP_FILE "@<<\n")
27   SET(CMAKE_END_TEMP_FILE "\n<<")
28 ENDIF(CMAKE_GENERATOR MATCHES "NMake")
30 INCLUDE(Platform/WindowsPaths)
32 # uncomment these out to debug nmake and borland makefiles
33 #SET(CMAKE_START_TEMP_FILE "")
34 #SET(CMAKE_END_TEMP_FILE "")
35 #SET(CMAKE_VERBOSE_MAKEFILE 1)