Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
Prepare for Eyescale/CMake#533
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Eilemann authored and eile committed Jan 20, 2017
1 parent 81e573b commit f4373f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/monsteerGUI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ set(MONSTEERGUI_SOURCES

set(MONSTEERGUI_LINK_LIBRARIES Monsteer MonsteerQt Qt5::Widgets)

common_application(monsteerGUI GUI)
common_application(monsteerGUI GUI NOHELP)
15 changes: 14 additions & 1 deletion apps/monsteer_spike_receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@

#define MUSIC_TIMESTEP 0.01f //seconds

#include <brion/brion.h>
#include <monsteer/types.h>

#include <brion/spikeReport.h>
#include <lunchbox/file.h>

#include <boost/foreach.hpp>
#include <algorithm>
#include <iostream>

namespace
{
Expand All @@ -39,6 +42,16 @@ class CommandLineOptions
: inputURI( pluginScheme )
{
if( argc > 1 )
{
if( std::string( argv[1] ) == "--help" )
{
std::cout << lunchbox::getFilename( argv[0] )
<< " [hostname]: receive spike stream and output to "
<< "stdout" << std::endl;
::exit( EXIT_SUCCESS );
}
}
else
inputURI = brion::URI( pluginScheme + argv[1] );
}
};
Expand Down

0 comments on commit f4373f9

Please sign in to comment.