mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 19:30:25 +00:00
Some plug-in work
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# IfcConvert
|
||||
add_executable(IfcConvert IfcConvert.cpp)
|
||||
|
||||
target_link_libraries(IfcConvert PRIVATE IfcGeom IfcParse ${OpenCASCADE_LIBRARIES} ${Boost_LIBRARIES})
|
||||
target_link_libraries(IfcConvert PRIVATE IfcGeom IfcParse ${Boost_LIBRARIES})
|
||||
if(kernel_libraries OR mapping_libraries OR geometry_serializer_libraries OR document_serializer_libraries)
|
||||
add_dependencies(IfcConvert ${kernel_libraries} ${mapping_libraries} ${geometry_serializer_libraries} ${document_serializer_libraries})
|
||||
endif()
|
||||
|
||||
@@ -40,12 +40,6 @@
|
||||
|
||||
#include "../ifcparse/utils.h"
|
||||
|
||||
#ifdef IFOPSH_WITH_OPENCASCADE
|
||||
|
||||
#include <Standard_Version.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/program_options.hpp>
|
||||
#include <boost/optional/optional_io.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
@@ -174,11 +168,8 @@ std::vector<serializer_usage_line> document_serializer_usage_lines() {
|
||||
|
||||
void print_version()
|
||||
{
|
||||
cout_ << "IfcOpenShell IfcConvert " << IFCOPENSHELL_VERSION;
|
||||
#ifdef IFOPSH_WITH_OPENCASCADE
|
||||
cout_ << " (OCC " << OCC_VERSION_STRING_EXT << ")";
|
||||
#endif
|
||||
cout_ << "\n";
|
||||
// @todo print plug-in versions
|
||||
cout_ << "IfcOpenShell IfcConvert " << IFCOPENSHELL_VERSION << "\n";
|
||||
}
|
||||
|
||||
void print_usage(bool suggest_help = true)
|
||||
|
||||
Reference in New Issue
Block a user