https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d96609a4397c89a01f786…
commit d96609a4397c89a01f7868e6615c9751486bde65
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sat Mar 10 14:38:58 2018 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Fri Mar 30 18:52:14 2018 +0200
[CMAKE] Remove some anachronisms.
---
CMakeLists.txt | 10 ----------
sdk/cmake/CMakeMacros.cmake | 2 +-
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bcf4c18d30..f752a8eb18 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -138,16 +138,6 @@ else()
#useful stuff!
include(CMakeParseArguments)
- # Do some cleanup
- file(REMOVE
- ${REACTOS_BINARY_DIR}/dependencies.graphml
- ${REACTOS_BINARY_DIR}/boot/ros_livecd.txt
- ${REACTOS_BINARY_DIR}/boot/ros_livecd_target.txt
- ${REACTOS_BINARY_DIR}/boot/ros_minicd.txt
- ${REACTOS_BINARY_DIR}/boot/ros_minicd_target.txt
- ${REACTOS_BINARY_DIR}/boot/ros_cab.txt
- ${REACTOS_BINARY_DIR}/boot/ros_cab_target.txt)
-
if(NOT NEW_STYLE_BUILD)
if(NOT DEFINED REACTOS_BUILD_TOOLS_DIR)
set(REACTOS_BUILD_TOOLS_DIR ${REACTOS_SOURCE_DIR}/build)
diff --git a/sdk/cmake/CMakeMacros.cmake b/sdk/cmake/CMakeMacros.cmake
index 597143838b..89ef310f23 100644
--- a/sdk/cmake/CMakeMacros.cmake
+++ b/sdk/cmake/CMakeMacros.cmake
@@ -99,7 +99,7 @@ function(add_dependency_edge _source _target)
endfunction()
function(add_dependency_header)
- file(APPEND ${REACTOS_BINARY_DIR}/dependencies.graphml "<?xml
version=\"1.0\" encoding=\"UTF-8\"?>\n<graphml>\n <graph
id=\"ReactOS dependencies\" edgedefault=\"directed\">\n")
+ file(WRITE ${REACTOS_BINARY_DIR}/dependencies.graphml "<?xml
version=\"1.0\" encoding=\"UTF-8\"?>\n<graphml>\n <graph
id=\"ReactOS dependencies\" edgedefault=\"directed\">\n")
endfunction()
function(add_dependency_footer)