-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add standalone executable #250
Conversation
Codecov Report
@@ Coverage Diff @@
## ign-gui5 #250 +/- ##
============================================
+ Coverage 66.10% 66.34% +0.23%
============================================
Files 26 27 +1
Lines 3219 3268 +49
============================================
+ Hits 2128 2168 +40
- Misses 1091 1100 +9
Continue to review full report at Codecov.
|
@osrf-jenkins retest this please |
cf0f3c3
to
3733562
Compare
src/Application.cc
Outdated
@@ -598,8 +607,14 @@ std::vector<std::pair<std::string, std::vector<std::string>>> | |||
// All we verify is that the file starts with "lib", any further | |||
// checks would require loading the plugin. | |||
|
|||
#ifndef _WIN32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I would find it easier to read with reversed logic:
#ifdef _WIN32
if (plugin.find(".lib") != std::string::npos)
#else
if (plugin.find("lib") == 0)
#endif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reversed in 3b0a96b
|
||
////////////////////////////////////////////////// | ||
extern "C" IGNITION_GUI_VISIBLE char *ignitionVersion() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the ABI checker is complaining that these symbols are now missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reverted the header file changes in 4e87255
Signed-off-by: ahcorde <ahcorde@gmail.com>
53b6c7b
to
3c93e6c
Compare
Requires at least this PR gazebo-tooling/release-tools#487 |
@osrf-jenkins retest this please |
std::string cmd = std::string("IGN_CONFIG_PATH=") + ignConfigPath + | ||
" ign gui -l"; | ||
#else | ||
std::string ign = std::string(IGN_PATH) + "/ign.rb"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably use path join
src/cmd/ign_TEST.cc
Outdated
" && " + ign + " gui -l"; | ||
#endif | ||
std::string output = custom_exec_str(cmd); | ||
std::cerr << "output " << output << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this output needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope this is for testing what is going on in the CI. I will remove it when the windows CI will be happy
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
87301b3
to
5be5998
Compare
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
REQUIRED | ||
PKGCONFIG "Qt5Core Qt5Quick Qt5QuickControls2 Qt5Widgets" | ||
PKGCONFIG "Qt5Core Qt5Quick Qt5Qml Qt5QuickControls2 Qt5Widgets" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, why is this needed?
@@ -598,8 +607,14 @@ std::vector<std::pair<std::string, std::vector<std::string>>> | |||
// All we verify is that the file starts with "lib", any further | |||
// checks would require loading the plugin. | |||
|
|||
#ifdef _WIN32 | |||
if (plugin.find(".lib") != std::string::npos) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checking if you meant to use the .lib
or if we should use the .dll
|
||
# Copyright (C) 2017 Open Source Robotics Foundation | ||
# Copyright (C) 2014 Open Source Robotics Foundation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going back in time?
src/cmd/ign.hh
Outdated
@@ -18,28 +18,30 @@ | |||
#ifndef IGNITION_GUI_IGN_HH_ | |||
#define IGNITION_GUI_IGN_HH_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ign.hh
is installed, so we need to tick-tock it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reverted the changes to ign.hh in 4e87255
@osrf-jenkins retest this please |
14357a1
to
1df9740
Compare
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@osrf-jenkins retest this please |
Windows IGN_TEST is still failing. The
@j-rivero do you have any idea ? |
Retain cmdVerbose in src/cmd/ign.hh Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@osrf-jenkins retest this please |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@osrf-jenkins run tests please |
1 similar comment
@osrf-jenkins run tests please |
@ahcorde , are you still planning to go back to this PR? Edifice will EOL next week, how about retargeting to |
@ahcorde do you plan to revisit this PR or should I close this out? |
Going to close this out due to lack of movement, feel free to re-open. |
Signed-off-by: ahcorde ahcorde@gmail.com
🎉 Enhancement
Summary
This PR improve support on Windows for the command line tool
Test it
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge