# Compile options
if(ARCH STREQUAL "i386")
- include(cmake/config.cmake)
+ include(sdk/cmake/config.cmake)
elseif(ARCH STREQUAL "amd64")
- include(cmake/config-amd64.cmake)
+ include(sdk/cmake/config-amd64.cmake)
elseif(ARCH STREQUAL "arm")
- include(cmake/config-arm.cmake)
+ include(sdk/cmake/config-arm.cmake)
endif()
# Compiler flags handling
-include(cmake/compilerflags.cmake)
+include(sdk/cmake/compilerflags.cmake)
add_definitions(-D__REACTOS__)
endif()
# Bison and Flex support
-# include(cmake/bison-flex.cmake)
+# include(sdk/cmake/bison-flex.cmake)
if(NOT CMAKE_CROSSCOMPILING)
else()
if(NEW_STYLE_BUILD)
- include(cmake/host-tools.cmake)
+ include(sdk/cmake/host-tools.cmake)
endif()
# Print build type
enable_language(RC)
# Localization definitions
- include(cmake/localization.cmake)
+ include(sdk/cmake/localization.cmake)
set(I18N_DEFS "")
# This will set I18N_DEFS for later use
set_i18n_language(${I18N_LANG})
# Compiler specific definitions and macros
if(MSVC)
- include(cmake/msvc.cmake)
+ include(sdk/cmake/msvc.cmake)
else()
- include(cmake/gcc.cmake)
+ include(sdk/cmake/gcc.cmake)
endif()
# Generic macros
- include(cmake/CMakeMacros.cmake)
+ include(sdk/cmake/CMakeMacros.cmake)
# IDL macros for widl/midl
# We're using widl now for both MSVC and GCC builds
- include(cmake/widl-support.cmake)
+ include(sdk/cmake/widl-support.cmake)
include_directories(
sdk/include
add_subdirectory(sdk/include/asm)
if(NO_ROSSYM)
- include(cmake/baseaddress_dwarf.cmake)
+ include(sdk/cmake/baseaddress_dwarf.cmake)
elseif(MSVC)
- include(cmake/baseaddress_msvc.cmake)
+ include(sdk/cmake/baseaddress_msvc.cmake)
else()
- include(cmake/baseaddress.cmake)
+ include(sdk/cmake/baseaddress.cmake)
endif()
# For MSVC builds, this puts all debug symbols file in the same directory.