Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎨 change from cxx/hxx to cpp/hpp #10

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ add_library(example::example ALIAS example)
set_property(TARGET example PROPERTY SOVERSION "${PROJECT_VERSION}")

target_sources(example PRIVATE
example.cxx
example.cpp
)
target_sources(example PUBLIC
FILE_SET HEADERS
BASE_DIRS .
FILES example.hxx
FILES example.hpp
)

# GNUInstallDirs provides default definitions for CMAKE_INSTALL_LIBDIR
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
add_executable(example.test)
target_sources(example.test PRIVATE example.test.cxx)
target_sources(example.test PRIVATE example.test.cpp)
target_link_libraries(example.test PRIVATE example::example)

add_test(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <example.hxx>
#include <example.hpp>

int main(int, char*[]) {
return 0;
Expand Down
Loading