-
Notifications
You must be signed in to change notification settings - Fork 30
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
HTTP API for CosmoScout #149
Conversation
Pull Request Test Coverage Report for Build 89782358
💛 - Coveralls |
On Windows I was promptet for admin privileges after (or at the end) of plugin loading. I denied the request and the applications seems to work normally. I can't reproduce it, since Windows seems to remember the decision. (I will try and work around that). |
make_externals.bat
Outdated
|
||
cmake -E make_directory "%BUILD_DIR%/civetweb" && cd "%BUILD_DIR%/civetweb" | ||
cmake %CMAKE_FLAGS% -DCMAKE_INSTALL_PREFIX="%INSTALL_DIR%" -DCIVETWEB_ENABLE_CXX=On ^ | ||
-DBUILD_SHARED_LIBS=On -DSPDLOG_ENABLE_PCH=On "%EXTERNALS_DIR%/civetweb" || exit /b |
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 right?
This plugin introduces a new external dependency that has to be installed for the whole of CosmoScout for a feature that is really specialized and only used within this plugin. Do you think we can add dependencies of plugins that are only required by that plugin differently? |
This is a difficult question. With dependencies such as However there are more complicated dependencies (like VTK in the scivis branch). The best solution would be along these lines:
What do you think? Would this be possible? But it's definitely not in the scope of this pull request... |
Moved this discussion to an issue: #150 |
I think I will remove the plugin from the default config, as it's not required for standard use cases. Are there any other ideas? |
I will add some documentation, but you can already start to play around! Simply checkout the branch, compile the externals and CosmoScout, launch it, and navigate to http://localhost:9001.
See cosmoscout/csp-web-api#1.
Edit: The plugin is not loaded per default now. You have to add this to you settings: