File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,10 @@ target_include_directories(${PROJECT_NAME}_TestPlugins1
7
7
PUBLIC "../include" ${console_bridge_INCLUDE_DIRS} ${Poco_INCLUDE_DIRS} )
8
8
target_link_libraries (${PROJECT_NAME} _TestPlugins1 ${PROJECT_NAME} )
9
9
class_loader_hide_library_symbols (${PROJECT_NAME} _TestPlugins1 )
10
- if (WIN32 )
11
- target_compile_definitions (${PROJECT_NAME} _TestPlugins1 PRIVATE "CLASS_LOADER_BUILDING_DLL" )
12
- endif ()
13
10
add_library (${PROJECT_NAME} _TestPlugins2 EXCLUDE_FROM_ALL SHARED plugins2.cpp )
14
11
target_include_directories (${PROJECT_NAME} _TestPlugins2
15
12
PUBLIC "../include" ${console_bridge_INCLUDE_DIRS} ${Poco_INCLUDE_DIRS} )
16
13
target_link_libraries (${PROJECT_NAME} _TestPlugins2 ${PROJECT_NAME} )
17
- if (WIN32 )
18
- target_compile_definitions (${PROJECT_NAME} _TestPlugins2 PRIVATE "CLASS_LOADER_BUILDING_DLL" )
19
- endif ()
20
14
class_loader_hide_library_symbols (${PROJECT_NAME} _TestPlugins2 )
21
15
22
16
if (WIN32 )
@@ -34,8 +28,6 @@ if(TARGET ${PROJECT_NAME}_utest)
34
28
PUBLIC "../include" ${console_bridge_INCLUDE_DIRS} ${Poco_INCLUDE_DIRS} )
35
29
target_link_libraries (${PROJECT_NAME} _utest
36
30
${PROJECT_NAME}
37
- ${PROJECT_NAME} _TestPlugins1
38
- ${PROJECT_NAME} _TestPlugins2
39
31
${Poco_LIBRARIES}
40
32
)
41
33
if (NOT WIN32 )
@@ -54,8 +46,6 @@ if(TARGET ${PROJECT_NAME}_unique_ptr_test)
54
46
PUBLIC "../include" ${Poco_INCLUDE_DIRS} )
55
47
target_link_libraries (${PROJECT_NAME} _unique_ptr_test
56
48
${PROJECT_NAME}
57
- ${PROJECT_NAME} _TestPlugins1
58
- ${PROJECT_NAME} _TestPlugins2
59
49
${Poco_LIBRARIES}
60
50
)
61
51
if (NOT WIN32 )
You can’t perform that action at this time.
0 commit comments