[nostalgia/studio] Start on ImGui version of Studio
This commit is contained in:
@@ -1,29 +1,27 @@
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
add_executable(
|
||||
nostalgia-studio MACOSX_BUNDLE
|
||||
json_read.cpp
|
||||
json_write.cpp
|
||||
filedialogmanager.cpp
|
||||
main.cpp
|
||||
mainwindow.cpp
|
||||
oxfstreeview.cpp
|
||||
studiorsrc.qrc
|
||||
projectexplorer.cpp
|
||||
projecttreemodel.cpp
|
||||
studioapp.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
nostalgia-studio
|
||||
QDarkStyle
|
||||
OxClArgs
|
||||
NostalgiaCore-Studio
|
||||
OxFS
|
||||
NostalgiaCore-Userspace
|
||||
NostalgiaStudio
|
||||
NostalgiaPack
|
||||
)
|
||||
|
||||
# enable LTO
|
||||
set_property(TARGET nostalgia-studio PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
# enable LTO
|
||||
set_property(TARGET nostalgia-studio PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set_target_properties(nostalgia-studio PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
|
||||
@@ -44,19 +42,4 @@ install(
|
||||
BUNDLE DESTINATION .
|
||||
)
|
||||
|
||||
add_executable(
|
||||
NostalgiaStudioJsonTest
|
||||
json_read.cpp
|
||||
json_write.cpp
|
||||
json_test.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
NostalgiaStudioJsonTest
|
||||
OxStd
|
||||
Qt${QT_VERSION_MAJOR}::Widgets
|
||||
)
|
||||
|
||||
add_test("[nostalgia/studio] NostalgiaStudioJson" NostalgiaStudioJsonTest)
|
||||
|
||||
add_subdirectory(lib)
|
||||
|
||||
Reference in New Issue
Block a user