Skip to content

Commit 555200e

Browse files
committed
fix(V15): v15 changes
BREAKING CHANGE: v15 changes
1 parent 79d06d0 commit 555200e

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"C_Cpp.default.cppStandard": "c++11",
2+
"C_Cpp.default.cppStandard": "c++17",
33
"C_Cpp.default.includePath": [
44
"${workspaceFolder}/include",
55
"${workspaceFolder}/build",

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ add_geode_library(
4040
"common.cpp"
4141
"hello_world.cpp"
4242
PUBLIC_HEADERS
43-
"common.h"
44-
"hello_world.h"
43+
"common.hpp"
44+
"hello_world.hpp"
4545
PRIVATE_DEPENDENCIES
4646
OpenGeode::basic
4747
)

cmake/Doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ WARN_LOGFILE =
108108
#---------------------------------------------------------------------------
109109
INPUT = @CMAKE_SOURCE_DIR@/include @CMAKE_SOURCE_DIR@/docs
110110
INPUT_ENCODING = UTF-8
111-
FILE_PATTERNS = *.h *.dox
111+
FILE_PATTERNS = *.hpp *.dox
112112
RECURSIVE = YES
113113
EXCLUDE =
114114
EXCLUDE_SYMLINKS = NO

include/mylib/common.h renamed to include/mylib/common.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
#pragma once
66

7-
#include <geode/basic/common.h>
8-
#include <geode/basic/library.h>
9-
#include <mylib/opengeode_mymodule_mylib_export.h>
7+
#include <geode/basic/common.hpp>
8+
#include <geode/basic/library.hpp>
9+
#include <mylib/opengeode_mymodule_mylib_export.hpp>
1010

1111
namespace mymodule
1212
{

include/mylib/hello_world.h renamed to include/mylib/hello_world.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#pragma once
2525

26-
#include <mylib/common.h>
26+
#include <mylib/common.hpp>
2727

2828
namespace mymodule
2929
{

src/mylib/common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
*
2222
*/
2323

24-
#include <mylib/common.h>
24+
#include <mylib/common.hpp>
2525

26-
#include <geode/basic/library.h>
26+
#include <geode/basic/library.hpp>
2727

2828
namespace mymodule
2929
{

src/mylib/hello_world.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
*
2222
*/
2323

24-
#include <mylib/hello_world.h>
24+
#include <mylib/hello_world.hpp>
2525

26-
#include <geode/basic/logger.h>
26+
#include <geode/basic/logger.hpp>
2727

2828
namespace mymodule
2929
{

tests/mylib/test-hello-world.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
*
2222
*/
2323

24-
#include <geode/basic/assert.h>
25-
#include <geode/basic/logger.h>
24+
#include <geode/basic/assert.hpp>
25+
#include <geode/basic/logger.hpp>
2626

27-
#include <mylib/hello_world.h>
27+
#include <mylib/hello_world.hpp>
2828

2929
int main()
3030
{

0 commit comments

Comments
 (0)