[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 13 Oct 2010 12:11:50 +0000 (12:11 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 13 Oct 2010 12:11:50 +0000 (12:11 +0000)
- More work on the dlls. By Alexey Komarov.

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

110 files changed:
dll/3rdparty/CMakeLists.txt [new file with mode: 0644]
dll/3rdparty/dxtn/CMakeLists.txt [new file with mode: 0644]
dll/3rdparty/libjpeg/CMakeLists.txt [new file with mode: 0644]
dll/3rdparty/libpng/CMakeLists.txt [new file with mode: 0644]
dll/3rdparty/libtiff/CMakeLists.txt [new file with mode: 0644]
dll/3rdparty/libxslt/CMakeLists.txt [new file with mode: 0644]
dll/3rdparty/mesa32/CMakeLists.txt [new file with mode: 0644]
dll/CMakeLists.txt
dll/cpl/CMakeLists.txt [new file with mode: 0644]
dll/cpl/access/CMakeLists.txt [new file with mode: 0644]
dll/cpl/appwiz/CMakeLists.txt [new file with mode: 0644]
dll/cpl/console/CMakeLists.txt [new file with mode: 0644]
dll/cpl/desk/CMakeLists.txt [new file with mode: 0644]
dll/cpl/hdwwiz/CMakeLists.txt [new file with mode: 0644]
dll/cpl/input/CMakeLists.txt [new file with mode: 0644]
dll/cpl/intl/CMakeLists.txt [new file with mode: 0644]
dll/cpl/joy/CMakeLists.txt [new file with mode: 0644]
dll/cpl/main/CMakeLists.txt [new file with mode: 0644]
dll/cpl/mmsys/CMakeLists.txt [new file with mode: 0644]
dll/cpl/ncpa/CMakeLists.txt [new file with mode: 0644]
dll/cpl/odbccp32/CMakeLists.txt [new file with mode: 0644]
dll/cpl/powercfg/CMakeLists.txt [new file with mode: 0644]
dll/cpl/sysdm/CMakeLists.txt [new file with mode: 0644]
dll/cpl/telephon/CMakeLists.txt [new file with mode: 0644]
dll/cpl/timedate/CMakeLists.txt [new file with mode: 0644]
dll/cpl/usrmgr/CMakeLists.txt [new file with mode: 0644]
dll/directx/wine/CMakeLists.txt [new file with mode: 0644]
dll/directx/wine/d3d8/CMakeLists.txt [new file with mode: 0644]
dll/directx/wine/d3d9/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbda1/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbda2/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbda3/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdal/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdarme/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdarmw/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdaze/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdazel/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdbe/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdbga/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdbgm/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdbgt/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdblr/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdbr/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdbur/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdcan/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdcr/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdcz/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdcz1/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdda/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbddv/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdes/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdest/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdfc/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdfi/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdfr/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdgeo/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdgerg/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdgneo/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdgr/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdgrist/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdhe/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdheb/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdhu/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdic/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdinasa/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdinben/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdindev/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdinguj/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdinmal/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdir/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdit/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdja/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdkaz/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdko/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdla/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdlt1/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdlv/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdmac/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdne/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdno/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdpl1/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdpo/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdro/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdru/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdru1/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdsg/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdsk/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdsk1/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdsw/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdtat/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdth0/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdth1/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdth2/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdth3/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdtuf/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdtuq/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbduk/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdur/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdurs/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdus/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdusa/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdusl/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdusr/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdusx/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbduzb/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdvntc/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdycc/CMakeLists.txt [new file with mode: 0644]
dll/keyboard/kbdycl/CMakeLists.txt [new file with mode: 0644]
gcc.cmake

diff --git a/dll/3rdparty/CMakeLists.txt b/dll/3rdparty/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0bff8a5
--- /dev/null
@@ -0,0 +1,7 @@
+
+#add_subdirectory(dxtn)#disabled in trunk
+add_subdirectory(libjpeg)
+add_subdirectory(libpng)
+#add_subdirectory(libtiff)#undefined reference to `_imp____argv'
+add_subdirectory(libxslt)
+#add_subdirectory(mesa32)#FIXME
diff --git a/dll/3rdparty/dxtn/CMakeLists.txt b/dll/3rdparty/dxtn/CMakeLists.txt
new file mode 100644 (file)
index 0000000..cf273d3
--- /dev/null
@@ -0,0 +1,18 @@
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+spec2def(dxtn ${CMAKE_CURRENT_SOURCE_DIR}/dxtn.spec ${CMAKE_CURRENT_BINARY_DIR}/dxtn.def)
+
+add_library(dxtn SHARED
+    fxt1.c
+    dxtn.c
+    wrapper.c
+    texstore.c)
+
+set_entrypoint(dxtn 0)
+
+target_link_libraries(dxtn ${CMAKE_CURRENT_BINARY_DIR}/dxtn.def)
+
+add_importlibs(dxtn msvcrt)
+
+add_dependencies(dxtn dxtn_def psdk buildno_header)
diff --git a/dll/3rdparty/libjpeg/CMakeLists.txt b/dll/3rdparty/libjpeg/CMakeLists.txt
new file mode 100644 (file)
index 0000000..21f3451
--- /dev/null
@@ -0,0 +1,61 @@
+
+add_definitions(-DWIN32 -D_WINDOWS -D_MBCS -DJPEG_DLL)
+add_definitions(-Dmain=mainptr)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/libjpeg)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
+
+add_library(libjpeg SHARED
+    jaricom.c
+    jcapimin.c
+    jcapistd.c
+    jcarith.c
+    jccoefct.c
+    jccolor.c
+    jcdctmgr.c
+    jchuff.c
+    jcinit.c
+    jcmainct.c
+    jcmarker.c
+    jcmaster.c
+    jcomapi.c
+    jcparam.c
+    jcprepct.c
+    jcsample.c
+    jctrans.c
+    jdapimin.c
+    jdapistd.c
+    jdarith.c
+    jdatadst.c
+    jdatasrc.c
+    jdcoefct.c
+    jdcolor.c
+    jddctmgr.c
+    jdhuff.c
+    jdinput.c
+    jdmainct.c
+    jdmarker.c
+    jdmaster.c
+    jdmerge.c
+    jdpostct.c
+    jdsample.c
+    jdtrans.c
+    jerror.c
+    jfdctflt.c
+    jfdctfst.c
+    jfdctint.c
+    jidctflt.c
+    jidctfst.c
+    jidctint.c
+    jquant1.c
+    jquant2.c
+    jutils.c
+    jmemmgr.c
+    jmemnobs.c)
+
+set_entrypoint(libjpeg 0)
+
+add_importlibs(libjpeg msvcrt)
+
+add_dependencies(libjpeg psdk buildno_header)
diff --git a/dll/3rdparty/libpng/CMakeLists.txt b/dll/3rdparty/libpng/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3fa61ec
--- /dev/null
@@ -0,0 +1,32 @@
+
+add_definitions(-DWIN32 -DNDEBUG -D_WINDOWS -DPNG_BUILD_DLL)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/libpng)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
+
+add_library(libpng SHARED
+    png.c
+    pngerror.c
+    pngget.c
+    pngmem.c
+    pngpread.c
+    pngread.c
+    pngrio.c
+    pngrtran.c
+    pngrutil.c
+    pngset.c
+    pngtest.c
+    pngtrans.c
+    pngwio.c
+    pngwrite.c
+    pngwtran.c
+    pngwutil.c)
+
+set_entrypoint(libpng 0)
+
+target_link_libraries(libpng mingw_common zlib)
+
+add_importlibs(libpng msvcrt kernel32)
+
+add_dependencies(libpng psdk buildno_header)
diff --git a/dll/3rdparty/libtiff/CMakeLists.txt b/dll/3rdparty/libtiff/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fa07046
--- /dev/null
@@ -0,0 +1,60 @@
+
+add_definitions(
+    -DWIN32
+    -DNDEBUG
+    -DBUILD_LIBTIFF_DLL
+    -DDLL_EXPORT
+    -DUSE_WIN32_FILEIO)
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/libtiff)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
+
+add_library(libtiff SHARED
+    mkg3states.c
+    tif_aux.c
+    tif_close.c
+    tif_codec.c
+    tif_color.c
+    tif_compress.c
+    tif_dir.c
+    tif_dirinfo.c
+    tif_dirread.c
+    tif_dirwrite.c
+    tif_dumpmode.c
+    tif_error.c
+    tif_extension.c
+    tif_fax3.c
+    tif_fax3sm.c
+    tif_flush.c
+    tif_getimage.c
+    tif_jbig.c
+    tif_jpeg.c
+    tif_luv.c
+    tif_lzw.c
+    tif_next.c
+    tif_ojpeg.c
+    tif_open.c
+    tif_packbits.c
+    tif_pixarlog.c
+    tif_predict.c
+    tif_print.c
+    tif_read.c
+    tif_strip.c
+    tif_swab.c
+    tif_thunder.c
+    tif_tile.c
+    tif_version.c
+    tif_warning.c
+    tif_win32.c
+    tif_write.c
+    tif_zip.c)
+
+set_entrypoint(libtiff 0)
+
+target_link_libraries(libtiff mingw_common zlib)
+
+add_importlibs(libtiff msvcrt getopt user32 kernel32)
+
+add_dependencies(libtiff psdk buildno_header)
diff --git a/dll/3rdparty/libxslt/CMakeLists.txt b/dll/3rdparty/libxslt/CMakeLists.txt
new file mode 100644 (file)
index 0000000..51d7fe5
--- /dev/null
@@ -0,0 +1,42 @@
+
+add_definitions(
+    -DHAVE_CONFIG_H
+    -DWIN32
+    -D_WINDOWS
+    -D_MBCS
+    -DHAVE_STAT
+    -DHAVE_WIN32_THREADS
+    -D_REENTRANT
+    -D_WINSOCKAPI_
+    -DLIBXML_STATIC)
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+add_library(libxslt SHARED
+    attributes.c
+    attrvt.c
+    documents.c
+    extensions.c
+    extra.c
+    functions.c
+    imports.c
+    keys.c
+    namespaces.c
+    numbers.c
+    pattern.c
+    preproc.c
+    security.c
+    templates.c
+    transform.c
+    variables.c
+    xslt.c
+    xsltlocale.c
+    xsltutils.c)
+
+set_entrypoint(libxslt 0)
+
+target_link_libraries(libxslt libxml2)
+
+add_importlibs(libxslt msvcrt ws2_32 kernel32)
+
+add_dependencies(libxslt psdk buildno_header)
diff --git a/dll/3rdparty/mesa32/CMakeLists.txt b/dll/3rdparty/mesa32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..53cf0da
--- /dev/null
@@ -0,0 +1,272 @@
+
+add_definitions(
+    -DUSE_EXTERNAL_DXTN_LIB
+    -DBUILD_GL32
+    -DWIN32
+    -D_WINDOWS
+    -D_MBCS
+    -DHAVE_STAT
+    -DHAVE_WIN32_THREADS
+    -D_REENTRANT
+    -D_WINSOCKAPI_
+    -DLIBXML_STATIC)
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+if(ARCH MATCHES i386)
+add_definitions(
+    -DUSE_X86_ASM
+    -DUSE_MMX_ASM
+    -DUSE_SSE_ASM)
+else()
+add_definitions(-DGL_NO_STDCALL)
+endif(ARCH MATCHES i386)
+
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/main)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/glapi)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/math)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/tnl)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/shader)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/shader/grammar)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/shader/slang)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/shader/slang/OSDependent/Linux)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/shader/slang/OGLCompilersDLL)
+
+list(APPEND SOURCE
+    src/drivers/common/driverfuncs.c
+    src/drivers/windows/gdi/wgl.c
+    src/drivers/windows/gdi/wmesa.c
+    src/drivers/windows/icd/icd.c
+    src/glapi/glapi.c
+    src/glapi/glapi_getproc.c
+    src/glapi/glthread.c
+    src/main/accum.c
+    src/main/api_arrayelt.c
+    src/main/api_exec.c
+    src/main/api_loopback.c
+    src/main/api_noop.c
+    src/main/api_validate.c
+    src/main/arrayobj.c
+    src/main/attrib.c
+    src/main/blend.c
+    src/main/bufferobj.c
+    src/main/buffers.c
+    src/main/clear.c
+    src/main/clip.c
+    src/main/colortab.c
+    src/main/context.c
+    src/main/convolve.c
+    src/main/debug.c
+    src/main/depth.c
+    src/main/depthstencil.c
+    src/main/dispatch.c
+    src/main/dlist.c
+    src/main/dlopen.c
+    src/main/drawpix.c
+    src/main/enable.c
+    src/main/enums.c
+    src/main/eval.c
+    src/main/execmem.c
+    src/main/extensions.c
+    src/main/fbobject.c
+    src/main/feedback.c
+    src/main/ffvertex_prog.c
+    src/main/fog.c
+    src/main/framebuffer.c
+    src/main/get.c
+    src/main/getstring.c
+    src/main/hash.c
+    src/main/hint.c
+    src/main/histogram.c
+    src/main/image.c
+    src/main/imports.c
+    src/main/light.c
+    src/main/lines.c
+    src/main/matrix.c
+    src/main/mipmap.c
+    src/main/mm.c
+    src/main/multisample.c
+    src/main/pixel.c
+    src/main/pixelstore.c
+    src/main/points.c
+    src/main/polygon.c
+    src/main/queryobj.c
+    src/main/rastpos.c
+    src/main/rbadaptors.c
+    src/main/readpix.c
+    src/main/renderbuffer.c
+    src/main/scissor.c
+    src/main/shaders.c
+    src/main/state.c
+    src/main/stencil.c
+    src/main/texcompress.c
+    src/main/texcompress_fxt1.c
+    src/main/texcompress_s3tc.c
+    src/main/texenv.c
+    src/main/texenvprogram.c
+    src/main/texformat.c
+    src/main/texgen.c
+    src/main/teximage.c
+    src/main/texobj.c
+    src/main/texparam.c
+    src/main/texrender.c
+    src/main/texstate.c
+    src/main/texstore.c
+    src/main/varray.c
+    src/main/vtxfmt.c
+    src/math/m_debug_clip.c
+    src/math/m_debug_norm.c
+    src/math/m_debug_xform.c
+    src/math/m_eval.c
+    src/math/m_matrix.c
+    src/math/m_translate.c
+    src/math/m_vector.c
+    src/math/m_xform.c
+    src/shader/arbprogparse.c
+    src/shader/arbprogram.c
+    src/shader/atifragshader.c
+    src/shader/grammar/grammar_mesa.c
+    src/shader/nvfragparse.c
+    src/shader/nvprogram.c
+    src/shader/nvvertparse.c
+    src/shader/program.c
+    src/shader/programopt.c
+    src/shader/prog_cache.c
+    src/shader/prog_debug.c
+    src/shader/prog_execute.c
+    src/shader/prog_instruction.c
+    src/shader/prog_noise.c
+    src/shader/prog_parameter.c
+    src/shader/prog_print.c
+    src/shader/prog_statevars.c
+    src/shader/prog_uniform.c
+    src/shader/shader_api.c
+    src/shader/slang/slang_builtin.c
+    src/shader/slang/slang_codegen.c
+    src/shader/slang/slang_compile.c
+    src/shader/slang/slang_compile_function.c
+    src/shader/slang/slang_compile_operation.c
+    src/shader/slang/slang_compile_struct.c
+    src/shader/slang/slang_compile_variable.c
+    src/shader/slang/slang_emit.c
+    src/shader/slang/slang_ir.c
+    src/shader/slang/slang_label.c
+    src/shader/slang/slang_link.c
+    src/shader/slang/slang_log.c
+    src/shader/slang/slang_mem.c
+    src/shader/slang/slang_preprocess.c
+    src/shader/slang/slang_print.c
+    src/shader/slang/slang_simplify.c
+    src/shader/slang/slang_storage.c
+    src/shader/slang/slang_typeinfo.c
+    src/shader/slang/slang_utility.c
+    src/shader/slang/slang_vartable.c
+    src/swrast/s_aaline.c
+    src/swrast/s_aatriangle.c
+    src/swrast/s_accum.c
+    src/swrast/s_alpha.c
+    src/swrast/s_atifragshader.c
+    src/swrast/s_bitmap.c
+    src/swrast/s_blend.c
+    src/swrast/s_blit.c
+    src/swrast/s_buffers.c
+    src/swrast/s_context.c
+    src/swrast/s_copypix.c
+    src/swrast/s_depth.c
+    src/swrast/s_drawpix.c
+    src/swrast/s_feedback.c
+    src/swrast/s_fog.c
+    src/swrast/s_fragprog.c
+    src/swrast/s_imaging.c
+    src/swrast/s_lines.c
+    src/swrast/s_logic.c
+    src/swrast/s_masking.c
+    src/swrast/s_points.c
+    src/swrast/s_readpix.c
+    src/swrast/s_span.c
+    src/swrast/s_stencil.c
+    src/swrast/s_texcombine.c
+    src/swrast/s_texfilter.c
+    src/swrast/s_texstore.c
+    src/swrast/s_triangle.c
+    src/swrast/s_zoom.c
+    src/swrast_setup/ss_context.c
+    src/swrast_setup/ss_triangle.c
+    src/tnl/t_context.c
+    src/tnl/t_draw.c
+    src/tnl/t_pipeline.c
+    src/tnl/t_rasterpos.c
+    src/tnl/t_vb_cull.c
+    src/tnl/t_vb_fog.c
+    src/tnl/t_vb_light.c
+    src/tnl/t_vb_normals.c
+    src/tnl/t_vb_points.c
+    src/tnl/t_vb_program.c
+    src/tnl/t_vb_render.c
+    src/tnl/t_vb_texgen.c
+    src/tnl/t_vb_texmat.c
+    src/tnl/t_vb_vertex.c
+    src/tnl/t_vertex.c
+    src/tnl/t_vertex_generic.c
+    src/tnl/t_vp_build.c
+    src/vbo/vbo_context.c
+    src/vbo/vbo_exec.c
+    src/vbo/vbo_exec_api.c
+    src/vbo/vbo_exec_array.c
+    src/vbo/vbo_exec_draw.c
+    src/vbo/vbo_exec_eval.c
+    src/vbo/vbo_rebase.c
+    src/vbo/vbo_save.c
+    src/vbo/vbo_save_api.c
+    src/vbo/vbo_save_draw.c
+    src/vbo/vbo_save_loopback.c
+    src/vbo/vbo_split.c
+    src/vbo/vbo_split_copy.c
+    src/vbo/vbo_split_inplace.c)
+
+if(ARCH MATCHES i386)
+list(APPEND SOURCE
+    src/tnl/t_vertex_sse.c
+    src/x86/3dnow.c
+    src/x86/3dnow_normal.S
+    src/x86/3dnow_xform1.S
+    src/x86/3dnow_xform2.S
+    src/x86/3dnow_xform3.S
+    src/x86/3dnow_xform4.S
+    src/x86/common_x86.c
+    src/x86/common_x86_asm.S
+    src/x86/glapi_x86.S
+    src/x86/mmx_blend.S
+    src/x86/read_rgba_span_x86.S
+    src/x86/sse_normal.S
+    src/x86/sse_xform1.S
+    src/x86/sse_xform2.S
+    src/x86/sse_xform3.S
+    src/x86/sse_xform4.S
+    src/x86/sse.c
+    src/x86/x86.c
+    src/x86/x86_cliptest.S
+    src/x86/x86_xform2.S
+    src/x86/x86_xform3.S
+    src/x86/x86_xform4.S
+    src/x86/rtasm/x86sse.c)
+else()
+list(APPEND SOURCE src/x86-64/x86-64.c src/x86-64/xform4.S)
+endif(ARCH MATCHES i386)
+
+add_library(mesa32 SHARED ${SOURCE})
+
+set_entrypoint(mesa32 0)
+
+if (NOT MSVC)
+set_target_properties(mesa32 PROPERTIES LINK_FLAGS "-Wl,-w")
+endif(NOT MSVC)
+
+
+target_link_libraries(mesa32 ${CMAKE_CURRENT_BINARY_DIR}/src/drivers/windows/icd/mesa.def)
+
+add_importlibs(mesa32 gdi32 user32 ntdll)
+
+add_dependencies(mesa32 psdk buildno_header)
index ebbb58e..77a2635 100644 (file)
@@ -1,5 +1,8 @@
 
