osb/source/json_tool/CMakeLists.txt

20 lines
471 B
CMake
Raw Normal View History

2023-06-20 04:33:09 +00:00
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)