Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! squash! Gener…
Browse files Browse the repository at this point in the history
…al CMakeLists improvements - cmake v2→v3

I think the actual problem was the filter, but I left the test compile_definitions in too
  • Loading branch information
kheaactua committed Aug 16, 2024
1 parent 3388434 commit ccdcd76
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,10 @@ if(NOT ENABLE_MULTIPLE_ROUTING_MANAGERS)
EXPORT_NAME vsomeip3-cfg
)
target_compile_definitions(vsomeip3-cfg PUBLIC $<$<CXX_COMPILER_ID:MSVC>:VSOMEIP_DLL_COMPILATION_PLUGIN>)
if (MSVC)
# TEST
target_compile_definitions(vsomeip3-cfg PRIVATE "VSOMEIP_DLL_COMPILATION_PLUGIN")
endif()

target_link_libraries(
vsomeip3-cfg
Expand Down Expand Up @@ -386,7 +390,7 @@ list(SORT vsomeip3_SRC)

if(WIN32)
list(
FILTER ${VSOMEIP_NAME}_SRC
FILTER vsomeip3_SRC
EXCLUDE
REGEX
".*uds.*"
Expand Down

0 comments on commit ccdcd76

Please sign in to comment.