+add_subdirectory(3rdparty)
+add_subdirectory(cpl)
 add_subdirectory(directx)
+add_subdirectory(keyboard)
 add_subdirectory(nls)
 add_subdirectory(ntdll)
 add_subdirectory(shellext)
diff --git a/dll/cpl/CMakeLists.txt b/dll/cpl/CMakeLists.txt
new file mode 100644 (file)
index 0000000..65e5eaa
--- /dev/null
@@ -0,0 +1,19 @@
+
+add_subdirectory(access)
+add_subdirectory(appwiz)
+add_subdirectory(console)#Warning: console\\/lang/cs-CZ.rc:143: unrecognized escape sequence
+add_subdirectory(desk)
+add_subdirectory(hdwwiz)
+add_subdirectory(input)
+add_subdirectory(intl)
+add_subdirectory(joy)
+#add_subdirectory(liccpa)#disabled in trunk
+add_subdirectory(main)
+add_subdirectory(mmsys)
+add_subdirectory(ncpa)
+add_subdirectory(odbccp32)
+add_subdirectory(powercfg)
+add_subdirectory(sysdm)
+add_subdirectory(telephon)
+#add_subdirectory(timedate)#FIXME: timedate\\/lang/fr-FR.rc:37: syntax error
+#add_subdirectory(usrmgr)#\groups.c:436: error: 'LPNMLVDISPINFO' undeclared (first use in this function)
diff --git a/dll/cpl/access/CMakeLists.txt b/dll/cpl/access/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fc11781
--- /dev/null
@@ -0,0 +1,27 @@
+
+set_unicode()
+
+spec2def(access ${CMAKE_CURRENT_SOURCE_DIR}/access.spec ${CMAKE_CURRENT_BINARY_DIR}/access.def)
+
+add_library(access SHARED
+    access.c
+    display.c
+    general.c
+    keyboard.c
+    mouse.c
+    sound.c
+    access.rc)
+
+set_module_type(access cpl)
+
+target_link_libraries(access ${CMAKE_CURRENT_BINARY_DIR}/access.def)
+
+add_importlibs(access
+    msvcrt
+    user32
+    gdi32
+    advapi32
+    comctl32
+    kernel32)
+
+add_dependencies(access access_def)
diff --git a/dll/cpl/appwiz/CMakeLists.txt b/dll/cpl/appwiz/CMakeLists.txt
new file mode 100644 (file)
index 0000000..407b2b4
--- /dev/null
@@ -0,0 +1,24 @@
+
+set_unicode()
+
+spec2def(appwiz ${CMAKE_CURRENT_SOURCE_DIR}/appwiz.spec ${CMAKE_CURRENT_BINARY_DIR}/appwiz.def)
+
+add_library(appwiz SHARED
+    appwiz.c
+    createlink.c
+    appwiz.rc)
+
+set_module_type(appwiz cpl)
+
+target_link_libraries(appwiz ${CMAKE_CURRENT_BINARY_DIR}/appwiz.def uuid)
+
+add_importlibs(appwiz
+    msvcrt
+    user32
+    ole32
+    advapi32
+    comctl32
+    shell32
+    kernel32)
+
+add_dependencies(appwiz appwiz_def)
diff --git a/dll/cpl/console/CMakeLists.txt b/dll/cpl/console/CMakeLists.txt
new file mode 100644 (file)
index 0000000..25d21ef
--- /dev/null
@@ -0,0 +1,28 @@
+
+set_unicode()
+
+spec2def(console ${CMAKE_CURRENT_SOURCE_DIR}/console.spec ${CMAKE_CURRENT_BINARY_DIR}/console.def)
+
+list(APPEND SOURCE
+    console.c
+    options.c
+    font.c
+    layout.c
+    colors.c
+    console.rc)
+
+add_library(console SHARED ${CMAKE_CURRENT_BINARY_DIR}/console_console.h.gch ${SOURCE})
+
+set_module_type(console win32dll)
+
+target_link_libraries(console ${CMAKE_CURRENT_BINARY_DIR}/console.def)
+
+add_importlibs(console
+    msvcrt
+    user32
+    gdi32
+    comctl32
+    kernel32)
+
+add_pch(console ${CMAKE_CURRENT_SOURCE_DIR}/console.h ${SOURCE})
+add_dependencies(console console_def)
diff --git a/dll/cpl/desk/CMakeLists.txt b/dll/cpl/desk/CMakeLists.txt
new file mode 100644 (file)
index 0000000..593491f
--- /dev/null
@@ -0,0 +1,47 @@
+
+set_unicode()
+
+add_definitions(-D_WIN32)
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+spec2def(desk ${CMAKE_CURRENT_SOURCE_DIR}/desk.spec ${CMAKE_CURRENT_BINARY_DIR}/desk.def)
+
+add_library(desk SHARED
+    advmon.c
+    appearance.c
+    background.c
+    classinst.c
+    desk.c
+    devsett.c
+    dibitmap.c
+    misc.c
+    preview.c
+    screensaver.c
+    advappdlg.c
+    effappdlg.c
+    settings.c
+    monslctl.c
+    general.c
+    desk.rc
+    draw.c
+    theme.c)
+
+set_module_type(desk cpl)
+
+target_link_libraries(desk ${CMAKE_CURRENT_BINARY_DIR}/desk.def uuid)
+
+add_importlibs(desk
+    msvcrt
+    user32
+    advapi32
+    gdi32
+    comctl32
+    comdlg32
+    ole32
+    setupapi
+    shell32
+    msimg32
+    kernel32
+    ntdll)
+
+add_dependencies(desk desk_def)
diff --git a/dll/cpl/hdwwiz/CMakeLists.txt b/dll/cpl/hdwwiz/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9d2a868
--- /dev/null
@@ -0,0 +1,24 @@
+
+set_unicode()
+
+spec2def(hdwwiz ${CMAKE_CURRENT_SOURCE_DIR}/hdwwiz.spec ${CMAKE_CURRENT_BINARY_DIR}/hdwwiz.def)
+
+add_library(hdwwiz SHARED hdwwiz.c hdwwiz.rc)
+
+set_module_type(hdwwiz cpl)
+
+target_link_libraries(hdwwiz ${CMAKE_CURRENT_BINARY_DIR}/hdwwiz.def)
+
+add_importlibs(hdwwiz
+    msvcrt
+    setupapi
+    advapi32
+    comctl32
+    rpcrt4
+    user32
+    gdi32
+    devmgr
+    kernel32
+    ntdll)
+
+add_dependencies(hdwwiz hdwwiz_def)
diff --git a/dll/cpl/input/CMakeLists.txt b/dll/cpl/input/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bcc4dd8
--- /dev/null
@@ -0,0 +1,26 @@
+
+set_unicode()
+
+spec2def(input ${CMAKE_CURRENT_SOURCE_DIR}/input.spec ${CMAKE_CURRENT_BINARY_DIR}/input.def)
+
+add_library(input SHARED
+    input.c
+    settings.c
+    keysettings.c
+    add.c
+    changekeyseq.c
+    input.rc)
+
+set_module_type(input win32dll)
+
+target_link_libraries(input ${CMAKE_CURRENT_BINARY_DIR}/input.def)
+
+add_importlibs(input
+    msvcrt
+    advapi32
+    user32
+    comctl32
+    gdi32
+    kernel32)
+
+add_dependencies(input input_def)
diff --git a/dll/cpl/intl/CMakeLists.txt b/dll/cpl/intl/CMakeLists.txt
new file mode 100644 (file)
index 0000000..68e3029
--- /dev/null
@@ -0,0 +1,36 @@
+
+set_unicode()
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+spec2def(intl ${CMAKE_CURRENT_SOURCE_DIR}/intl.spec ${CMAKE_CURRENT_BINARY_DIR}/intl.def)
+
+add_library(intl SHARED
+    currency.c
+    date.c
+    generalp.c
+    intl.c
+    inplocale.c
+    numbers.c
+    time.c
+    misc.c
+    kblayouts.c
+    languages.c
+    advanced.c
+    sort.c
+    intl.rc)
+
+set_module_type(intl cpl)
+
+target_link_libraries(intl ${CMAKE_CURRENT_BINARY_DIR}/intl.def)
+
+add_importlibs(intl
+    msvcrt
+    user32
+    comctl32
+    advapi32
+    setupapi
+    shell32
+    kernel32)
+
+add_dependencies(intl intl_def)
diff --git a/dll/cpl/joy/CMakeLists.txt b/dll/cpl/joy/CMakeLists.txt
new file mode 100644 (file)
index 0000000..152153f
--- /dev/null
@@ -0,0 +1,18 @@
+
+set_unicode()
+
+spec2def(joy ${CMAKE_CURRENT_SOURCE_DIR}/joy.spec ${CMAKE_CURRENT_BINARY_DIR}/joy.def)
+
+add_library(joy SHARED joy.c joy.rc)
+
+set_module_type(joy cpl)
+
+target_link_libraries(joy ${CMAKE_CURRENT_BINARY_DIR}/joy.def uuid)
+
+add_importlibs(joy
+    user32
+    comctl32
+    ole32
+    shell32)
+
+add_dependencies(joy joy_def)
diff --git a/dll/cpl/main/CMakeLists.txt b/dll/cpl/main/CMakeLists.txt
new file mode 100644 (file)
index 0000000..487bff2
--- /dev/null
@@ -0,0 +1,29 @@
+
+set_unicode()
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+spec2def(main ${CMAKE_CURRENT_SOURCE_DIR}/main.spec ${CMAKE_CURRENT_BINARY_DIR}/main.def)
+
+add_library(main SHARED
+    keyboard.c
+    main.c
+    mouse.c
+    main.rc)
+
+set_module_type(main cpl)
+
+target_link_libraries(main ${CMAKE_CURRENT_BINARY_DIR}/main.def)
+
+add_importlibs(main
+    msvcrt
+    advapi32
+    user32
+    comctl32
+    devmgr
+    comdlg32
+    shell32
+    gdi32
+    kernel32)
+
+add_dependencies(main main_def)
diff --git a/dll/cpl/mmsys/CMakeLists.txt b/dll/cpl/mmsys/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0c15d5c
--- /dev/null
@@ -0,0 +1,34 @@
+
+set_unicode()
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+spec2def(mmsys ${CMAKE_CURRENT_SOURCE_DIR}/mmsys.spec ${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
+
+add_library(mmsys SHARED
+    mmsys.c
+    sounds.c
+    volume.c
+    audio.c
+    voice.c
+    mmsys.rc)
+
+set_module_type(mmsys cpl)
+
+target_link_libraries(mmsys ${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
+
+add_importlibs(mmsys
+    msvcrt
+    user32
+    comctl32
+    devmgr
+    gdi32
+    winmm
+    advapi32
+    shell32
+    setupapi
+    shlwapi
+    ntdll
+    kernel32)
+
+add_dependencies(mmsys mmsys_def)
diff --git a/dll/cpl/ncpa/CMakeLists.txt b/dll/cpl/ncpa/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6d5e32f
--- /dev/null
@@ -0,0 +1,17 @@
+
+set_unicode()
+
+spec2def(ncpa ${CMAKE_CURRENT_SOURCE_DIR}/ncpa.spec ${CMAKE_CURRENT_BINARY_DIR}/ncpa.def)
+
+add_library(ncpa SHARED ncpa.c)
+
+set_module_type(ncpa cpl)
+
+target_link_libraries(ncpa ${CMAKE_CURRENT_BINARY_DIR}/ncpa.def)
+
+add_importlibs(ncpa
+    msvcrt
+    advapi32
+    shell32)
+
+add_dependencies(ncpa ncpa_def)
diff --git a/dll/cpl/odbccp32/CMakeLists.txt b/dll/cpl/odbccp32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f68e629
--- /dev/null
@@ -0,0 +1,13 @@
+
+set_unicode()
+
+spec2def(odbccp32i ${CMAKE_CURRENT_SOURCE_DIR}/odbccp32.spec ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def)
+
+add_library(odbccp32i SHARED odbccp32.c odbccp32.rc)
+
+set_module_type(odbccp32i cpl)
+
+target_link_libraries(odbccp32i ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def)
+
+add_importlibs(odbccp32i user32 comctl32 kernel32)
+add_dependencies(odbccp32i odbccp32i_def)
diff --git a/dll/cpl/powercfg/CMakeLists.txt b/dll/cpl/powercfg/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a9ef13a
--- /dev/null
@@ -0,0 +1,28 @@
+
+set_unicode()
+
+spec2def(powercfg ${CMAKE_CURRENT_SOURCE_DIR}/powercfg.spec ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
+
+add_library(powercfg SHARED
+    powercfg.c
+    powershemes.c
+    alarms.c
+    advanced.c
+    hibernate.c
+    powercfg.rc)
+
+
+set_module_type(powercfg cpl)
+
+target_link_libraries(powercfg ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
+
+add_importlibs(powercfg
+    msvcrt
+    user32
+    powrprof
+    comctl32
+    shell32
+    advapi32
+    kernel32)
+
+add_dependencies(powercfg powercfg_def)
diff --git a/dll/cpl/sysdm/CMakeLists.txt b/dll/cpl/sysdm/CMakeLists.txt
new file mode 100644 (file)
index 0000000..780aa0f
--- /dev/null
@@ -0,0 +1,40 @@
+
+set_unicode()
+
+spec2def(sysdm ${CMAKE_CURRENT_SOURCE_DIR}/sysdm.spec ${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
+
+list(APPEND SOURCE
+    advanced.c
+    environment.c
+    general.c
+    hardprof.c
+    hardware.c
+    licence.c
+    startrec.c
+    sysdm.c
+    userprofile.c
+    virtmem.c
+    sysdm.rc)
+
+add_library(sysdm SHARED ${CMAKE_CURRENT_BINARY_DIR}/sysdm_precomp.h.gch ${SOURCE})
+
+set_module_type(sysdm cpl)
+
+target_link_libraries(sysdm ${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
+
+add_importlibs(sysdm
+    msvcrt
+    advapi32
+    setupapi
+    user32
+    gdi32
+    comctl32
+    msimg32
+    shell32
+    shlwapi
+    ole32
+    powrprof
+    kernel32)
+
+add_pch(sysdm ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_dependencies(sysdm sysdm_def)
diff --git a/dll/cpl/telephon/CMakeLists.txt b/dll/cpl/telephon/CMakeLists.txt
new file mode 100644 (file)
index 0000000..eb40f4d
--- /dev/null
@@ -0,0 +1,20 @@
+
+set_unicode()
+
+spec2def(telephon ${CMAKE_CURRENT_SOURCE_DIR}/telephon.spec ${CMAKE_CURRENT_BINARY_DIR}/telephon.def)
+
+add_library(telephon SHARED telephon.c telephon.rc)
+
+set_module_type(telephon cpl)
+
+target_link_libraries(telephon ${CMAKE_CURRENT_BINARY_DIR}/telephon.def uuid)
+
+add_importlibs(telephon
+    advapi32
+    user32
+    comctl32
+    ole32
+    shell32
+    kernel32)
+
+add_dependencies(telephon telephon_def)
diff --git a/dll/cpl/timedate/CMakeLists.txt b/dll/cpl/timedate/CMakeLists.txt
new file mode 100644 (file)
index 0000000..45f6434
--- /dev/null
@@ -0,0 +1,28 @@
+
+set_unicode()
+
+spec2def(timedate ${CMAKE_CURRENT_SOURCE_DIR}/timedate.spec ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
+
+add_library(timedate SHARED
+    clock.c
+    dateandtime.c
+    internettime.c
+    monthcal.c
+    ntpclient.c
+    timedate.c
+    timezone.c
+    timedate.rc)
+
+set_module_type(timedate cpl)
+
+target_link_libraries(timedate ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
+
+add_importlibs(timedate
+    advapi32
+    user32
+    gdi32
+    comctl32
+    ws2_32
+    iphlpapi)
+
+add_dependencies(timedate timedate_def)
diff --git a/dll/cpl/usrmgr/CMakeLists.txt b/dll/cpl/usrmgr/CMakeLists.txt
new file mode 100644 (file)
index 0000000..de1fd37
--- /dev/null
@@ -0,0 +1,31 @@
+
+set_unicode()
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(usrmgr ${CMAKE_CURRENT_SOURCE_DIR}/usrmgr.spec ${CMAKE_CURRENT_BINARY_DIR}/usrmgr.def)
+
+add_library(usrmgr SHARED
+    extra.c
+    groupprops.c
+    groups.c
+    misc.c
+    userprops.c
+    users.c
+    usrmgr.c
+    usrmgr.rc)
+
+set_module_type(usrmgr cpl)
+
+target_link_libraries(usrmgr ${CMAKE_CURRENT_BINARY_DIR}/usrmgr.def)
+
+add_importlibs(usrmgr
+    advapi32
+    user32
+    gdi32
+    comctl32
+    netapi32
+    ntdll)
+
+add_dependencies(usrmgr usrmgr_def)
diff --git a/dll/directx/wine/CMakeLists.txt b/dll/directx/wine/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c7ecbef
--- /dev/null
@@ -0,0 +1,24 @@
+
+#add_subdirectory(d3d8)
+#add_subdirectory(d3d9)
+#add_subdirectory(d3dx9_24)
+#add_subdirectory(d3dx9_25)
+#add_subdirectory(d3dx9_26)
+#add_subdirectory(d3dx9_27)
+#add_subdirectory(d3dx9_28)
+#add_subdirectory(d3dx9_29)
+#add_subdirectory(d3dx9_30)
+#add_subdirectory(d3dx9_31)
+#add_subdirectory(d3dx9_32)
+#add_subdirectory(d3dx9_33)
+#add_subdirectory(d3dx9_34)
+#add_subdirectory(d3dx9_35)
+#add_subdirectory(d3dx9_36)
+#add_subdirectory(d3dx9_37)
+#add_subdirectory(d3dx9_38)
+#add_subdirectory(d3dx9_39)
+#add_subdirectory(d3dx9_40)
+#add_subdirectory(d3dx9_41)
+#add_subdirectory(d3dx9_42)
+#add_subdirectory(ddraw)
+#add_subdirectory(wined3d)
diff --git a/dll/directx/wine/d3d8/CMakeLists.txt b/dll/directx/wine/d3d8/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e213775
--- /dev/null
@@ -0,0 +1,40 @@
+
+set_unicode()
+
+add_definitions(-D__WINESRC__)
+add_definitions(-DUSE_WIN32_OPENGL)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(d3d8 ${CMAKE_CURRENT_SOURCE_DIR}/d3d8.spec ${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
+
+add_library(d3d8 SHARED
+    cubetexture.c
+    d3d8_main.c
+    device.c
+    directx.c
+    indexbuffer.c
+    pixelshader.c
+    surface.c
+    swapchain.c
+    texture.c
+    vertexbuffer.c
+    vertexdeclaration.c
+    vertexshader.c
+    volume.c
+    volumetexture.c
+    version.rc)
+
+set_module_type(d3d8 win32dll)
+
+target_link_libraries(d3d8
+    ${CMAKE_CURRENT_BINARY_DIR}/d3d8.def
+    uuid
+    wine)
+
+add_importlibs(d3d8
+    user32
+    gdi32
+    advapi32
+    wined3d)
+
+add_dependencies(d3d8 d3d8_def wineheaders)
diff --git a/dll/directx/wine/d3d9/CMakeLists.txt b/dll/directx/wine/d3d9/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fe017a5
--- /dev/null
@@ -0,0 +1,42 @@
+
+set_unicode()
+
+add_definitions(-D__WINESRC__)
+add_definitions(-DUSE_WIN32_OPENGL)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+spec2def(d3d9 ${CMAKE_CURRENT_SOURCE_DIR}/d3d9.spec ${CMAKE_CURRENT_BINARY_DIR}/d3d9.def)
+
+add_library(d3d9 SHARED
+    cubetexture.c
+    d3d9_main.c
+    device.c
+    directx.c
+    indexbuffer.c
+    pixelshader.c
+    query.c
+    stateblock.c
+    surface.c
+    swapchain.c
+    texture.c
+    vertexbuffer.c
+    vertexdeclaration.c
+    vertexshader.c
+    volume.c
+    volumetexture.c
+    version.rc)
+
+set_module_type(d3d9 win32dll)
+
+target_link_libraries(d3d9
+    ${CMAKE_CURRENT_BINARY_DIR}/d3d9.def
+    uuid
+    wine)
+
+add_importlibs(d3d9
+    user32
+    gdi32
+    advapi32
+    wined3d)
+
+add_dependencies(d3d9 d3d9_def wineheaders)
diff --git a/dll/keyboard/CMakeLists.txt b/dll/keyboard/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5abf32b
--- /dev/null
@@ -0,0 +1,80 @@
+
+add_subdirectory(kbda1)
+add_subdirectory(kbda2)
+add_subdirectory(kbda3)
+add_subdirectory(kbdal)
+add_subdirectory(kbdarme)
+add_subdirectory(kbdarmw)
+add_subdirectory(kbdaze)
+add_subdirectory(kbdazel)
+add_subdirectory(kbdbe)
+add_subdirectory(kbdbga)
+add_subdirectory(kbdbgm)
+add_subdirectory(kbdbgt)
+add_subdirectory(kbdblr)
+add_subdirectory(kbdbr)
+add_subdirectory(kbdbur)
+add_subdirectory(kbdcan)
+add_subdirectory(kbdcr)
+add_subdirectory(kbdcz)
+add_subdirectory(kbdcz1)
+add_subdirectory(kbdda)
+add_subdirectory(kbddv)
+add_subdirectory(kbdes)
+add_subdirectory(kbdest)
+add_subdirectory(kbdfc)
+add_subdirectory(kbdfi)
+add_subdirectory(kbdfr)
+add_subdirectory(kbdgeo)
+add_subdirectory(kbdgerg)
+add_subdirectory(kbdgneo)
+add_subdirectory(kbdgr)
+add_subdirectory(kbdgrist)
+add_subdirectory(kbdhe)
+add_subdirectory(kbdheb)
+add_subdirectory(kbdhu)
+add_subdirectory(kbdic)
+add_subdirectory(kbdinasa)
+add_subdirectory(kbdinben)
+add_subdirectory(kbdindev)
+add_subdirectory(kbdinguj)
+add_subdirectory(kbdinmal)
+add_subdirectory(kbdir)
+add_subdirectory(kbdit)
+add_subdirectory(kbdja)
+add_subdirectory(kbdkaz)
+add_subdirectory(kbdko)
+add_subdirectory(kbdla)
+add_subdirectory(kbdlt1)
+add_subdirectory(kbdlv)
+add_subdirectory(kbdmac)
+add_subdirectory(kbdne)
+add_subdirectory(kbdno)
+add_subdirectory(kbdpl1)
+add_subdirectory(kbdpo)
+add_subdirectory(kbdro)
+add_subdirectory(kbdru)
+add_subdirectory(kbdru1)
+add_subdirectory(kbdsg)
+add_subdirectory(kbdsk)
+add_subdirectory(kbdsk1)
+add_subdirectory(kbdsw)
+add_subdirectory(kbdtat)
+add_subdirectory(kbdth0)
+add_subdirectory(kbdth1)
+add_subdirectory(kbdth2)
+add_subdirectory(kbdth3)
+add_subdirectory(kbdtuf)
+add_subdirectory(kbdtuq)
+add_subdirectory(kbduk)
+add_subdirectory(kbdur)
+add_subdirectory(kbdurs)
+add_subdirectory(kbdus)
+add_subdirectory(kbdusa)
+add_subdirectory(kbdusl)
+add_subdirectory(kbdusr)
+add_subdirectory(kbdusx)
+add_subdirectory(kbduzb)
+add_subdirectory(kbdvntc)
+add_subdirectory(kbdycc)
+add_subdirectory(kbdycl)
diff --git a/dll/keyboard/kbda1/CMakeLists.txt b/dll/keyboard/kbda1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..88979a6
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbda1 ${CMAKE_CURRENT_SOURCE_DIR}/kbda1.spec ${CMAKE_CURRENT_BINARY_DIR}/kbda1.def)
+
+add_library(kbda1 SHARED kbda1.c kbda1.rc)
+
+set_entrypoint(kbda1 0)
+
+target_link_libraries(kbda1 ${CMAKE_CURRENT_BINARY_DIR}/kbda1.def)
+
+add_dependencies(kbda1 kbda1_def psdk buildno_header)
diff --git a/dll/keyboard/kbda2/CMakeLists.txt b/dll/keyboard/kbda2/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0c1f473
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbda2 ${CMAKE_CURRENT_SOURCE_DIR}/kbda2.spec ${CMAKE_CURRENT_BINARY_DIR}/kbda2.def)
+
+add_library(kbda2 SHARED kbda2.c kbda2.rc)
+
+set_entrypoint(kbda2 0)
+
+target_link_libraries(kbda2 ${CMAKE_CURRENT_BINARY_DIR}/kbda2.def)
+
+add_dependencies(kbda2 kbda2_def psdk buildno_header)
diff --git a/dll/keyboard/kbda3/CMakeLists.txt b/dll/keyboard/kbda3/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0abd8fe
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbda3 ${CMAKE_CURRENT_SOURCE_DIR}/kbda3.spec ${CMAKE_CURRENT_BINARY_DIR}/kbda3.def)
+
+add_library(kbda3 SHARED kbda3.c kbda3.rc)
+
+set_entrypoint(kbda3 0)
+
+target_link_libraries(kbda3 ${CMAKE_CURRENT_BINARY_DIR}/kbda3.def)
+
+add_dependencies(kbda3 kbda3_def psdk buildno_header)
diff --git a/dll/keyboard/kbdal/CMakeLists.txt b/dll/keyboard/kbdal/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f9191c5
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdal ${CMAKE_CURRENT_SOURCE_DIR}/kbdal.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdal.def)
+
+add_library(kbdal SHARED kbdal.c kbdal.rc)
+
+set_entrypoint(kbdal 0)
+
+target_link_libraries(kbdal ${CMAKE_CURRENT_BINARY_DIR}/kbdal.def)
+
+add_dependencies(kbdal kbdal_def psdk buildno_header)
diff --git a/dll/keyboard/kbdarme/CMakeLists.txt b/dll/keyboard/kbdarme/CMakeLists.txt
new file mode 100644 (file)
index 0000000..42692b8
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdarme ${CMAKE_CURRENT_SOURCE_DIR}/kbdarme.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdarme.def)
+
+add_library(kbdarme SHARED kbdarme.c kbdarme.rc)
+
+set_entrypoint(kbdarme 0)
+
+target_link_libraries(kbdarme ${CMAKE_CURRENT_BINARY_DIR}/kbdarme.def)
+
+add_dependencies(kbdarme kbdarme_def psdk buildno_header)
diff --git a/dll/keyboard/kbdarmw/CMakeLists.txt b/dll/keyboard/kbdarmw/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ce70b00
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdarmw ${CMAKE_CURRENT_SOURCE_DIR}/kbdarmw.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdarmw.def)
+
+add_library(kbdarmw SHARED kbdarmw.c kbdarmw.rc)
+
+set_entrypoint(kbdarmw 0)
+
+target_link_libraries(kbdarmw ${CMAKE_CURRENT_BINARY_DIR}/kbdarmw.def)
+
+add_dependencies(kbdarmw kbdarmw_def psdk buildno_header)
diff --git a/dll/keyboard/kbdaze/CMakeLists.txt b/dll/keyboard/kbdaze/CMakeLists.txt
new file mode 100644 (file)
index 0000000..efe68ac
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdaze ${CMAKE_CURRENT_SOURCE_DIR}/kbdaze.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdaze.def)
+
+add_library(kbdaze SHARED kbdaze.c kbdaze.rc)
+
+set_entrypoint(kbdaze 0)
+
+target_link_libraries(kbdaze ${CMAKE_CURRENT_BINARY_DIR}/kbdaze.def)
+
+add_dependencies(kbdaze kbdaze_def psdk buildno_header)
diff --git a/dll/keyboard/kbdazel/CMakeLists.txt b/dll/keyboard/kbdazel/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fbbf6fa
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdazel ${CMAKE_CURRENT_SOURCE_DIR}/kbdazel.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdazel.def)
+
+add_library(kbdazel SHARED kbdazel.c kbdazel.rc)
+
+set_entrypoint(kbdazel 0)
+
+target_link_libraries(kbdazel ${CMAKE_CURRENT_BINARY_DIR}/kbdazel.def)
+
+add_dependencies(kbdazel kbdazel_def psdk buildno_header)
diff --git a/dll/keyboard/kbdbe/CMakeLists.txt b/dll/keyboard/kbdbe/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1170f92
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdbe ${CMAKE_CURRENT_SOURCE_DIR}/kbdbe.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdbe.def)
+
+add_library(kbdbe SHARED kbdbe.c kbdbe.rc)
+
+set_entrypoint(kbdbe 0)
+
+target_link_libraries(kbdbe ${CMAKE_CURRENT_BINARY_DIR}/kbdbe.def)
+
+add_dependencies(kbdbe kbdbe_def psdk buildno_header)
diff --git a/dll/keyboard/kbdbga/CMakeLists.txt b/dll/keyboard/kbdbga/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c739b06
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdbga ${CMAKE_CURRENT_SOURCE_DIR}/kbdbga.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdbga.def)
+
+add_library(kbdbga SHARED kbdbga.c kbdbga.rc)
+
+set_entrypoint(kbdbga 0)
+
+target_link_libraries(kbdbga ${CMAKE_CURRENT_BINARY_DIR}/kbdbga.def)
+
+add_dependencies(kbdbga kbdbga_def psdk buildno_header)
diff --git a/dll/keyboard/kbdbgm/CMakeLists.txt b/dll/keyboard/kbdbgm/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7492aa8
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdbgm ${CMAKE_CURRENT_SOURCE_DIR}/kbdbgm.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdbgm.def)
+
+add_library(kbdbgm SHARED kbdbgm.c kbdbgm.rc)
+
+set_entrypoint(kbdbgm 0)
+
+target_link_libraries(kbdbgm ${CMAKE_CURRENT_BINARY_DIR}/kbdbgm.def)
+
+add_dependencies(kbdbgm kbdbgm_def psdk buildno_header)
diff --git a/dll/keyboard/kbdbgt/CMakeLists.txt b/dll/keyboard/kbdbgt/CMakeLists.txt
new file mode 100644 (file)
index 0000000..731fbfc
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdbgt ${CMAKE_CURRENT_SOURCE_DIR}/kbdbgt.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdbgt.def)
+
+add_library(kbdbgt SHARED kbdbgt.c kbdbgt.rc)
+
+set_entrypoint(kbdbgt 0)
+
+target_link_libraries(kbdbgt ${CMAKE_CURRENT_BINARY_DIR}/kbdbgt.def)
+
+add_dependencies(kbdbgt kbdbgt_def psdk buildno_header)
diff --git a/dll/keyboard/kbdblr/CMakeLists.txt b/dll/keyboard/kbdblr/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4b9d4c8
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdblr ${CMAKE_CURRENT_SOURCE_DIR}/kbdblr.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdblr.def)
+
+add_library(kbdblr SHARED kbdblr.c kbdblr.rc)
+
+set_entrypoint(kbdblr 0)
+
+target_link_libraries(kbdblr ${CMAKE_CURRENT_BINARY_DIR}/kbdblr.def)
+
+add_dependencies(kbdblr kbdblr_def psdk buildno_header)
diff --git a/dll/keyboard/kbdbr/CMakeLists.txt b/dll/keyboard/kbdbr/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4c4309d
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdbr ${CMAKE_CURRENT_SOURCE_DIR}/kbdbr.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdbr.def)
+
+add_library(kbdbr SHARED kbdbr.c kbdbr.rc)
+
+set_entrypoint(kbdbr 0)
+
+target_link_libraries(kbdbr ${CMAKE_CURRENT_BINARY_DIR}/kbdbr.def)
+
+add_dependencies(kbdbr kbdbr_def psdk buildno_header)
diff --git a/dll/keyboard/kbdbur/CMakeLists.txt b/dll/keyboard/kbdbur/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d03f4b8
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdbur ${CMAKE_CURRENT_SOURCE_DIR}/kbdbur.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdbur.def)
+
+add_library(kbdbur SHARED kbdbur.c kbdbur.rc)
+
+set_entrypoint(kbdbur 0)
+
+target_link_libraries(kbdbur ${CMAKE_CURRENT_BINARY_DIR}/kbdbur.def)
+
+add_dependencies(kbdbur kbdbur_def psdk buildno_header)
diff --git a/dll/keyboard/kbdcan/CMakeLists.txt b/dll/keyboard/kbdcan/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e5067d2
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdcan ${CMAKE_CURRENT_SOURCE_DIR}/kbdcan.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdcan.def)
+
+add_library(kbdcan SHARED kbdcan.c kbdcan.rc)
+
+set_entrypoint(kbdcan 0)
+
+target_link_libraries(kbdcan ${CMAKE_CURRENT_BINARY_DIR}/kbdcan.def)
+
+add_dependencies(kbdcan kbdcan_def psdk buildno_header)
diff --git a/dll/keyboard/kbdcr/CMakeLists.txt b/dll/keyboard/kbdcr/CMakeLists.txt
new file mode 100644 (file)
index 0000000..44a5a61
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdcr ${CMAKE_CURRENT_SOURCE_DIR}/kbdcr.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdcr.def)
+
+add_library(kbdcr SHARED kbdcr.c kbdcr.rc)
+
+set_entrypoint(kbdcr 0)
+
+target_link_libraries(kbdcr ${CMAKE_CURRENT_BINARY_DIR}/kbdcr.def)
+
+add_dependencies(kbdcr kbdcr_def psdk buildno_header)
diff --git a/dll/keyboard/kbdcz/CMakeLists.txt b/dll/keyboard/kbdcz/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4c8a66e
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdcz ${CMAKE_CURRENT_SOURCE_DIR}/kbdcz.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdcz.def)
+
+add_library(kbdcz SHARED kbdcz.c kbdcz.rc)
+
+set_entrypoint(kbdcz 0)
+
+target_link_libraries(kbdcz ${CMAKE_CURRENT_BINARY_DIR}/kbdcz.def)
+
+add_dependencies(kbdcz kbdcz_def psdk buildno_header)
diff --git a/dll/keyboard/kbdcz1/CMakeLists.txt b/dll/keyboard/kbdcz1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..efba75e
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdcz1 ${CMAKE_CURRENT_SOURCE_DIR}/kbdcz1.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdcz1.def)
+
+add_library(kbdcz1 SHARED kbdcz1.c kbdcz1.rc)
+
+set_entrypoint(kbdcz1 0)
+
+target_link_libraries(kbdcz1 ${CMAKE_CURRENT_BINARY_DIR}/kbdcz1.def)
+
+add_dependencies(kbdcz1 kbdcz1_def psdk buildno_header)
diff --git a/dll/keyboard/kbdda/CMakeLists.txt b/dll/keyboard/kbdda/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6c112d1
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdda ${CMAKE_CURRENT_SOURCE_DIR}/kbdda.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdda.def)
+
+add_library(kbdda SHARED kbdda.c kbdda.rc)
+
+set_entrypoint(kbdda 0)
+
+target_link_libraries(kbdda ${CMAKE_CURRENT_BINARY_DIR}/kbdda.def)
+
+add_dependencies(kbdda kbdda_def psdk buildno_header)
diff --git a/dll/keyboard/kbddv/CMakeLists.txt b/dll/keyboard/kbddv/CMakeLists.txt
new file mode 100644 (file)
index 0000000..053153d
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbddv ${CMAKE_CURRENT_SOURCE_DIR}/kbddv.spec ${CMAKE_CURRENT_BINARY_DIR}/kbddv.def)
+
+add_library(kbddv SHARED kbddv.c kbddv.rc)
+
+set_entrypoint(kbddv 0)
+
+target_link_libraries(kbddv ${CMAKE_CURRENT_BINARY_DIR}/kbddv.def)
+
+add_dependencies(kbddv kbddv_def psdk buildno_header)
diff --git a/dll/keyboard/kbdes/CMakeLists.txt b/dll/keyboard/kbdes/CMakeLists.txt
new file mode 100644 (file)
index 0000000..99de328
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdes ${CMAKE_CURRENT_SOURCE_DIR}/kbdes.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdes.def)
+
+add_library(kbdes SHARED kbdes.c kbdes.rc)
+
+set_entrypoint(kbdes 0)
+
+target_link_libraries(kbdes ${CMAKE_CURRENT_BINARY_DIR}/kbdes.def)
+
+add_dependencies(kbdes kbdes_def psdk buildno_header)
diff --git a/dll/keyboard/kbdest/CMakeLists.txt b/dll/keyboard/kbdest/CMakeLists.txt
new file mode 100644 (file)
index 0000000..30efca0
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdest ${CMAKE_CURRENT_SOURCE_DIR}/kbdest.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdest.def)
+
+add_library(kbdest SHARED kbdest.c kbdest.rc)
+
+set_entrypoint(kbdest 0)
+
+target_link_libraries(kbdest ${CMAKE_CURRENT_BINARY_DIR}/kbdest.def)
+
+add_dependencies(kbdest kbdest_def psdk buildno_header)
diff --git a/dll/keyboard/kbdfc/CMakeLists.txt b/dll/keyboard/kbdfc/CMakeLists.txt
new file mode 100644 (file)
index 0000000..32276c7
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdfc ${CMAKE_CURRENT_SOURCE_DIR}/kbdfc.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdfc.def)
+
+add_library(kbdfc SHARED kbdfc.c kbdfc.rc)
+
+set_entrypoint(kbdfc 0)
+
+target_link_libraries(kbdfc ${CMAKE_CURRENT_BINARY_DIR}/kbdfc.def)
+
+add_dependencies(kbdfc kbdfc_def psdk buildno_header)
diff --git a/dll/keyboard/kbdfi/CMakeLists.txt b/dll/keyboard/kbdfi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..dc9039a
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdfi ${CMAKE_CURRENT_SOURCE_DIR}/kbdfi.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdfi.def)
+
+add_library(kbdfi SHARED kbdfi.c kbdfi.rc)
+
+set_entrypoint(kbdfi 0)
+
+target_link_libraries(kbdfi ${CMAKE_CURRENT_BINARY_DIR}/kbdfi.def)
+
+add_dependencies(kbdfi kbdfi_def psdk buildno_header)
diff --git a/dll/keyboard/kbdfr/CMakeLists.txt b/dll/keyboard/kbdfr/CMakeLists.txt
new file mode 100644 (file)
index 0000000..672fca6
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdfr ${CMAKE_CURRENT_SOURCE_DIR}/kbdfr.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdfr.def)
+
+add_library(kbdfr SHARED kbdfr.c kbdfr.rc)
+
+set_entrypoint(kbdfr 0)
+
+target_link_libraries(kbdfr ${CMAKE_CURRENT_BINARY_DIR}/kbdfr.def)
+
+add_dependencies(kbdfr kbdfr_def psdk buildno_header)
diff --git a/dll/keyboard/kbdgeo/CMakeLists.txt b/dll/keyboard/kbdgeo/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0443df7
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdgeo ${CMAKE_CURRENT_SOURCE_DIR}/kbdgeo.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdgeo.def)
+
+add_library(kbdgeo SHARED kbdgeo.c kbdgeo.rc)
+
+set_entrypoint(kbdgeo 0)
+
+target_link_libraries(kbdgeo ${CMAKE_CURRENT_BINARY_DIR}/kbdgeo.def)
+
+add_dependencies(kbdgeo kbdgeo_def psdk buildno_header)
diff --git a/dll/keyboard/kbdgerg/CMakeLists.txt b/dll/keyboard/kbdgerg/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d6df560
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdgerg ${CMAKE_CURRENT_SOURCE_DIR}/kbdgerg.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdgerg.def)
+
+add_library(kbdgerg SHARED kbdgerg.c kbdgerg.rc)
+
+set_entrypoint(kbdgerg 0)
+
+target_link_libraries(kbdgerg ${CMAKE_CURRENT_BINARY_DIR}/kbdgerg.def)
+
+add_dependencies(kbdgerg kbdgerg_def psdk buildno_header)
diff --git a/dll/keyboard/kbdgneo/CMakeLists.txt b/dll/keyboard/kbdgneo/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8984392
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdgneo ${CMAKE_CURRENT_SOURCE_DIR}/kbdgneo.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdgneo.def)
+
+add_library(kbdgneo SHARED kbdgneo.c kbdgneo.rc)
+
+set_entrypoint(kbdgneo 0)
+
+target_link_libraries(kbdgneo ${CMAKE_CURRENT_BINARY_DIR}/kbdgneo.def)
+
+add_dependencies(kbdgneo kbdgneo_def psdk buildno_header)
diff --git a/dll/keyboard/kbdgr/CMakeLists.txt b/dll/keyboard/kbdgr/CMakeLists.txt
new file mode 100644 (file)
index 0000000..545b516
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdgr ${CMAKE_CURRENT_SOURCE_DIR}/kbdgr.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdgr.def)
+
+add_library(kbdgr SHARED kbdgr.c kbdgr.rc)
+
+set_entrypoint(kbdgr 0)
+
+target_link_libraries(kbdgr ${CMAKE_CURRENT_BINARY_DIR}/kbdgr.def)
+
+add_dependencies(kbdgr kbdgr_def psdk buildno_header)
diff --git a/dll/keyboard/kbdgrist/CMakeLists.txt b/dll/keyboard/kbdgrist/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c84e83b
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdgrist ${CMAKE_CURRENT_SOURCE_DIR}/kbdgrist.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdgrist.def)
+
+add_library(kbdgrist SHARED kbdgrist.c kbdgrist.rc)
+
+set_entrypoint(kbdgrist 0)
+
+target_link_libraries(kbdgrist ${CMAKE_CURRENT_BINARY_DIR}/kbdgrist.def)
+
+add_dependencies(kbdgrist kbdgrist_def psdk buildno_header)
diff --git a/dll/keyboard/kbdhe/CMakeLists.txt b/dll/keyboard/kbdhe/CMakeLists.txt
new file mode 100644 (file)
index 0000000..db76ae7
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdhe ${CMAKE_CURRENT_SOURCE_DIR}/kbdhe.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdhe.def)
+
+add_library(kbdhe SHARED kbdhe.c kbdhe.rc)
+
+set_entrypoint(kbdhe 0)
+
+target_link_libraries(kbdhe ${CMAKE_CURRENT_BINARY_DIR}/kbdhe.def)
+
+add_dependencies(kbdhe kbdhe_def psdk buildno_header)
diff --git a/dll/keyboard/kbdheb/CMakeLists.txt b/dll/keyboard/kbdheb/CMakeLists.txt
new file mode 100644 (file)
index 0000000..736da8b
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdheb ${CMAKE_CURRENT_SOURCE_DIR}/kbdheb.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdheb.def)
+
+add_library(kbdheb SHARED kbdheb.c kbdheb.rc)
+
+set_entrypoint(kbdheb 0)
+
+target_link_libraries(kbdheb ${CMAKE_CURRENT_BINARY_DIR}/kbdheb.def)
+
+add_dependencies(kbdheb kbdheb_def psdk buildno_header)
diff --git a/dll/keyboard/kbdhu/CMakeLists.txt b/dll/keyboard/kbdhu/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7ecb50d
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdhu ${CMAKE_CURRENT_SOURCE_DIR}/kbdhu.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdhu.def)
+
+add_library(kbdhu SHARED kbdhu.c kbdhu.rc)
+
+set_entrypoint(kbdhu 0)
+
+target_link_libraries(kbdhu ${CMAKE_CURRENT_BINARY_DIR}/kbdhu.def)
+
+add_dependencies(kbdhu kbdhu_def psdk buildno_header)
diff --git a/dll/keyboard/kbdic/CMakeLists.txt b/dll/keyboard/kbdic/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6831b8b
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdic ${CMAKE_CURRENT_SOURCE_DIR}/kbdic.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdic.def)
+
+add_library(kbdic SHARED kbdic.c kbdic.rc)
+
+set_entrypoint(kbdic 0)
+
+target_link_libraries(kbdic ${CMAKE_CURRENT_BINARY_DIR}/kbdic.def)
+
+add_dependencies(kbdic kbdic_def psdk buildno_header)
diff --git a/dll/keyboard/kbdinasa/CMakeLists.txt b/dll/keyboard/kbdinasa/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ece5689
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdinasa ${CMAKE_CURRENT_SOURCE_DIR}/kbdinasa.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdinasa.def)
+
+add_library(kbdinasa SHARED kbdinasa.c kbdinasa.rc)
+
+set_entrypoint(kbdinasa 0)
+
+target_link_libraries(kbdinasa ${CMAKE_CURRENT_BINARY_DIR}/kbdinasa.def)
+
+add_dependencies(kbdinasa kbdinasa_def psdk buildno_header)
diff --git a/dll/keyboard/kbdinben/CMakeLists.txt b/dll/keyboard/kbdinben/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2bec780
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdinben ${CMAKE_CURRENT_SOURCE_DIR}/kbdinben.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdinben.def)
+
+add_library(kbdinben SHARED kbdinben.c kbdinben.rc)
+
+set_entrypoint(kbdinben 0)
+
+target_link_libraries(kbdinben ${CMAKE_CURRENT_BINARY_DIR}/kbdinben.def)
+
+add_dependencies(kbdinben kbdinben_def psdk buildno_header)
diff --git a/dll/keyboard/kbdindev/CMakeLists.txt b/dll/keyboard/kbdindev/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e511747
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdindev ${CMAKE_CURRENT_SOURCE_DIR}/kbdindev.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdindev.def)
+
+add_library(kbdindev SHARED kbdindev.c kbdindev.rc)
+
+set_entrypoint(kbdindev 0)
+
+target_link_libraries(kbdindev ${CMAKE_CURRENT_BINARY_DIR}/kbdindev.def)
+
+add_dependencies(kbdindev kbdindev_def psdk buildno_header)
diff --git a/dll/keyboard/kbdinguj/CMakeLists.txt b/dll/keyboard/kbdinguj/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6c40af0
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdinguj ${CMAKE_CURRENT_SOURCE_DIR}/kbdinguj.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdinguj.def)
+
+add_library(kbdinguj SHARED kbdinguj.c kbdinguj.rc)
+
+set_entrypoint(kbdinguj 0)
+
+target_link_libraries(kbdinguj ${CMAKE_CURRENT_BINARY_DIR}/kbdinguj.def)
+
+add_dependencies(kbdinguj kbdinguj_def psdk buildno_header)
diff --git a/dll/keyboard/kbdinmal/CMakeLists.txt b/dll/keyboard/kbdinmal/CMakeLists.txt
new file mode 100644 (file)
index 0000000..640138e
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdinmal ${CMAKE_CURRENT_SOURCE_DIR}/kbdinmal.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdinmal.def)
+
+add_library(kbdinmal SHARED kbdinmal.c kbdinmal.rc)
+
+set_entrypoint(kbdinmal 0)
+
+target_link_libraries(kbdinmal ${CMAKE_CURRENT_BINARY_DIR}/kbdinmal.def)
+
+add_dependencies(kbdinmal kbdinmal_def psdk buildno_header)
diff --git a/dll/keyboard/kbdir/CMakeLists.txt b/dll/keyboard/kbdir/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7b7ec96
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdir ${CMAKE_CURRENT_SOURCE_DIR}/kbdir.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdir.def)
+
+add_library(kbdir SHARED kbdir.c kbdir.rc)
+
+set_entrypoint(kbdir 0)
+
+target_link_libraries(kbdir ${CMAKE_CURRENT_BINARY_DIR}/kbdir.def)
+
+add_dependencies(kbdir kbdir_def psdk buildno_header)
diff --git a/dll/keyboard/kbdit/CMakeLists.txt b/dll/keyboard/kbdit/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ff6d83f
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdit ${CMAKE_CURRENT_SOURCE_DIR}/kbdit.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdit.def)
+
+add_library(kbdit SHARED kbdit.c kbdit.rc)
+
+set_entrypoint(kbdit 0)
+
+target_link_libraries(kbdit ${CMAKE_CURRENT_BINARY_DIR}/kbdit.def)
+
+add_dependencies(kbdit kbdit_def psdk buildno_header)
diff --git a/dll/keyboard/kbdja/CMakeLists.txt b/dll/keyboard/kbdja/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fa066e7
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdja ${CMAKE_CURRENT_SOURCE_DIR}/kbdja.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdja.def)
+
+add_library(kbdja SHARED kbdja.c kbdja.rc)
+
+set_entrypoint(kbdja 0)
+
+target_link_libraries(kbdja ${CMAKE_CURRENT_BINARY_DIR}/kbdja.def)
+
+add_dependencies(kbdja kbdja_def psdk buildno_header)
diff --git a/dll/keyboard/kbdkaz/CMakeLists.txt b/dll/keyboard/kbdkaz/CMakeLists.txt
new file mode 100644 (file)
index 0000000..06855e7
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdkaz ${CMAKE_CURRENT_SOURCE_DIR}/kbdkaz.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdkaz.def)
+
+add_library(kbdkaz SHARED kbdkaz.c kbdkaz.rc)
+
+set_entrypoint(kbdkaz 0)
+
+target_link_libraries(kbdkaz ${CMAKE_CURRENT_BINARY_DIR}/kbdkaz.def)
+
+add_dependencies(kbdkaz kbdkaz_def psdk buildno_header)
diff --git a/dll/keyboard/kbdko/CMakeLists.txt b/dll/keyboard/kbdko/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2297ab1
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdko ${CMAKE_CURRENT_SOURCE_DIR}/kbdko.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdko.def)
+
+add_library(kbdko SHARED kbdko.c kbdko.rc)
+
+set_entrypoint(kbdko 0)
+
+target_link_libraries(kbdko ${CMAKE_CURRENT_BINARY_DIR}/kbdko.def)
+
+add_dependencies(kbdko kbdko_def psdk buildno_header)
diff --git a/dll/keyboard/kbdla/CMakeLists.txt b/dll/keyboard/kbdla/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e29735e
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdla ${CMAKE_CURRENT_SOURCE_DIR}/kbdla.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdla.def)
+
+add_library(kbdla SHARED kbdla.c kbdla.rc)
+
+set_entrypoint(kbdla 0)
+
+target_link_libraries(kbdla ${CMAKE_CURRENT_BINARY_DIR}/kbdla.def)
+
+add_dependencies(kbdla kbdla_def psdk buildno_header)
diff --git a/dll/keyboard/kbdlt1/CMakeLists.txt b/dll/keyboard/kbdlt1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b7fcd22
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdlt1 ${CMAKE_CURRENT_SOURCE_DIR}/kbdlt1.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdlt1.def)
+
+add_library(kbdlt1 SHARED kbdlt1.c kbdlt1.rc)
+
+set_entrypoint(kbdlt1 0)
+
+target_link_libraries(kbdlt1 ${CMAKE_CURRENT_BINARY_DIR}/kbdlt1.def)
+
+add_dependencies(kbdlt1 kbdlt1_def psdk buildno_header)
diff --git a/dll/keyboard/kbdlv/CMakeLists.txt b/dll/keyboard/kbdlv/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ba376f8
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdlv ${CMAKE_CURRENT_SOURCE_DIR}/kbdlv.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdlv.def)
+
+add_library(kbdlv SHARED kbdlv.c kbdlv.rc)
+
+set_entrypoint(kbdlv 0)
+
+target_link_libraries(kbdlv ${CMAKE_CURRENT_BINARY_DIR}/kbdlv.def)
+
+add_dependencies(kbdlv kbdlv_def psdk buildno_header)
diff --git a/dll/keyboard/kbdmac/CMakeLists.txt b/dll/keyboard/kbdmac/CMakeLists.txt
new file mode 100644 (file)
index 0000000..aad9322
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdmac ${CMAKE_CURRENT_SOURCE_DIR}/kbdmac.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdmac.def)
+
+add_library(kbdmac SHARED kbdmac.c kbdmac.rc)
+
+set_entrypoint(kbdmac 0)
+
+target_link_libraries(kbdmac ${CMAKE_CURRENT_BINARY_DIR}/kbdmac.def)
+
+add_dependencies(kbdmac kbdmac_def psdk buildno_header)
diff --git a/dll/keyboard/kbdne/CMakeLists.txt b/dll/keyboard/kbdne/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2f5f4f1
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdne ${CMAKE_CURRENT_SOURCE_DIR}/kbdne.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdne.def)
+
+add_library(kbdne SHARED kbdne.c kbdne.rc)
+
+set_entrypoint(kbdne 0)
+
+target_link_libraries(kbdne ${CMAKE_CURRENT_BINARY_DIR}/kbdne.def)
+
+add_dependencies(kbdne kbdne_def psdk buildno_header)
diff --git a/dll/keyboard/kbdno/CMakeLists.txt b/dll/keyboard/kbdno/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ce4f6fd
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdno ${CMAKE_CURRENT_SOURCE_DIR}/kbdno.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdno.def)
+
+add_library(kbdno SHARED kbdno.c kbdno.rc)
+
+set_entrypoint(kbdno 0)
+
+target_link_libraries(kbdno ${CMAKE_CURRENT_BINARY_DIR}/kbdno.def)
+
+add_dependencies(kbdno kbdno_def psdk buildno_header)
diff --git a/dll/keyboard/kbdpl1/CMakeLists.txt b/dll/keyboard/kbdpl1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..11176d9
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdpl1 ${CMAKE_CURRENT_SOURCE_DIR}/kbdpl1.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdpl1.def)
+
+add_library(kbdpl1 SHARED kbdpl1.c kbdpl1.rc)
+
+set_entrypoint(kbdpl1 0)
+
+target_link_libraries(kbdpl1 ${CMAKE_CURRENT_BINARY_DIR}/kbdpl1.def)
+
+add_dependencies(kbdpl1 kbdpl1_def psdk buildno_header)
diff --git a/dll/keyboard/kbdpo/CMakeLists.txt b/dll/keyboard/kbdpo/CMakeLists.txt
new file mode 100644 (file)
index 0000000..af120a1
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdpo ${CMAKE_CURRENT_SOURCE_DIR}/kbdpo.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdpo.def)
+
+add_library(kbdpo SHARED kbdpo.c kbdpo.rc)
+
+set_entrypoint(kbdpo 0)
+
+target_link_libraries(kbdpo ${CMAKE_CURRENT_BINARY_DIR}/kbdpo.def)
+
+add_dependencies(kbdpo kbdpo_def psdk buildno_header)
diff --git a/dll/keyboard/kbdro/CMakeLists.txt b/dll/keyboard/kbdro/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4be095c
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdro ${CMAKE_CURRENT_SOURCE_DIR}/kbdro.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdro.def)
+
+add_library(kbdro SHARED kbdro.c kbdro.rc)
+
+set_entrypoint(kbdro 0)
+
+target_link_libraries(kbdro ${CMAKE_CURRENT_BINARY_DIR}/kbdro.def)
+
+add_dependencies(kbdro kbdro_def psdk buildno_header)
diff --git a/dll/keyboard/kbdru/CMakeLists.txt b/dll/keyboard/kbdru/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2bd2f8e
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdru ${CMAKE_CURRENT_SOURCE_DIR}/kbdru.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdru.def)
+
+add_library(kbdru SHARED kbdru.c kbdru.rc)
+
+set_entrypoint(kbdru 0)
+
+target_link_libraries(kbdru ${CMAKE_CURRENT_BINARY_DIR}/kbdru.def)
+
+add_dependencies(kbdru kbdru_def psdk buildno_header)
diff --git a/dll/keyboard/kbdru1/CMakeLists.txt b/dll/keyboard/kbdru1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..145dd7b
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdru1 ${CMAKE_CURRENT_SOURCE_DIR}/kbdru1.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdru1.def)
+
+add_library(kbdru1 SHARED kbdru1.c kbdru1.rc)
+
+set_entrypoint(kbdru1 0)
+
+target_link_libraries(kbdru1 ${CMAKE_CURRENT_BINARY_DIR}/kbdru1.def)
+
+add_dependencies(kbdru1 kbdru1_def psdk buildno_header)
diff --git a/dll/keyboard/kbdsg/CMakeLists.txt b/dll/keyboard/kbdsg/CMakeLists.txt
new file mode 100644 (file)
index 0000000..91f0649
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdsg ${CMAKE_CURRENT_SOURCE_DIR}/kbdsg.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdsg.def)
+
+add_library(kbdsg SHARED kbdsg.c kbdsg.rc)
+
+set_entrypoint(kbdsg 0)
+
+target_link_libraries(kbdsg ${CMAKE_CURRENT_BINARY_DIR}/kbdsg.def)
+
+add_dependencies(kbdsg kbdsg_def psdk buildno_header)
diff --git a/dll/keyboard/kbdsk/CMakeLists.txt b/dll/keyboard/kbdsk/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3a36ba3
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdsk ${CMAKE_CURRENT_SOURCE_DIR}/kbdsk.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdsk.def)
+
+add_library(kbdsk SHARED kbdsk.c kbdsk.rc)
+
+set_entrypoint(kbdsk 0)
+
+target_link_libraries(kbdsk ${CMAKE_CURRENT_BINARY_DIR}/kbdsk.def)
+
+add_dependencies(kbdsk kbdsk_def psdk buildno_header)
diff --git a/dll/keyboard/kbdsk1/CMakeLists.txt b/dll/keyboard/kbdsk1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..96d0ec5
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdsk1 ${CMAKE_CURRENT_SOURCE_DIR}/kbdsk1.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdsk1.def)
+
+add_library(kbdsk1 SHARED kbdsk1.c kbdsk1.rc)
+
+set_entrypoint(kbdsk1 0)
+
+target_link_libraries(kbdsk1 ${CMAKE_CURRENT_BINARY_DIR}/kbdsk1.def)
+
+add_dependencies(kbdsk1 kbdsk1_def psdk buildno_header)
diff --git a/dll/keyboard/kbdsw/CMakeLists.txt b/dll/keyboard/kbdsw/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6e51530
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdsw ${CMAKE_CURRENT_SOURCE_DIR}/kbdsw.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdsw.def)
+
+add_library(kbdsw SHARED kbdsw.c kbdsw.rc)
+
+set_entrypoint(kbdsw 0)
+
+target_link_libraries(kbdsw ${CMAKE_CURRENT_BINARY_DIR}/kbdsw.def)
+
+add_dependencies(kbdsw kbdsw_def psdk buildno_header)
diff --git a/dll/keyboard/kbdtat/CMakeLists.txt b/dll/keyboard/kbdtat/CMakeLists.txt
new file mode 100644 (file)
index 0000000..61a0d30
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdtat ${CMAKE_CURRENT_SOURCE_DIR}/kbdtat.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdtat.def)
+
+add_library(kbdtat SHARED kbdtat.c kbdtat.rc)
+
+set_entrypoint(kbdtat 0)
+
+target_link_libraries(kbdtat ${CMAKE_CURRENT_BINARY_DIR}/kbdtat.def)
+
+add_dependencies(kbdtat kbdtat_def psdk buildno_header)
diff --git a/dll/keyboard/kbdth0/CMakeLists.txt b/dll/keyboard/kbdth0/CMakeLists.txt
new file mode 100644 (file)
index 0000000..236f9c3
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdth0 ${CMAKE_CURRENT_SOURCE_DIR}/kbdth0.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdth0.def)
+
+add_library(kbdth0 SHARED kbdth0.c kbdth0.rc)
+
+set_entrypoint(kbdth0 0)
+
+target_link_libraries(kbdth0 ${CMAKE_CURRENT_BINARY_DIR}/kbdth0.def)
+
+add_dependencies(kbdth0 kbdth0_def psdk buildno_header)
diff --git a/dll/keyboard/kbdth1/CMakeLists.txt b/dll/keyboard/kbdth1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..01478d8
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdth1 ${CMAKE_CURRENT_SOURCE_DIR}/kbdth1.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdth1.def)
+
+add_library(kbdth1 SHARED kbdth1.c kbdth1.rc)
+
+set_entrypoint(kbdth1 0)
+
+target_link_libraries(kbdth1 ${CMAKE_CURRENT_BINARY_DIR}/kbdth1.def)
+
+add_dependencies(kbdth1 kbdth1_def psdk buildno_header)
diff --git a/dll/keyboard/kbdth2/CMakeLists.txt b/dll/keyboard/kbdth2/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8fa50b5
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdth2 ${CMAKE_CURRENT_SOURCE_DIR}/kbdth2.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdth2.def)
+
+add_library(kbdth2 SHARED kbdth2.c kbdth2.rc)
+
+set_entrypoint(kbdth2 0)
+
+target_link_libraries(kbdth2 ${CMAKE_CURRENT_BINARY_DIR}/kbdth2.def)
+
+add_dependencies(kbdth2 kbdth2_def psdk buildno_header)
diff --git a/dll/keyboard/kbdth3/CMakeLists.txt b/dll/keyboard/kbdth3/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b04dd6a
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdth3 ${CMAKE_CURRENT_SOURCE_DIR}/kbdth3.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdth3.def)
+
+add_library(kbdth3 SHARED kbdth3.c kbdth3.rc)
+
+set_entrypoint(kbdth3 0)
+
+target_link_libraries(kbdth3 ${CMAKE_CURRENT_BINARY_DIR}/kbdth3.def)
+
+add_dependencies(kbdth3 kbdth3_def psdk buildno_header)
diff --git a/dll/keyboard/kbdtuf/CMakeLists.txt b/dll/keyboard/kbdtuf/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ad18580
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdtuf ${CMAKE_CURRENT_SOURCE_DIR}/kbdtuf.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdtuf.def)
+
+add_library(kbdtuf SHARED kbdtuf.c kbdtuf.rc)
+
+set_entrypoint(kbdtuf 0)
+
+target_link_libraries(kbdtuf ${CMAKE_CURRENT_BINARY_DIR}/kbdtuf.def)
+
+add_dependencies(kbdtuf kbdtuf_def psdk buildno_header)
diff --git a/dll/keyboard/kbdtuq/CMakeLists.txt b/dll/keyboard/kbdtuq/CMakeLists.txt
new file mode 100644 (file)
index 0000000..042ec1d
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdtuq ${CMAKE_CURRENT_SOURCE_DIR}/kbdtuq.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdtuq.def)
+
+add_library(kbdtuq SHARED kbdtuq.c kbdtuq.rc)
+
+set_entrypoint(kbdtuq 0)
+
+target_link_libraries(kbdtuq ${CMAKE_CURRENT_BINARY_DIR}/kbdtuq.def)
+
+add_dependencies(kbdtuq kbdtuq_def psdk buildno_header)
diff --git a/dll/keyboard/kbduk/CMakeLists.txt b/dll/keyboard/kbduk/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d2eed68
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbduk ${CMAKE_CURRENT_SOURCE_DIR}/kbduk.spec ${CMAKE_CURRENT_BINARY_DIR}/kbduk.def)
+
+add_library(kbduk SHARED kbduk.c kbduk.rc)
+
+set_entrypoint(kbduk 0)
+
+target_link_libraries(kbduk ${CMAKE_CURRENT_BINARY_DIR}/kbduk.def)
+
+add_dependencies(kbduk kbduk_def psdk buildno_header)
diff --git a/dll/keyboard/kbdur/CMakeLists.txt b/dll/keyboard/kbdur/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f7262b4
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdur ${CMAKE_CURRENT_SOURCE_DIR}/kbdur.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdur.def)
+
+add_library(kbdur SHARED kbdur.c kbdur.rc)
+
+set_entrypoint(kbdur 0)
+
+target_link_libraries(kbdur ${CMAKE_CURRENT_BINARY_DIR}/kbdur.def)
+
+add_dependencies(kbdur kbdur_def psdk buildno_header)
diff --git a/dll/keyboard/kbdurs/CMakeLists.txt b/dll/keyboard/kbdurs/CMakeLists.txt
new file mode 100644 (file)
index 0000000..984b4d0
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdurs ${CMAKE_CURRENT_SOURCE_DIR}/kbdurs.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdurs.def)
+
+add_library(kbdurs SHARED kbdurs.c kbdurs.rc)
+
+set_entrypoint(kbdurs 0)
+
+target_link_libraries(kbdurs ${CMAKE_CURRENT_BINARY_DIR}/kbdurs.def)
+
+add_dependencies(kbdurs kbdurs_def psdk buildno_header)
diff --git a/dll/keyboard/kbdus/CMakeLists.txt b/dll/keyboard/kbdus/CMakeLists.txt
new file mode 100644 (file)
index 0000000..36e3ef3
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdus ${CMAKE_CURRENT_SOURCE_DIR}/kbdus.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdus.def)
+
+add_library(kbdus SHARED kbdus.c kbdus.rc)
+
+set_entrypoint(kbdus 0)
+
+target_link_libraries(kbdus ${CMAKE_CURRENT_BINARY_DIR}/kbdus.def)
+
+add_dependencies(kbdus kbdus_def psdk buildno_header)
diff --git a/dll/keyboard/kbdusa/CMakeLists.txt b/dll/keyboard/kbdusa/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2e3c4fd
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdusa ${CMAKE_CURRENT_SOURCE_DIR}/kbdusa.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdusa.def)
+
+add_library(kbdusa SHARED kbdusa.c kbdusa.rc)
+
+set_entrypoint(kbdusa 0)
+
+target_link_libraries(kbdusa ${CMAKE_CURRENT_BINARY_DIR}/kbdusa.def)
+
+add_dependencies(kbdusa kbdusa_def psdk buildno_header)
diff --git a/dll/keyboard/kbdusl/CMakeLists.txt b/dll/keyboard/kbdusl/CMakeLists.txt
new file mode 100644 (file)
index 0000000..55265f2
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdusl ${CMAKE_CURRENT_SOURCE_DIR}/kbdusl.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdusl.def)
+
+add_library(kbdusl SHARED kbdusl.c kbdusl.rc)
+
+set_entrypoint(kbdusl 0)
+
+target_link_libraries(kbdusl ${CMAKE_CURRENT_BINARY_DIR}/kbdusl.def)
+
+add_dependencies(kbdusl kbdusl_def psdk buildno_header)
diff --git a/dll/keyboard/kbdusr/CMakeLists.txt b/dll/keyboard/kbdusr/CMakeLists.txt
new file mode 100644 (file)
index 0000000..112b0cd
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdusr ${CMAKE_CURRENT_SOURCE_DIR}/kbdusr.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdusr.def)
+
+add_library(kbdusr SHARED kbdusr.c kbdusr.rc)
+
+set_entrypoint(kbdusr 0)
+
+target_link_libraries(kbdusr ${CMAKE_CURRENT_BINARY_DIR}/kbdusr.def)
+
+add_dependencies(kbdusr kbdusr_def psdk buildno_header)
diff --git a/dll/keyboard/kbdusx/CMakeLists.txt b/dll/keyboard/kbdusx/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1c11294
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdusx ${CMAKE_CURRENT_SOURCE_DIR}/kbdusx.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdusx.def)
+
+add_library(kbdusx SHARED kbdusx.c kbdusx.rc)
+
+set_entrypoint(kbdusx 0)
+
+target_link_libraries(kbdusx ${CMAKE_CURRENT_BINARY_DIR}/kbdusx.def)
+
+add_dependencies(kbdusx kbdusx_def psdk buildno_header)
diff --git a/dll/keyboard/kbduzb/CMakeLists.txt b/dll/keyboard/kbduzb/CMakeLists.txt
new file mode 100644 (file)
index 0000000..684b4e1
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbduzb ${CMAKE_CURRENT_SOURCE_DIR}/kbduzb.spec ${CMAKE_CURRENT_BINARY_DIR}/kbduzb.def)
+
+add_library(kbduzb SHARED kbduzb.c kbduzb.rc)
+
+set_entrypoint(kbduzb 0)
+
+target_link_libraries(kbduzb ${CMAKE_CURRENT_BINARY_DIR}/kbduzb.def)
+
+add_dependencies(kbduzb kbduzb_def psdk buildno_header)
diff --git a/dll/keyboard/kbdvntc/CMakeLists.txt b/dll/keyboard/kbdvntc/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d264679
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdvntc ${CMAKE_CURRENT_SOURCE_DIR}/kbdvntc.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdvntc.def)
+
+add_library(kbdvntc SHARED kbdvntc.c kbdvntc.rc)
+
+set_entrypoint(kbdvntc 0)
+
+target_link_libraries(kbdvntc ${CMAKE_CURRENT_BINARY_DIR}/kbdvntc.def)
+
+add_dependencies(kbdvntc kbdvntc_def psdk buildno_header)
diff --git a/dll/keyboard/kbdycc/CMakeLists.txt b/dll/keyboard/kbdycc/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4236997
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdycc ${CMAKE_CURRENT_SOURCE_DIR}/kbdycc.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdycc.def)
+
+add_library(kbdycc SHARED kbdycc.c kbdycc.rc)
+
+set_entrypoint(kbdycc 0)
+
+target_link_libraries(kbdycc ${CMAKE_CURRENT_BINARY_DIR}/kbdycc.def)
+
+add_dependencies(kbdycc kbdycc_def psdk buildno_header)
diff --git a/dll/keyboard/kbdycl/CMakeLists.txt b/dll/keyboard/kbdycl/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e32f1d9
--- /dev/null
@@ -0,0 +1,12 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
+
+spec2def(kbdycl ${CMAKE_CURRENT_SOURCE_DIR}/kbdycl.spec ${CMAKE_CURRENT_BINARY_DIR}/kbdycl.def)
+
+add_library(kbdycl SHARED kbdycl.c kbdycl.rc)
+
+set_entrypoint(kbdycl 0)
+
+target_link_libraries(kbdycl ${CMAKE_CURRENT_BINARY_DIR}/kbdycl.def)
+
+add_dependencies(kbdycl kbdycl_def psdk buildno_header)
index 46b51eb..71e3a3f 100644 (file)
--- a/gcc.cmake
+++ b/gcc.cmake
@@ -108,6 +108,10 @@ macro(set_module_type MODULE TYPE)
         set_entrypoint(${MODULE} DllMain@12)
         set_target_properties(${MODULE} PROPERTIES SUFFIX ".ocx")
     endif()
+    if(${TYPE} MATCHES cpl)
+        set_entrypoint(${MODULE} DllMain@12)
+        set_target_properties(${MODULE} PROPERTIES SUFFIX ".cpl")
+    endif()
 endmacro()
 
 endif()