summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Make/MakefileConflict.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Make/MakefileConflict.cmake')
-rw-r--r--Tests/RunCMake/Make/MakefileConflict.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/Make/MakefileConflict.cmake b/Tests/RunCMake/Make/MakefileConflict.cmake
new file mode 100644
index 0000000..6a8406f
--- /dev/null
+++ b/Tests/RunCMake/Make/MakefileConflict.cmake
@@ -0,0 +1,5 @@
+add_custom_target(Custom)
+
+# Write a file that GNU make will prefer over "Makefile"
+# if 'cmake --build' does not explicitly specify it.
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/GNUmakefile" "")