35 lines
641 B
CMake
35 lines
641 B
CMake
add_library(
|
|
NostalgiaCore-Studio OBJECT
|
|
#imgconv.cpp
|
|
#import_tilesheet_wizard.cpp
|
|
module.cpp
|
|
#new_tilesheet_wizard.cpp
|
|
#newpalettewizard.cpp
|
|
#paletteeditor.cpp
|
|
tilesheeteditor.cpp
|
|
tilesheetpixelgrid.cpp
|
|
tilesheetpixels.cpp
|
|
#util.cpp
|
|
#rsrc.qrc
|
|
)
|
|
|
|
if(NOT MSVC)
|
|
target_compile_options(NostalgiaCore-Studio PRIVATE -Wsign-conversion)
|
|
endif()
|
|
|
|
target_link_libraries(
|
|
NostalgiaCore-Studio PUBLIC
|
|
NostalgiaStudio
|
|
NostalgiaCore
|
|
NostalgiaGlUtils
|
|
)
|
|
|
|
#target_compile_definitions(NostalgiaCore-Studio PRIVATE QT_QML_DEBUG)
|
|
|
|
install(
|
|
TARGETS
|
|
NostalgiaCore-Studio
|
|
LIBRARY DESTINATION
|
|
${NOSTALGIA_DIST_MODULE}
|
|
)
|