Skip to content

Commit

Permalink
Tick-tock header functions
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jun 17, 2022
1 parent 854e2f5 commit 4cceecc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions test/integration/plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ TEST(PluginLoader, LoadBadPlugins)
sp.AddPluginPaths(dummyPath);

std::vector<std::string> libraryNames = {
"IGNBadPluginAPIVersionOld",
"IGNBadPluginAPIVersionNew",
"IGNBadPluginAlign",
"IGNBadPluginSize"};
"GzBadPluginAPIVersionOld",
"GzBadPluginAPIVersionNew",
"GzBadPluginAlign",
"GzBadPluginSize"};
for (auto const & libraryName : libraryNames)
{
std::string path = sp.FindSharedLibrary(libraryName);
Expand Down
24 changes: 12 additions & 12 deletions test/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
add_library(IGNBadPluginAlign SHARED BadPluginAlign.cc)
target_link_libraries(IGNBadPluginAlign PRIVATE ${PROJECT_LIBRARY_TARGET_NAME})
add_library(IGNBadPluginAPIVersionNew SHARED BadPluginAPIVersionNew.cc)
target_link_libraries(IGNBadPluginAPIVersionNew PRIVATE ${PROJECT_LIBRARY_TARGET_NAME})
add_library(IGNBadPluginAPIVersionOld SHARED BadPluginAPIVersionOld.cc)
target_link_libraries(IGNBadPluginAPIVersionOld PRIVATE ${PROJECT_LIBRARY_TARGET_NAME})
add_library(IGNBadPluginSize SHARED BadPluginSize.cc)
target_link_libraries(IGNBadPluginSize PRIVATE ${PROJECT_LIBRARY_TARGET_NAME})
add_library(GzBadPluginAlign SHARED BadPluginAlign.cc)
target_link_libraries(GzBadPluginAlign PRIVATE ${PROJECT_LIBRARY_TARGET_NAME})
add_library(GzBadPluginAPIVersionNew SHARED BadPluginAPIVersionNew.cc)
target_link_libraries(GzBadPluginAPIVersionNew PRIVATE ${PROJECT_LIBRARY_TARGET_NAME})
add_library(GzBadPluginAPIVersionOld SHARED BadPluginAPIVersionOld.cc)
target_link_libraries(GzBadPluginAPIVersionOld PRIVATE ${PROJECT_LIBRARY_TARGET_NAME})
add_library(GzBadPluginSize SHARED BadPluginSize.cc)
target_link_libraries(GzBadPluginSize PRIVATE ${PROJECT_LIBRARY_TARGET_NAME})
add_library(GzDummyPlugins SHARED DummyPlugins.cc)
target_link_libraries(GzDummyPlugins PRIVATE ${PROJECT_LIBRARY_TARGET_NAME})

set_property(TARGET IGNBadPluginAlign PROPERTY CXX_STANDARD 11)
set_property(TARGET IGNBadPluginAPIVersionNew PROPERTY CXX_STANDARD 11)
set_property(TARGET IGNBadPluginAPIVersionOld PROPERTY CXX_STANDARD 11)
set_property(TARGET IGNBadPluginSize PROPERTY CXX_STANDARD 11)
set_property(TARGET GzBadPluginAlign PROPERTY CXX_STANDARD 11)
set_property(TARGET GzBadPluginAPIVersionNew PROPERTY CXX_STANDARD 11)
set_property(TARGET GzBadPluginAPIVersionOld PROPERTY CXX_STANDARD 11)
set_property(TARGET GzBadPluginSize PROPERTY CXX_STANDARD 11)
set_property(TARGET GzDummyPlugins PROPERTY CXX_STANDARD 11)

# Create a variable for the name of the header which will contain the dummy plugin path.
Expand Down

0 comments on commit 4cceecc

Please sign in to comment.