@@ -3,22 +3,22 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
33set (CMAKE_CXX_EXTENSIONS OFF )
44set (CMAKE_CXX_STANDARD 26)
55
6- project (rsl_xml CXX )
6+ project (rsl-xml CXX )
77
8- add_library (rsl_xml )
9- target_include_directories (rsl_xml PUBLIC include )
8+ add_library (rsl-xml )
9+ target_include_directories (rsl-xml PUBLIC include )
1010add_subdirectory (src )
1111
12- target_compile_options (rsl_xml PUBLIC "-freflection-latest" )
13- target_include_directories (rsl_xml PUBLIC
12+ target_compile_options (rsl-xml PUBLIC "-freflection-latest" )
13+ target_include_directories (rsl-xml PUBLIC
1414 $<INSTALL_INTERFACE :include >
1515 $<BUILD_INTERFACE :${CMAKE_CURRENT_LIST_DIR } /include >)
1616
1717find_package (rsl-util REQUIRED )
18- target_link_libraries (rsl_xml PUBLIC rsl::util )
18+ target_link_libraries (rsl-xml PUBLIC rsl::util )
1919
2020
21- install (TARGETS rsl_xml )
21+ install (TARGETS rsl-xml )
2222install (DIRECTORY include/ DESTINATION include)
2323
2424option (BUILD_EXAMPLES "Enable examples" ON )
@@ -33,13 +33,13 @@ if (BUILD_TESTING)
3333 message (STATUS "Building unit tests" )
3434
3535 enable_testing ()
36- add_executable (rsl_xml_test )
36+ add_executable (rsl-xml-test )
3737 add_subdirectory (test )
3838
3939 find_package (GTest REQUIRED )
40- target_link_libraries (rsl_xml_test PRIVATE rsl_xml )
41- target_link_libraries (rsl_xml_test PRIVATE GTest::gtest )
40+ target_link_libraries (rsl-xml-test PRIVATE rsl-xml )
41+ target_link_libraries (rsl-xml-test PRIVATE GTest::gtest )
4242
4343 include (GoogleTest )
44- gtest_discover_tests (rsl_xml_test )
45- endif ()
44+ gtest_discover_tests (rsl-xml-test )
45+ endif ()
0 commit comments