mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[CMAKE]: Don't prefix DLLs with "lib".
[CMAKE]: Add our libgcc by default. svn path=/branches/cmake-bringup/; revision=48458
This commit is contained in:
parent
3930317e12
commit
fc5ac84ba5
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ include(CMakeMacros.cmake)
|
|||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
|
||||
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
||||
|
||||
add_definitions(-D__REACTOS__)
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ SET(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -x assembler-with-cpp -o <OBJ
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue