[CMAKE]
[reactos.git] / CMakeLists.txt
index a46afab..5ffdc61 100644 (file)
@@ -3,11 +3,10 @@ project(REACTOS)
 
 add_definitions(-D__REACTOS__)
 
 
 add_definitions(-D__REACTOS__)
 
-#-fshort-wchar
-
 if(NOT CMAKE_CROSSCOMPILING)
 
 add_definitions(-DTARGET_i386)
 if(NOT CMAKE_CROSSCOMPILING)
 
 add_definitions(-DTARGET_i386)
+add_definitions(-fshort-wchar)
 
 include_directories(${REACTOS_SOURCE_DIR}/tools/unicode)
 include_directories(./include)
 
 include_directories(${REACTOS_SOURCE_DIR}/tools/unicode)
 include_directories(./include)
@@ -15,6 +14,7 @@ include_directories(./include/reactos)
 include_directories(./include/reactos/wine)
 
 add_subdirectory(tools)
 include_directories(./include/reactos/wine)
 
 add_subdirectory(tools)
+add_subdirectory(lib)
 
 export(TARGETS widl wmc FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
 
 
 export(TARGETS widl wmc FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
 
@@ -50,6 +50,8 @@ add_definitions(-Os -fno-strict-aliasing -ftracer -momit-leaf-frame-pointer -mpr
 
 include_directories(./include)
 include_directories(./include/psdk)
 
 include_directories(./include)
 include_directories(./include/psdk)
+include_directories(./include/dxsdk)
+include_directories(${REACTOS_BINARY_DIR}/include/dxsdk)
 include_directories(${REACTOS_BINARY_DIR}/include/psdk)
 include_directories(${REACTOS_BINARY_DIR}/include/reactos)
 include_directories(./include/crt)
 include_directories(${REACTOS_BINARY_DIR}/include/psdk)
 include_directories(${REACTOS_BINARY_DIR}/include/reactos)
 include_directories(./include/crt)
@@ -60,6 +62,7 @@ include_directories(./include/reactos)
 include_directories(./include/reactos/libs)
 
 add_subdirectory(include/psdk)
 include_directories(./include/reactos/libs)
 
 add_subdirectory(include/psdk)
+add_subdirectory(include/dxsdk)
 add_subdirectory(include/reactos/mc)
 
 add_subdirectory(lib)
 add_subdirectory(include/reactos/mc)
 
 add_subdirectory(lib)