projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ec7aba
)
win32: Use -mwindows to avoid opening a "DOS box".
author
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 23 Apr 2013 19:20:31 +0000
(21:20 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 23 Apr 2013 19:34:40 +0000
(21:34 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 7bc13e05da62379b2c6e82497b60efbe198048fe..d673cf81da6cd4b3d022b52eda8d5628edfeb353 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-225,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
#-------------------------------------------------------------------------------