- Explicitly disable auto imports, and fix the modules that were missed out by the previous related commit.
- Dedicated to Usurp.

svn path=/branches/cmake-bringup/; revision=49497
This commit is contained in:
Amine Khaldi 2010-11-05 21:22:07 +00:00
parent 97863bb997
commit 7c79c0ae87
5 changed files with 16 additions and 9 deletions

View file

@ -8,8 +8,10 @@ set_unicode()
#jgardou
#set_cpp()
add_definitions(-DWIN32)
add_definitions(-D__WINDRES__)
add_definitions(
-DWIN32
-D__WINDRES__
-D_DLL -D__USE_CRTIMP)
#add_pch(explorer ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
@ -47,7 +49,7 @@ list(APPEND SOURCE
utility/dragdropimpl.cpp
utility/utility.cpp
utility/xmlstorage.cpp
utility/splitpath.c
# utility/splitpath.c msvcrt has _wsplitpath already
utility/window.cpp
utility/shellbrowserimpl.cpp) # utility/shelltests.cpp
@ -78,7 +80,7 @@ target_link_libraries(explorer
-lmsvcrt
-lkernel32
-lntdll)
set_image_base(explorer 0x00400000)
add_dependencies(explorer psdk buildno_header)