File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
doc/modules/ROOT/examples/shared_libs Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ add_compile_definitions(BOOST_OPENMETHOD_ENABLE_RUNTIME_CHECKS)
1212
1313add_library (boost_openmethod-shared SHARED extensions.cpp)
1414target_link_libraries (boost_openmethod-shared Boost::openmethod)
15- set_target_properties (boost_openmethod-shared PROPERTIES ENABLE_EXPORTS ON )
15+ set_target_properties (boost_openmethod-shared PROPERTIES
16+ ENABLE_EXPORTS ON
17+ OUTPUT_NAME shared
18+ )
1619
1720add_executable (boost_openmethod-static static_main.cpp)
1821target_link_libraries (boost_openmethod-static Boost::openmethod Boost::dll boost_openmethod-shared)
@@ -36,7 +39,10 @@ add_library(boost_openmethod-indirect_shared SHARED indirect_extensions.cpp)
3639target_compile_definitions (
3740 boost_openmethod-indirect_shared PUBLIC BOOST_OPENMETHOD_DEFAULT_REGISTRY=indirect_registry)
3841target_link_libraries (boost_openmethod-indirect_shared PRIVATE Boost::openmethod Boost::dll)
39- set_target_properties (boost_openmethod-indirect_shared PROPERTIES ENABLE_EXPORTS ON )
42+ set_target_properties (boost_openmethod-indirect_shared PROPERTIES
43+ ENABLE_EXPORTS ON
44+ OUTPUT_NAME indirect_shared
45+ )
4046
4147add_executable (boost_openmethod-indirect indirect_main.cpp)
4248target_compile_definitions (
You can’t perform that action at this time.
0 commit comments