Skip to content

Commit

Permalink
Clean up and fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mengdaming committed May 15, 2024
1 parent 3e0efb6 commit 6b57b4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions cpp/cpp_easy_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tcr/.gitignore
Original file line number Diff line number Diff line change
@@ -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/**
Expand Down

0 comments on commit 6b57b4e

Please sign in to comment.