32 lines
516 B
CMake
Executable File
32 lines
516 B
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
|
|
# EXAMPLE
|
|
SET(EXAMPLE_SRCS
|
|
exampleMain.cpp
|
|
)
|
|
|
|
SET(EXAMPLE_HDRS
|
|
)
|
|
|
|
IF(MSVC)
|
|
|
|
# Configure the template file
|
|
SET(VS_USER_FILE exampleSvgRenderer.vcxproj.user)
|
|
configure_file( ../../SituationMap.vcxproj.user.in ${CMAKE_CURRENT_BINARY_DIR}/${VS_USER_FILE} @ONLY)
|
|
|
|
ENDIF(MSVC)
|
|
|
|
NGL_ADD_EXECUTABLE(WS NO_TRANSLATION exampleSvgRenderer ${EXAMPLE_SRCS} ${EXAMPLE_HDRS})
|
|
NGL_TARGET_LINK_LIBRARIES(exampleSvgRenderer
|
|
NGLLogger
|
|
Qt5::Widgets
|
|
Qt5::Core
|
|
Qt5::Svg
|
|
Qt5::Gui
|
|
)
|
|
|