20 lines
471 B
CMake
20 lines
471 B
CMake
|
INCLUDE_DIRECTORIES (
|
||
|
${STAR_EXTERN_INCLUDES}
|
||
|
${STAR_CORE_INCLUDES}
|
||
|
)
|
||
|
|
||
|
FIND_PACKAGE (Qt5Core)
|
||
|
FIND_PACKAGE (Qt5Widgets)
|
||
|
|
||
|
SET (CMAKE_INCLUDE_CURRENT_DIR ON)
|
||
|
SET (CMAKE_AUTOMOC ON)
|
||
|
|
||
|
ADD_EXECUTABLE (json_tool WIN32
|
||
|
$<TARGET_OBJECTS:star_extern> $<TARGET_OBJECTS:star_core>
|
||
|
json_tool.cpp editor_gui.cpp)
|
||
|
QT5_USE_MODULES (json_tool Widgets Gui Core)
|
||
|
TARGET_LINK_LIBRARIES (json_tool ${STAR_EXT_LIBS})
|
||
|
|
||
|
SET (CMAKE_AUTOMOC OFF)
|
||
|
SET (CMAKE_INCLUDE_CURRENT_DIR OFF)
|