[CMAKE]
authorJérôme Gardou <jerome.gardou@reactos.org>
Sat, 25 Sep 2010 19:51:28 +0000 (19:51 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Sat, 25 Sep 2010 19:51:28 +0000 (19:51 +0000)
  - add fontview to build
  - add experimental solitaire build file

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

base/applications/CMakeLists.txt
base/applications/fontview/CMakeLists.txt [new file with mode: 0644]
base/applications/games/CMakeLists.txt
base/applications/games/solitaire/CMakeLists.txt [new file with mode: 0644]

index e547be5..557e5fa 100644 (file)
@@ -6,8 +6,8 @@ add_subdirectory(cmdutils)
 add_subdirectory(control)
 #add_subdirectory(dxdiag)
 add_subdirectory(extrac32)
-#add_subdirectory(fontview)
-#add_subdirectory(games)
+add_subdirectory(fontview)
+add_subdirectory(games)
 #add_subdirectory(hh)
 #add_subdirectory(iexplore)
 #add_subdirectory(kbswitch)
diff --git a/base/applications/fontview/CMakeLists.txt b/base/applications/fontview/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f2557f8
--- /dev/null
@@ -0,0 +1,11 @@
+
+add_executable(fontview
+    display.c
+    fontview.c
+    fontview.rc)
+
+set_unicode(fontview no)
+
+set_module_type(fontview win32gui)
+
+add_importlibs(fontview gdi32 shell32 user32 msvcrt)
\ No newline at end of file
index caf7e35..bde2267 100644 (file)
@@ -1,4 +1,4 @@
 
-#add_subdirectory(solitaire)
+add_subdirectory(solitaire)
 #add_subdirectory(spider)
 #add_subdirectory(winemine)
diff --git a/base/applications/games/solitaire/CMakeLists.txt b/base/applications/games/solitaire/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e41b503
--- /dev/null
@@ -0,0 +1,16 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib)
+
+add_executable(sol
+    solcreate.cpp
+    solgame.cpp
+    solitaire.cpp
+    rsrc.rc)
+
+set_unicode(sol yes)
+
+set_module_type(sol win32gui)
+
+target_link_libraries(sol cardlib)
+
+add_importlibs(sol advapi32 comctl32 user32 gdi32 stdc++ gcc mingw32 msvcrt)
\ No newline at end of file