Skip to content

Commit 789c685

Browse files
authored
Merge pull request #4 from cpp-best-practices/rename_to_travels
Rename from "awesome_game" to "travels"
2 parents 8c72955 + b93df81 commit 789c685

32 files changed

+163
-114
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117

118118
cppcheck: true
119119

120-
gcovr: true
120+
gcovr: 5.0
121121
opencppcoverage: true
122122

123123
- name: Cleanup Conan system packages (they are not properly cached)

CMakeLists.txt

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,6 @@ set(CMAKE_CXX_STANDARD 20)
1010
set(CMAKE_CXX_EXTENSIONS OFF)
1111

1212
include(FetchContent)
13-
14-
set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE)
15-
FetchContent_Declare(ftxui
16-
GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
17-
GIT_TAG v3.0.0
18-
)
19-
20-
FetchContent_GetProperties(ftxui)
21-
if(NOT ftxui_POPULATED)
22-
FetchContent_Populate(ftxui)
23-
add_subdirectory(${ftxui_SOURCE_DIR} ${ftxui_BINARY_DIR} EXCLUDE_FROM_ALL)
24-
endif()
25-
26-
27-
2813
# Note: by default ENABLE_DEVELOPER_MODE is True
2914
# This means that all analysis (sanitizers, static analysis)
3015
# is enabled and all warnings are treated as errors
@@ -49,10 +34,10 @@ include(${_project_options_SOURCE_DIR}/Index.cmake)
4934

5035
# Set the project name and language
5136
project(
52-
my_awesome_game
37+
travels
5338
VERSION 0.0.1
5439
DESCRIPTION ""
55-
HOMEPAGE_URL "https://github.com/lefticus/my_awesome_game"
40+
HOMEPAGE_URL "https://github.com/cpp-best-practices/travels"
5641
LANGUAGES CXX C)
5742

5843
set(GIT_SHA
@@ -161,11 +146,11 @@ if(MSVC)
161146
endif()
162147

163148
# set the startup project for the "play" button in MSVC
164-
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT awesome_game)
149+
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT travels)
165150

166151
# Add other targets that you want installed here, be default we just package the one executable
167152
# we know we want to ship
168-
package_project(TARGETS awesome_game)
153+
package_project(TARGETS travels)
169154

170155
# Experience shows that explicit package naming can help make it easier to sort
171156
# out potential ABI related issues before they start, while helping you

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Travels
22

3-
[![ci](https://github.com/cpp-best-practices/travels/actions/workflows/ci.yml/badge.svg)](https://github.com/lefticus/my_awesome_game/actions/workflows/ci.yml)
4-
[![codecov](https://codecov.io/gh/cpp-best-practices/travels/branch/main/graph/badge.svg)](https://codecov.io/gh/lefticus/my_awesome_game)
5-
[![CodeQL](https://github.com/cpp-best-practices/travels/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/lefticus/my_awesome_game/actions/workflows/codeql-analysis.yml)
6-
[![Language grade: C++](https://img.shields.io/lgtm/grade/cpp/github/cpp-best-practices/travels)](https://lgtm.com/projects/g/lefticus/my_awesome_game/context:cpp)
3+
[![ci](https://github.com/cpp-best-practices/travels/actions/workflows/ci.yml/badge.svg)](https://github.com/cpp-best-practices/travels/actions/workflows/ci.yml)
4+
[![codecov](https://codecov.io/gh/cpp-best-practices/travels/branch/main/graph/badge.svg)](https://codecov.io/gh/cpp-best-practices/travels)
5+
[![CodeQL](https://github.com/cpp-best-practices/travels/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/cpp-best-practices/travels/actions/workflows/codeql-analysis.yml)
6+
[![Language grade: C++](https://img.shields.io/lgtm/grade/cpp/github/cpp-best-practices/travels)](https://lgtm.com/projects/g/cpp-best-practices/travels/context:cpp)
77

88
## About Travels
99

conanfile.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ docopt.cpp/0.6.3
77
spdlog/1.10.0
88
nlohmann_json/3.10.5
99
lodepng/cci.20200615
10+
ftxui/3.0.0
1011

1112
[generators]
1213
cmake_find_package_multi

configured_files/config.hpp.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#ifndef my_awesome_game_CONFIG_HPP
2-
#define my_awesome_game_CONFIG_HPP
1+
#ifndef travels_CONFIG_HPP
2+
#define travels_CONFIG_HPP
33

44
// this is a basic example of how a CMake configured file might look
55
// in this particular case, we are using it to set the version number of our executable
6-
namespace my_awesome_game::cmake {
6+
namespace travels::cmake {
77
static constexpr std::string_view project_name = "@PROJECT_NAME@";
88
static constexpr std::string_view project_version = "@PROJECT_VERSION@";
99
static constexpr std::string_view source_dir = "@CMAKE_SOURCE_DIR@";
@@ -12,6 +12,6 @@ static constexpr int project_version_minor { @PROJECT_VERSION_MINOR@ };
1212
static constexpr int project_version_patch { @PROJECT_VERSION_PATCH@ };
1313
static constexpr int project_version_tweak { @PROJECT_VERSION_TWEAK@ };
1414
static constexpr std::string_view git_sha = "@GIT_SHA@";
15-
}// namespace my_awesome_game::cmake
15+
}// namespace travels::cmake
1616

1717
#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)