[VGAFONTEDIT]

- Fix CMake script (for PCH)

[IMAGESOFT]
- Fix CMake script (for PCH)

[GREEN]
- Add header guard
- Fix CMake script (for PCH)

This fixes rosapps build with RosBE 2.1.1

CORE-7716

svn path=/trunk/; revision=62454
This commit is contained in:
Pierre Schweitzer
2014-03-08 08:47:03 +00:00
parent 70dc7b586e
commit ed057abe86
4 changed files with 12 additions and 6 deletions

View File

@@ -8,10 +8,10 @@ list(APPEND SOURCE
mainwnd.c
misc.c
opensave.c
vgafontedit.rc)
precomp.h)
add_executable(vgafontedit ${SOURCE} vgafontedit.rc)
add_pch(vgafontedit precomp.h SOURCE)
add_executable(vgafontedit ${SOURCE})
set_module_type(vgafontedit win32gui UNICODE)
add_importlibs(vgafontedit user32 gdi32 comdlg32 msvcrt kernel32)
add_cd_file(TARGET vgafontedit DESTINATION reactos/system32 FOR all)

View File

@@ -13,10 +13,11 @@ list(APPEND SOURCE
misc.c
opensave.c
tooldock.c
imagesoft.rc)
precomp.h
)
add_executable(imagesoft ${SOURCE} imagesoft.rc)
add_pch(imagesoft precomp.h SOURCE)
add_executable(imagesoft ${SOURCE})
set_module_type(imagesoft win32gui UNICODE)
add_importlibs(imagesoft gdi32 user32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)
add_cd_file(TARGET imagesoft DESTINATION reactos/system32 FOR all)

View File

@@ -8,9 +8,9 @@ list(APPEND SOURCE
pnp.c
power.c
screen.c
green.rc)
green.h)
add_library(green SHARED ${SOURCE})
add_library(green SHARED ${SOURCE} green.rc)
add_pch(green green.h SOURCE)
set_module_type(green kernelmodedriver)
add_importlibs(green ntoskrnl hal)

View File

@@ -1,3 +1,6 @@
#ifndef __GREEN_H__
#define __GREEN_H__
#include <ntddk.h>
#include <ntifs.h>
#include <ntndk.h>
@@ -191,3 +194,5 @@ GreenDuplicateUnicodeString(
IN ULONG Flags,
IN PCUNICODE_STRING SourceString,
OUT PUNICODE_STRING DestinationString);
#endif