0002-do-not-change-output-path-when-building-in-debug.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. From 2868add1b7375ef4e2427edb85e27759c5ee226b Mon Sep 17 00:00:00 2001
  2. From: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
  3. Date: Fri, 31 Mar 2017 20:05:30 +0200
  4. Subject: [PATCH] do not change output path when building in debug
  5. Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
  6. ---
  7. CMakeLists.txt | 9 ---------
  8. 1 file changed, 9 deletions(-)
  9. diff --git a/CMakeLists.txt b/CMakeLists.txt
  10. index 94c474e..1080e41 100644
  11. --- a/CMakeLists.txt
  12. +++ b/CMakeLists.txt
  13. @@ -43,15 +43,6 @@ project(synergy C CXX)
  14. set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
  15. set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
  16. -# for unix, put debug files in a separate bin "debug" dir.
  17. -# release bin files should stay in the root of the bin dir.
  18. -if (CMAKE_GENERATOR STREQUAL "Unix Makefiles")
  19. - if (CMAKE_BUILD_TYPE STREQUAL Debug)
  20. - set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin/debug)
  21. - set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib/debug)
  22. - endif()
  23. -endif()
  24. -
  25. # Set some easy to type variables.
  26. set(root_dir ${CMAKE_SOURCE_DIR})
  27. set(cmake_dir ${root_dir}/res)
  28. --
  29. 2.7.4