What about integrating set_cpp() into set_module_type, since that already handles a bunch of other things like UNICODE etc?
Am 02.04.2013 22:04, schrieb jgardou@svn.reactos.org:
Author: jgardou Date: Tue Apr 2 20:04:31 2013 New Revision: 58650
URL: http://svn.reactos.org/svn/reactos?rev=58650&view=rev Log: [CMICPL]
- This is a C++ module
Modified: trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt
Modified: trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/drivers/C... ============================================================================== --- trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt [iso-8859-1] Tue Apr 2 20:04:31 2013 @@ -1,3 +1,5 @@
+set_cpp()
add_library(cmicpl SHARED cmicpl.cpp @@ -10,6 +12,6 @@ shell32 msvcrt kernel32
- ntdll)
+)
add_cd_file(TARGET cmicpl DESTINATION reactos/system32/drivers FOR all)