Author: sir_richard
Date: Wed Aug 4 14:42:05 2010
New Revision: 48458
URL:
http://svn.reactos.org/svn/reactos?rev=48458&view=rev
Log:
[CMAKE]: Don't prefix DLLs with "lib".
[CMAKE]: Add our libgcc by default.
Modified:
branches/cmake-bringup/CMakeLists.txt
branches/cmake-bringup/toolchain-mingw32.cmake
Modified: branches/cmake-bringup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeLists.txt?re…
==============================================================================
--- branches/cmake-bringup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeLists.txt [iso-8859-1] Wed Aug 4 14:42:05 2010
@@ -5,6 +5,7 @@
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
+set(CMAKE_SHARED_LIBRARY_PREFIX "")
add_definitions(-D__REACTOS__)
Modified: branches/cmake-bringup/toolchain-mingw32.cmake
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/toolchain-mingw32…
==============================================================================
--- branches/cmake-bringup/toolchain-mingw32.cmake [iso-8859-1] (original)
+++ branches/cmake-bringup/toolchain-mingw32.cmake [iso-8859-1] Wed Aug 4 14:42:05 2010
@@ -21,7 +21,7 @@
SET(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff
-I${REACTOS_SOURCE_DIR}/include/ -I${REACTOS_BINARY_DIR}/include/reactos -i <SOURCE>
-o <OBJECT> <DEFINES> -DRC_INVOKED")
# Use stdcall fixups, and don't link with anything by default unless we say so
-set(CMAKE_C_STANDARD_LIBRARIES "") # We should add the environment libgcc here
+set(CMAKE_C_STANDARD_LIBRARIES "-lgcc") # We should add the environment libgcc
here
SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--enable-stdcall-fixup -Wl,--kill-at
-nodefaultlibs -nostdlib")
# adjust the default behaviour of the FIND_XXX() commands: