From 6601fe903d535a70fac040b46d29e77c00955392 Mon Sep 17 00:00:00 2001 From: Ye Luo Date: Wed, 29 Sep 2021 16:23:13 -0500 Subject: [PATCH 1/2] Fix accidentally moved executables by #3467 --- src/QMCTools/CMakeLists.txt | 1 + src/Sandbox/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/src/QMCTools/CMakeLists.txt b/src/QMCTools/CMakeLists.txt index 1c48896f66..5f358da550 100644 --- a/src/QMCTools/CMakeLists.txt +++ b/src/QMCTools/CMakeLists.txt @@ -17,6 +17,7 @@ project(qmctools) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${qmcpack_BINARY_DIR}/bin) add_executable(convert4qmc convert4qmc.cpp QMCGaussianParserBase.cpp GaussianFCHKParser.cpp GamesAsciiParser.cpp LCAOHDFParser.cpp DiracParser.cpp) diff --git a/src/Sandbox/CMakeLists.txt b/src/Sandbox/CMakeLists.txt index eaea5cc545..c371a21443 100644 --- a/src/Sandbox/CMakeLists.txt +++ b/src/Sandbox/CMakeLists.txt @@ -1,5 +1,6 @@ project(Sandbox) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${qmcpack_BINARY_DIR}/bin) # add apps XYZ.cpp, e.g., qmc_particles.cpp set(ESTEST diff_distancetables einspline_spo einspline_spo_nested determinant restart determinant_delayed_update) From d8b9ea4ffff501adeea4292534776ebe0dc0f586 Mon Sep 17 00:00:00 2001 From: Ye Luo Date: Wed, 29 Sep 2021 16:30:43 -0500 Subject: [PATCH 2/2] Need special care in src/QMCTools/tests --- src/QMCTools/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/QMCTools/tests/CMakeLists.txt b/src/QMCTools/tests/CMakeLists.txt index 2be1e44c11..c4d276111e 100644 --- a/src/QMCTools/tests/CMakeLists.txt +++ b/src/QMCTools/tests/CMakeLists.txt @@ -10,6 +10,7 @@ #////////////////////////////////////////////////////////////////////////////////////// +unset(CMAKE_RUNTIME_OUTPUT_DIRECTORY) set(SRC_DIR tools) set(UTEST_EXE test_${SRC_DIR}) set(UTEST_NAME deterministic-unit_test_${SRC_DIR})