[ros-diffs] [akhaldi] 49490: [CMAKE] - Improve more libs.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Fri Nov 5 17:35:40 UTC 2010


Author: akhaldi
Date: Fri Nov  5 17:35:39 2010
New Revision: 49490

URL: http://svn.reactos.org/svn/reactos?rev=49490&view=rev
Log:
[CMAKE]
- Improve more libs.

Modified:
    branches/cmake-bringup/lib/3rdparty/cardlib/CMakeLists.txt
    branches/cmake-bringup/lib/3rdparty/expat/CMakeLists.txt
    branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt
    branches/cmake-bringup/lib/drivers/sound/soundblaster/CMakeLists.txt

Modified: branches/cmake-bringup/lib/3rdparty/cardlib/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/cardlib/CMakeLists.txt?rev=49490&r1=49489&r2=49490&view=diff
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/cardlib/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/cardlib/CMakeLists.txt [iso-8859-1] Fri Nov  5 17:35:39 2010
@@ -1,4 +1,16 @@
-file(GLOB_RECURSE SOURCE "*.cpp")
+
+list(APPEND SOURCE
+    cardbitmaps.cpp
+    cardbutton.cpp
+    cardcolor.cpp
+    cardcount.cpp
+    cardlib.cpp
+    cardregion.cpp
+    cardrgndraw.cpp
+    cardrgnmouse.cpp
+    cardstack.cpp
+    cardwindow.cpp
+    dropzone.cpp)
 
 add_library(cardlib ${SOURCE})
-add_dependencies(cardlib psdk)
+add_dependencies(cardlib psdk)

Modified: branches/cmake-bringup/lib/3rdparty/expat/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/expat/CMakeLists.txt?rev=49490&r1=49489&r2=49490&view=diff
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/expat/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/expat/CMakeLists.txt [iso-8859-1] Fri Nov  5 17:35:39 2010
@@ -1,9 +1,13 @@
 
-include_directories(lib)
-include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/expat)
+include_directories(
+    lib
+    ${REACTOS_SOURCE_DIR}/include/reactos/libs/expat)
 
 add_definitions(-DHAVE_EXPAT_CONFIG_H)
-file(GLOB_RECURSE SOURCE "lib/*.c")
-LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/lib/xmltok_impl.c ${CMAKE_CURRENT_SOURCE_DIR}/lib/xmltok_ns.c)
 
-add_library(expat ${SOURCE})
+list(APPEND SOURCE
+    lib/xmlparse.c
+    lib/xmlrole.c
+    lib/xmltok.c)
+
+add_library(expat ${SOURCE})

Modified: branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt?rev=49490&r1=49489&r2=49490&view=diff
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/freetype/CMakeLists.txt [iso-8859-1] Fri Nov  5 17:35:39 2010
@@ -1,51 +1,52 @@
-add_definitions(-D__NTDRIVER__)
-add_definitions(-DFT2_BUILD_LIBRARY)
-add_definitions(-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER)
+
+add_definitions(
+    -D__NTDRIVER__
+    -DFT2_BUILD_LIBRARY
+    -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER)
 
 include_directories(include)
 
-set(SOURCE
-  "src/autofit/autofit.c"
-  "src/base/ftbase.c"
-  "src/base/ftbbox.c"
-  "src/base/ftbdf.c"
-  "src/base/ftbitmap.c"
-  "src/base/ftdebug.c"
-  "src/base/ftgasp.c"
-  "src/base/ftglyph.c"
-  "src/base/ftgxval.c"
-  "src/base/ftinit.c"
-  "src/base/ftlcdfil.c"
-  "src/base/ftmm.c"
-  "src/base/ftotval.c"
-  "src/base/ftpatent.c"
-  "src/base/ftpfr.c"
-  "src/base/ftstroke.c"
-  "src/base/ftsynth.c"
-  "src/base/ftsystem.c"
-  "src/base/fttype1.c"
-  "src/base/ftwinfnt.c"
-  "src/base/ftxf86.c"
-  "src/bdf/bdf.c"
-  "src/cache/ftcache.c"
-  "src/cff/cff.c"
-  "src/cid/type1cid.c"
-  "src/gxvalid/gxvalid.c"
-  "src/gzip/ftgzip.c"
-  "src/lzw/ftlzw.c"
-  "src/otvalid/otvalid.c"
-  "src/pcf/pcf.c"
-  "src/pfr/pfr.c"
-  "src/psaux/psaux.c"
-  "src/pshinter/pshinter.c"
-  "src/psnames/psnames.c"
-  "src/raster/raster.c"
-  "src/sfnt/sfnt.c"
-  "src/smooth/smooth.c"
-  "src/truetype/truetype.c"
-  "src/type1/type1.c"
-  "src/type42/type42.c"
-  "src/winfonts/winfnt.c"
-)
+list(APPEND SOURCE
+  src/autofit/autofit.c
+  src/base/ftbase.c
+  src/base/ftbbox.c
+  src/base/ftbdf.c
+  src/base/ftbitmap.c
+  src/base/ftdebug.c
+  src/base/ftgasp.c
+  src/base/ftglyph.c
+  src/base/ftgxval.c
+  src/base/ftinit.c
+  src/base/ftlcdfil.c
+  src/base/ftmm.c
+  src/base/ftotval.c
+  src/base/ftpatent.c
+  src/base/ftpfr.c
+  src/base/ftstroke.c
+  src/base/ftsynth.c
+  src/base/ftsystem.c
+  src/base/fttype1.c
+  src/base/ftwinfnt.c
+  src/base/ftxf86.c
+  src/bdf/bdf.c
+  src/cache/ftcache.c
+  src/cff/cff.c
+  src/cid/type1cid.c
+  src/gxvalid/gxvalid.c
+  src/gzip/ftgzip.c
+  src/lzw/ftlzw.c
+  src/otvalid/otvalid.c
+  src/pcf/pcf.c
+  src/pfr/pfr.c
+  src/psaux/psaux.c
+  src/pshinter/pshinter.c
+  src/psnames/psnames.c
+  src/raster/raster.c
+  src/sfnt/sfnt.c
+  src/smooth/smooth.c
+  src/truetype/truetype.c
+  src/type1/type1.c
+  src/type42/type42.c
+  src/winfonts/winfnt.c)
 
-add_library(freetype ${SOURCE})
+add_library(freetype ${SOURCE})

Modified: branches/cmake-bringup/lib/drivers/sound/soundblaster/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/drivers/sound/soundblaster/CMakeLists.txt?rev=49490&r1=49489&r2=49490&view=diff
==============================================================================
--- branches/cmake-bringup/lib/drivers/sound/soundblaster/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/drivers/sound/soundblaster/CMakeLists.txt [iso-8859-1] Fri Nov  5 17:35:39 2010
@@ -5,7 +5,7 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
 
-file(APPEND SOURCE
+list(APPEND SOURCE
     dsp_io.c
     version.c
     speaker.c




More information about the Ros-diffs mailing list