From 457733ee7a14b0ba2a39e2c5efef02b8bf121eec Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Wed, 19 Oct 2005 01:59:25 +0000 Subject: [PATCH] add support for control panel applets svn path=/trunk/; revision=18585 --- reactos/tools/rbuild/backend/msvc/msvcmaker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp b/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp index 7eebcabc477..364d20a91ee 100644 --- a/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp +++ b/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp @@ -50,7 +50,7 @@ MSVCBackend::_generate_dsp ( const Module& module ) string module_type = GetExtension(module.GetTargetName()); bool lib = (module_type == ".lib") || (module_type == ".a"); - bool dll = (module_type == ".dll"); + bool dll = (module_type == ".dll") || (module_type == ".cpl"); bool exe = (module_type == ".exe"); // TODO FIXME - need more checks here for 'sys' and possibly 'drv'? @@ -555,6 +555,7 @@ MSVCBackend::_generate_dsp ( const Module& module ) // TODO FIXME - do we need their kludge? //if ( module.name == "ntdll" ) fprintf ( OUT, " /nodefaultlib" ); // FIXME: Kludge if ( dll ) fprintf ( OUT, " /def:\"%s.def\"", module.name.c_str() ); + if (( dll ) && ( module_type == ".cpl")) fprintf ( OUT, " /out:\"Win32\\%s%s\"", module.name.c_str(), module_type.c_str() ); if ( debug ) fprintf ( OUT, " /pdbtype:sept" ); fprintf ( OUT, "\r\n" ); }