[SVCCTL]
[reactos.git] / toolchain-msvc.cmake
index a866247..2fdc895 100644 (file)
@@ -29,8 +29,10 @@ set(CMAKE_C_COMPILER cl)
 set(CMAKE_CXX_COMPILER cl)\r
 SET(CMAKE_RC_COMPILER rc)\r
 SET(CMAKE_ASM_COMPILER ml)\r
+SET(CMAKE_IDL_COMPILER midl)\r
 \r
-SET(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <DEFINES> /I${REACTOS_SOURCE_DIR}/include/psdk /I${REACTOS_BINARY_DIR}/include/psdk /I${REACTOS_SOURCE_DIR}/include/ /I${REACTOS_SOURCE_DIR}/include/reactos /I${REACTOS_BINARY_DIR}/include/reactos /I${REACTOS_SOURCE_DIR}/include/reactos/wine /I${REACTOS_SOURCE_DIR}/include/crt /I${REACTOS_SOURCE_DIR}/include/crt/mingw32 /fo <OBJECT> <SOURCE>")\r
+SET(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <DEFINES> /I${REACTOS_SOURCE_DIR}/include/psdk /I${REACTOS_BINARY_DIR}/include/psdk /I${REACTOS_SOURCE_DIR}/include /I${REACTOS_SOURCE_DIR}/include/reactos /I${REACTOS_BINARY_DIR}/include/reactos /I${REACTOS_SOURCE_DIR}/include/reactos/wine /I${REACTOS_SOURCE_DIR}/include/crt /I${REACTOS_SOURCE_DIR}/include/crt/mingw32 /fo <OBJECT> <SOURCE>")\r
+SET(CMAKE_IDL_COMPILE_OBJECT "<CMAKE_IDL_COMPILER> <FLAGS> <DEFINES> /win32 /h <OBJECT> <SOURCE>")\r
 \r
 set(CMAKE_C_FLAGS_INIT "/DWIN32 /D_WINDOWS /W1 /Zm1000")\r
 set(CMAKE_C_FLAGS_DEBUG_INIT "/D_DEBUG /MDd /Zi  /Ob0 /Od")\r
@@ -42,3 +44,5 @@ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
 \r
 # Prevent from using run time checking when testing the compiler\r
 set(CMAKE_BUILD_TYPE "RelwithDebInfo" CACHE STRING "Build Type")\r
+\r
+set(CMAKE_C_STANDARD_LIBRARIES "" CACHE INTERNAL "")\r