[CMAKE]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 25 Sep 2010 19:17:39 +0000 (19:17 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 25 Sep 2010 19:17:39 +0000 (19:17 +0000)
Add explorer to build.
Not enabled now, it links but executable is not valid.

svn path=/branches/cmake-bringup/; revision=48887

base/shell/explorer/CMakeLists.txt [new file with mode: 0644]
base/shell/explorer/notifyhook/CMakeLists.txt [new file with mode: 0644]
importlibs/libcoldname.a [new file with mode: 0644]
importlibs/libcomctl32.a [new file with mode: 0644]
importlibs/libmsimg32.a [new file with mode: 0644]
importlibs/libole32.a [new file with mode: 0644]
importlibs/liboleaut32.a [new file with mode: 0644]
importlibs/libws2_32.a [new file with mode: 0644]

diff --git a/base/shell/explorer/CMakeLists.txt b/base/shell/explorer/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9fe0290
--- /dev/null
@@ -0,0 +1,70 @@
+add_subdirectory(notifyhook)
+
+add_definitions(-DUNICODE -D_UNICODE)
+add_definitions(-DWIN32)
+add_definitions(-D__WINDRES__)
+
+#add_pch(explorer ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+
+list(APPEND SOURCE
+    shell/mainframe.cpp
+    shell/unixfs.cpp
+    shell/ntobjfs.cpp
+    shell/filechild.cpp
+    shell/shellfs.cpp
+    shell/fatfs.cpp
+    shell/pane.cpp
+    shell/regfs.cpp
+    shell/webchild.cpp
+    shell/entries.cpp
+    shell/shellbrowser.cpp
+    shell/winfs.cpp
+    dialogs/searchprogram.cpp
+    dialogs/settings.cpp
+    i386-stub-win32.c
+    taskbar/taskbar.cpp
+    taskbar/favorites.cpp
+    taskbar/quicklaunch.cpp
+    taskbar/desktopbar.cpp
+    taskbar/startmenu.cpp
+    taskbar/traynotify.cpp
+    precomp.cpp
+    services/startup.c
+    services/shellservices.cpp
+    desktop/desktop.cpp
+    explorer.cpp
+    utility/xs-native.cpp
+    utility/shellclasses.cpp
+    utility/dragdropimpl.cpp
+    utility/utility.cpp
+    utility/xmlstorage.cpp
+    utility/splitpath.c
+    utility/window.cpp
+    utility/shellbrowserimpl.cpp) #    utility/shelltests.cpp
+
+
+add_executable(explorer ${SOURCE}) #${CMAKE_CURRENT_BINARY_DIR}/explorer_precomp.h.gch ${SOURCE})
+
+set_module_type(explorer win32gui)
+
+target_link_libraries(explorer
+    mingw_wmain
+    mingw_common
+    coldname
+    oldnames
+    wine
+    uuid)
+    
+add_importlibs(explorer 
+    advapi32
+    gdi32
+    user32
+    ws2_32
+    msimg32
+    comctl32
+    ole32
+    oleaut32
+    shell32
+    notifyhook
+    msvcrt)
diff --git a/base/shell/explorer/notifyhook/CMakeLists.txt b/base/shell/explorer/notifyhook/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ad94a20
--- /dev/null
@@ -0,0 +1,10 @@
+add_definitions(-D_NOTIFYHOOK_IMPL)
+
+add_library(notifyhook SHARED notifyhook.c ${CMAKE_CURRENT_SOURCE_DIR}/notifyhook.rc)
+
+set_module_type(notifyhook win32dll)
+
+target_link_libraries(notifyhook 
+    ${CMAKE_CURRENT_SOURCE_DIR}/notifyhook.def
+    -lkernel32
+    -luser32)
\ No newline at end of file
diff --git a/importlibs/libcoldname.a b/importlibs/libcoldname.a
new file mode 100644 (file)
index 0000000..2a0f7cf
Binary files /dev/null and b/importlibs/libcoldname.a differ
diff --git a/importlibs/libcomctl32.a b/importlibs/libcomctl32.a
new file mode 100644 (file)
index 0000000..483cb98
Binary files /dev/null and b/importlibs/libcomctl32.a differ
diff --git a/importlibs/libmsimg32.a b/importlibs/libmsimg32.a
new file mode 100644 (file)
index 0000000..b970e35
Binary files /dev/null and b/importlibs/libmsimg32.a differ
diff --git a/importlibs/libole32.a b/importlibs/libole32.a
new file mode 100644 (file)
index 0000000..9182a28
Binary files /dev/null and b/importlibs/libole32.a differ
diff --git a/importlibs/liboleaut32.a b/importlibs/liboleaut32.a
new file mode 100644 (file)
index 0000000..c90ee24
Binary files /dev/null and b/importlibs/liboleaut32.a differ
diff --git a/importlibs/libws2_32.a b/importlibs/libws2_32.a
new file mode 100644 (file)
index 0000000..5e8b5f5
Binary files /dev/null and b/importlibs/libws2_32.a differ