Skip to content

Commit dac4156

Browse files
Rename prepend cmake utils
1 parent 4d2f1f1 commit dac4156

10 files changed

Lines changed: 12 additions & 12 deletions

File tree

modules/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set_cmake_folder_context(TARGET_FOLDER_NAME)
1+
opendaq_set_cmake_folder_context(TARGET_FOLDER_NAME)
22

33
if (MSVC)
44
add_compile_options(/wd4100)

modules/websocket_streaming_client_module/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.10)
2-
set_cmake_folder_context(TARGET_FOLDER_NAME)
2+
opendaq_set_cmake_folder_context(TARGET_FOLDER_NAME)
33
project(WebsocketStreamingClientModule VERSION ${${REPO_OPTION_PREFIX}_VERSION} LANGUAGES C CXX)
44

55
if (MSVC)

modules/websocket_streaming_client_module/src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set(SRC_Srcs module_dll.cpp
1515
websocket_streaming_client_module_impl.cpp
1616
)
1717

18-
prepend_include(${TARGET_FOLDER_NAME} SRC_Include)
18+
opendaq_prepend_include(${TARGET_FOLDER_NAME} SRC_Include)
1919

2020
source_group("module" FILES ${MODULE_HEADERS_DIR}/websocket_streaming_client_module_impl.h
2121
${MODULE_HEADERS_DIR}/module_dll.h
@@ -45,4 +45,4 @@ target_include_directories(${LIB_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_
4545
)
4646

4747
opendaq_set_module_properties(${LIB_NAME} ${PROJECT_VERSION_MAJOR})
48-
create_version_header(${LIB_NAME})
48+
opendaq_create_version_header(${LIB_NAME})

modules/websocket_streaming_server_module/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.10)
2-
set_cmake_folder_context(TARGET_FOLDER_NAME)
2+
opendaq_set_cmake_folder_context(TARGET_FOLDER_NAME)
33
project(WebsocketStreamingServerModule VERSION ${${REPO_OPTION_PREFIX}_VERSION} LANGUAGES CXX)
44

55
add_subdirectory(src)

modules/websocket_streaming_server_module/src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set(SRC_Srcs module_dll.cpp
1717
websocket_streaming_server_impl.cpp
1818
)
1919

20-
prepend_include(${TARGET_FOLDER_NAME} SRC_Include)
20+
opendaq_prepend_include(${TARGET_FOLDER_NAME} SRC_Include)
2121

2222
source_group("module" FILES ${MODULE_HEADERS_DIR}/websocket_streaming_server_module_impl.h
2323
${MODULE_HEADERS_DIR}/websocket_streaming_server_impl.h
@@ -49,5 +49,5 @@ target_include_directories(${LIB_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_
4949
)
5050

5151
opendaq_set_module_properties(${LIB_NAME} ${PROJECT_VERSION_MAJOR})
52-
create_version_header(${LIB_NAME})
52+
opendaq_create_version_header(${LIB_NAME})
5353

shared/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set_cmake_folder_context(TARGET_FOLDER_NAME)
1+
opendaq_set_cmake_folder_context(TARGET_FOLDER_NAME)
22

33
if (MSVC)
44
add_compile_options(/wd4100)

shared/libraries/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
set_cmake_folder_context(TARGET_FOLDER_NAME)
1+
opendaq_set_cmake_folder_context(TARGET_FOLDER_NAME)
22

33
add_subdirectory(websocket_streaming)

shared/libraries/websocket_streaming/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.10)
2-
set_cmake_folder_context(TARGET_FOLDER_NAME ${OPENDAQ_SDK_TARGET_NAMESPACE}_websocket_streaming)
2+
opendaq_set_cmake_folder_context(TARGET_FOLDER_NAME ${OPENDAQ_SDK_TARGET_NAMESPACE}_websocket_streaming)
33
project(OpenDaqStreaming
44
VERSION 4.0.0
55
LANGUAGES CXX

shared/libraries/websocket_streaming/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ set(SRC_PublicHeaders
3232
)
3333

3434
set(INCLUDE_DIR ../include/websocket_streaming)
35-
prepend_include(${INCLUDE_DIR} SRC_PublicHeaders)
35+
opendaq_prepend_include(${INCLUDE_DIR} SRC_PublicHeaders)
3636

3737

3838
set(SRC_PrivateHeaders

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set_cmake_folder_context(TARGET_FOLDER_NAME)
1+
opendaq_set_cmake_folder_context(TARGET_FOLDER_NAME)
22

33
if (MSVC)
44
add_compile_options(/wd4100)

0 commit comments

Comments
 (0)