diff --git a/cpp/cpp_easy_setup.sh b/cpp/cpp_easy_setup.sh index 9b9969b..2684ac5 100755 --- a/cpp/cpp_easy_setup.sh +++ b/cpp/cpp_easy_setup.sh @@ -67,11 +67,10 @@ cmake_home="cmake-${os}-${arch}" build_dir="build" mkdir -p "${build_dir}" -# cd "${build_dir}" -cmake_build_dir=".cmake" -mkdir -p "${cmake_build_dir}" -cd "${cmake_build_dir}" +cmake_dir=".cmake" +mkdir -p "${cmake_dir}" +cd "${cmake_dir}" if ! [ -f "${cmake_expected_archive_file}" ] then @@ -98,7 +97,7 @@ fi cd .. -cmake_bin_path="${cmake_build_dir}/${cmake_home}/${cmake_bin_dir}" +cmake_bin_path="${cmake_dir}/${cmake_home}/${cmake_bin_dir}" eval ${cmake_bin_path}/${cmake} "${cmake_generator_options}" -S . -B "${build_dir}" ${cmake_bin_path}/${cmake} --build "${build_dir}" --config Debug diff --git a/tcr/.gitignore b/tcr/.gitignore index 61af265..47ecd5f 100644 --- a/tcr/.gitignore +++ b/tcr/.gitignore @@ -1,5 +1,5 @@ # Below files and directories are automatically created -# by tcr.sh and sould not be committed to this repository +# by tcr.sh and should not be committed to this repository bin/** doc/**