- A few cmake fixes

svn path=/trunk/; revision=69321
This commit is contained in:
Ged Murphy 2015-09-22 21:44:19 +00:00
parent e82b2a4870
commit 5aaa6edd08
8 changed files with 17 additions and 8 deletions

View file

@ -3,7 +3,10 @@ spec2def(devmgr.dll devmgr.spec ADD_IMPORTLIB)
set_cpp(WITH_RTTI WITH_RUNTIME)
include_directories(${REACTOS_SOURCE_DIR}/lib/atl includes devmgmt)
include_directories(
${REACTOS_SOURCE_DIR}/include/reactos/dll
${REACTOS_SOURCE_DIR}/lib/atl
includes)
list(APPEND SOURCE
stdafx.h
@ -13,7 +16,6 @@ list(APPEND SOURCE
properties/hwpage.cpp
properties/hwresource.cpp
properties/misc.cpp
properties/stubs.cpp
devmgmt/ClassNode.cpp
devmgmt/DeviceNode.cpp
devmgmt/DeviceView.cpp
@ -30,4 +32,5 @@ add_library(devmgr SHARED
set_module_type(devmgr win32dll UNICODE)
target_link_libraries(devmgr uuid atlnew wine)
add_importlibs(devmgr setupapi advapi32 newdev user32 gdi32 comctl32 version msvcrt kernel32 ole32 uxtheme ntdll)
add_pch(devmgr stdafx.h SOURCE)
add_cd_file(TARGET devmgr DESTINATION reactos/system32 FOR all)

View file

@ -28,7 +28,7 @@
*/
#include "stdafx.h"
#include <devmgr\devmgr.h>"
#include <devmgr\devmgr.h>
#include "properties.h"
#include "resource.h"

View file

@ -26,7 +26,7 @@
*/
#include "stdafx.h"
#include <devmgr\devmgr.h>"
#include <devmgr\devmgr.h>
#include "properties.h"
#include "resource.h"

View file

@ -26,7 +26,7 @@
*/
#include "stdafx.h"
#include <devmgr\devmgr.h>"
#include <devmgr\devmgr.h>
#include "properties.h"
#include "resource.h"

View file

@ -8,7 +8,7 @@
*/
#include "stdafx.h"
#include <devmgr\devmgr.h>"
#include <devmgr\devmgr.h>
#include "properties.h"
#include "resource.h"

View file

@ -26,7 +26,7 @@
*/
#include "stdafx.h"
#include <devmgr\devmgr.h>"
#include <devmgr\devmgr.h>
#include "properties.h"
#include "resource.h"

View file

@ -1,7 +1,7 @@
#ifndef __DEVMGR_H
#define __DEVMGR_H
//WINE_DEFAULT_DEBUG_CHANNEL(devmgr);
WINE_DEFAULT_DEBUG_CHANNEL(devmgr);
extern HINSTANCE hDllInstance;

View file

@ -53,6 +53,8 @@ OUT LPDWORD lpReboot);
#include <process.h>
#include <WindowsX.h>
#include <strsafe.h>
#include <regstr.h>
#include <newdevp.h>
#include <setupapi.h>
#include <commctrl.h>
@ -64,4 +66,8 @@ OUT LPDWORD lpReboot);
#include <atlstr.h>
#include <atlcoll.h>
#include <wine/debug.h>
//WINE_DEFAULT_DEBUG_CHANNEL(devmgr);
#endif