X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=CMakeLists.txt;h=d673cf81da6cd4b3d022b52eda8d5628edfeb353;hb=92b139d0889951e1bb90ee0803bdc6999fdf48b0;hp=2d9ec8f2ff76fd9260d6315e2d4a641c3f399064;hpb=140181a46034cf65739ba4bf0bf1260ab94ac736;p=pulseview.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d9ec8f..d673cf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,6 +121,7 @@ set(pulseview_SOURCES pv/toolbars/samplingbar.cpp pv/view/analogsignal.cpp pv/view/cursor.cpp + pv/view/cursorpair.cpp pv/view/header.cpp pv/view/logicsignal.cpp pv/view/ruler.cpp @@ -224,6 +225,11 @@ add_executable(${PROJECT_NAME} target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS}) +if(WIN32) +# Pass -mwindows so that no "DOS box" will open when PulseView is started. +set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-mwindows") +endif() + #=============================================================================== #= Installation #-------------------------------------------------------------------------------