We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fee97e commit 3653c94Copy full SHA for 3653c94
1 file changed
commands/init
@@ -23,10 +23,13 @@ ln -fs .cppsm/.clang-format .clang-format
23
ln -fs .cppsm/.gitignore .gitignore
24
ln -fs .cppsm/.prettierrc .prettierrc
25
26
-cat << EOF > CMakeLists.txt
+if [ ! -e CMakeLists.txt ]; then
27
+ cat << EOF > CMakeLists.txt
28
cmake_minimum_required(VERSION 3.9)
29
+project(${PWD##*/})
30
include(.cppsm/c++17-no-rtti-no-exns.cmake)
31
EOF
32
+fi
33
34
cp "$CPPSM/.travis.yml" .travis.yml
35
0 commit comments