summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-08-22 15:56:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-08-22 15:56:20 (GMT)
commit9cc69e82928bdd3735e6aeb035c87d93cedf2735 (patch)
treeb580a505aded05e6fea03be71e24197e41f35923 /Modules
parent21ec23413e1bc722f2ede890c0afff01fbe6bbcf (diff)
downloadCMake-9cc69e82928bdd3735e6aeb035c87d93cedf2735.zip
CMake-9cc69e82928bdd3735e6aeb035c87d93cedf2735.tar.gz
CMake-9cc69e82928bdd3735e6aeb035c87d93cedf2735.tar.bz2
ENH: add configure file for gcc under windows
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-gcc.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-gcc.cmake b/Modules/Platform/Windows-gcc.cmake
new file mode 100644
index 0000000..5b50043
--- /dev/null
+++ b/Modules/Platform/Windows-gcc.cmake
@@ -0,0 +1,14 @@
+SET(CMAKE_LINK_LIBRARY_SUFFIX "")
+SET(CMAKE_STATIC_LIBRARY_PREFIX "lib")
+SET(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
+SET(CMAKE_SHARED_LIBRARY_PREFIX "lib") # lib
+SET(CMAKE_SHARED_LIBRARY_SUFFIX ".so") # .so
+SET(CMAKE_DL_LIBS "")
+SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") # -pic
+SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") # -shared
+SET(CMAKE_SHARED_LIBRARY_LINK_FLAGS "") # +s, flag for exe link to use shared lib
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "") # -rpath
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP "") # : or empty
+SET(CMAKE_LIBRARY_PATH_FLAG "-L")
+SET(CMAKE_LINK_LIBRARY_FLAG "-l")
+