Commit 41e9adfb authored by Ralf Habacker's avatar Ralf Habacker

Build command line tools as console application on Windows and Mac OSX.

Otherwise you cannot see any output.
parent f5e7ad32
......@@ -109,6 +109,16 @@ if(NOT BUILD_KF5)
kde4_add_executable(${ARGN})
endmacro(ecm_add_executable)
macro(ecm_mark_nongui_executable)
foreach(_target ${ARGN})
set_target_properties(${_target}
PROPERTIES
WIN32_EXECUTABLE FALSE
MACOSX_BUNDLE FALSE
)
endforeach()
endmacro(ecm_mark_nongui_executable)
macro_display_feature_log()
KDE4_NO_ENABLE_FINAL(umbrello)
else()
......
......@@ -20,4 +20,4 @@ target_link_libraries(xmi2pot ${LIBS})
install(TARGETS xmi2pot ${INSTALL_TARGETS_DEFAULT_ARGS})
ecm_mark_nongui_executable(po2xmi xmi2pot)
......@@ -142,4 +142,5 @@ if(LLVM_FOUND)
add_executable(TEST_llvm_parser TEST_llvm_parser.cpp)
llvm_map_components_to_libnames(llvm_libs support)
target_link_libraries(TEST_llvm_parser ${llvm_libs} clangFrontend clangTooling clangAST clangBasic ${LIBS})
ecm_mark_nongui_executable(test-llvm TEST_llvm_parser)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment