From 06165f05bd4f8245431a5b4d99f2b48ee4cadf65 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 14 May 2015 22:31:12 +0000 Subject: [PATCH] [CMAKE] Exclude some modules from ARM build svn path=/trunk/; revision=67733 --- reactos/base/setup/CMakeLists.txt | 2 ++ reactos/drivers/base/CMakeLists.txt | 18 +++++++++++------- reactos/drivers/bus/CMakeLists.txt | 2 ++ reactos/subsystems/mvdm/CMakeLists.txt | 2 ++ 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/reactos/base/setup/CMakeLists.txt b/reactos/base/setup/CMakeLists.txt index 02a7bc1c2e9..8cb2a726104 100644 --- a/reactos/base/setup/CMakeLists.txt +++ b/reactos/base/setup/CMakeLists.txt @@ -2,5 +2,7 @@ add_subdirectory(reactos) add_subdirectory(setup) add_subdirectory(usetup) +if(NOT ARCH STREQUAL "arm") add_subdirectory(vmwinst) +endif() add_subdirectory(welcome) diff --git a/reactos/drivers/base/CMakeLists.txt b/reactos/drivers/base/CMakeLists.txt index fd190949276..c2f2b4609f7 100644 --- a/reactos/drivers/base/CMakeLists.txt +++ b/reactos/drivers/base/CMakeLists.txt @@ -4,15 +4,19 @@ add_subdirectory(bootvid) add_subdirectory(condrv) if(_WINKD_) - if (GDB) - add_subdirectory(kdgdb) - else() - add_subdirectory(kdcom) - add_subdirectory(kdvm) - endif() + if (GDB) + add_subdirectory(kdgdb) + else() + add_subdirectory(kdcom) + if(NOT ARCH STREQUAL "arm") + add_subdirectory(kdvm) + endif() + endif() else() - add_subdirectory(kdrosdbg) + add_subdirectory(kdrosdbg) endif() +if(NOT ARCH STREQUAL "arm") add_subdirectory(nmidebug) +endif() add_subdirectory(null) diff --git a/reactos/drivers/bus/CMakeLists.txt b/reactos/drivers/bus/CMakeLists.txt index 3393412e081..2a844115e16 100644 --- a/reactos/drivers/bus/CMakeLists.txt +++ b/reactos/drivers/bus/CMakeLists.txt @@ -1,5 +1,7 @@ +if(NOT ARCH STREQUAL "arm") add_subdirectory(acpi) +endif() add_subdirectory(isapnp) add_subdirectory(pci) add_subdirectory(pcix) diff --git a/reactos/subsystems/mvdm/CMakeLists.txt b/reactos/subsystems/mvdm/CMakeLists.txt index 27ff4a0c178..662fd3d0027 100644 --- a/reactos/subsystems/mvdm/CMakeLists.txt +++ b/reactos/subsystems/mvdm/CMakeLists.txt @@ -5,6 +5,8 @@ include(asm16.cmake) add_subdirectory(config) #add_subdirectory(dos) add_subdirectory(ntvdm) +if(ARCH STREQUAL "i386") add_subdirectory(samples) +endif() add_subdirectory(vdmdbg) #add_subdirectory(wow16)