From 022e9c55701e797df1daaf6073c3b651a9dbb425 Mon Sep 17 00:00:00 2001 From: Jessica James Date: Wed, 19 Dec 2018 15:56:13 -0600 Subject: [PATCH] Added `cmake_vs17.bat` for convenience --- .gitignore | 6 ++++++ CMakeLists.txt | 2 +- build/cmake_vs17.bat | 3 +++ src/CMakeLists.txt | 2 +- src/common/CMakeLists.txt | 2 +- 5 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 build/cmake_vs17.bat diff --git a/.gitignore b/.gitignore index d1545b3..3e027ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,10 @@ +# CLion project files .idea/ +cmake-build-debug/ +cmake-build-release/ + +# VS project files +build/vs17/ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. diff --git a/CMakeLists.txt b/CMakeLists.txt index 7351702..19bf481 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.0) project(jupiter) set(CMAKE_CXX_STANDARD 17) diff --git a/build/cmake_vs17.bat b/build/cmake_vs17.bat new file mode 100644 index 0000000..154dd7a --- /dev/null +++ b/build/cmake_vs17.bat @@ -0,0 +1,3 @@ +mkdir vs17 +cd vs17 +cmake ..\.. -G "Visual Studio 15 2017" \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a370822..8bc0996 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.0) # Setup source files add_subdirectory(common) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index c12cc88..c9e0bed 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.0) # Setup source files set(SOURCE_FILES