2012-08-13 21:47:32 +04:00
|
|
|
set(WIN32 1)
|
2007-08-09 22:45:23 +04:00
|
|
|
|
2014-07-28 22:14:58 +04:00
|
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "WindowsCE")
|
|
|
|
set(WINCE 1)
|
|
|
|
endif()
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_STATIC_LIBRARY_PREFIX "")
|
|
|
|
set(CMAKE_STATIC_LIBRARY_SUFFIX ".lib")
|
|
|
|
set(CMAKE_SHARED_LIBRARY_PREFIX "") # lib
|
|
|
|
set(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") # .so
|
|
|
|
set(CMAKE_IMPORT_LIBRARY_PREFIX "")
|
|
|
|
set(CMAKE_IMPORT_LIBRARY_SUFFIX ".lib")
|
|
|
|
set(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe
|
|
|
|
set(CMAKE_LINK_LIBRARY_SUFFIX ".lib")
|
|
|
|
set(CMAKE_DL_LIBS "")
|
2003-08-22 00:22:23 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_FIND_LIBRARY_PREFIXES "")
|
|
|
|
set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib")
|
2006-02-09 23:05:13 +03:00
|
|
|
|
2003-08-22 00:22:23 +04:00
|
|
|
# for borland make long command lines are redirected to a file
|
|
|
|
# with the following syntax, see Windows-bcc32.cmake for use
|
2012-08-13 21:47:32 +04:00
|
|
|
if(CMAKE_GENERATOR MATCHES "Borland")
|
|
|
|
set(CMAKE_START_TEMP_FILE "@&&|\n")
|
|
|
|
set(CMAKE_END_TEMP_FILE "\n|")
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
2003-08-22 00:22:23 +04:00
|
|
|
|
|
|
|
# for nmake make long command lines are redirected to a file
|
|
|
|
# with the following syntax, see Windows-bcc32.cmake for use
|
2012-08-13 21:47:32 +04:00
|
|
|
if(CMAKE_GENERATOR MATCHES "NMake")
|
|
|
|
set(CMAKE_START_TEMP_FILE "@<<\n")
|
|
|
|
set(CMAKE_END_TEMP_FILE "\n<<")
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
2003-08-22 00:22:23 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
include(Platform/WindowsPaths)
|
2007-08-02 19:17:32 +04:00
|
|
|
|
2003-08-22 00:22:23 +04:00
|
|
|
# uncomment these out to debug nmake and borland makefiles
|
2012-08-13 21:47:32 +04:00
|
|
|
#set(CMAKE_START_TEMP_FILE "")
|
|
|
|
#set(CMAKE_END_TEMP_FILE "")
|
|
|
|
#set(CMAKE_VERBOSE_MAKEFILE 1)
|
2003-08-22 00:22:23 +04:00
|
|
|
|