Merge commit '587dd924142c959b812ca340eab52af35ac4096c' as 'deps/nostalgia'
This commit is contained in:
34
deps/nostalgia/src/nostalgia/studio/CMakeLists.txt
vendored
Normal file
34
deps/nostalgia/src/nostalgia/studio/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
add_executable(NostalgiaStudio WIN32 MACOSX_BUNDLE)
|
||||
|
||||
target_link_libraries(
|
||||
NostalgiaStudio
|
||||
NostalgiaProfile
|
||||
NostalgiaStudioModules
|
||||
NostalgiaKeelModules
|
||||
StudioAppLib
|
||||
OlympicApplib
|
||||
)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
NostalgiaStudio
|
||||
RUNTIME DESTINATION
|
||||
${NOSTALGIA_DIST_BIN}
|
||||
BUNDLE DESTINATION .
|
||||
)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32)
|
||||
# enable LTO
|
||||
set_property(TARGET NostalgiaStudio PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set_target_properties(NostalgiaStudio PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
|
||||
endif()
|
||||
|
||||
install(
|
||||
FILES
|
||||
ns.icns
|
||||
DESTINATION
|
||||
${NOSTALGIA_DIST_RESOURCES}/icons
|
||||
)
|
35
deps/nostalgia/src/nostalgia/studio/Info.plist
vendored
Normal file
35
deps/nostalgia/src/nostalgia/studio/Info.plist
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>NostalgiaStudio</string>
|
||||
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>Nostalgia Studio</string>
|
||||
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>icons/ns.icns</string>
|
||||
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>net.drinkingtea.nostalgia.studio</string>
|
||||
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.0.0</string>
|
||||
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>12.0.0</string>
|
||||
|
||||
<!-- HiDPI -->
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<string>True</string>
|
||||
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright (c) 2016-2023 Gary Talent <gary@drinkingtea.net></string>
|
||||
</dict>
|
||||
</plist>
|
BIN
deps/nostalgia/src/nostalgia/studio/ns.icns
vendored
Normal file
BIN
deps/nostalgia/src/nostalgia/studio/ns.icns
vendored
Normal file
Binary file not shown.
BIN
deps/nostalgia/src/nostalgia/studio/ns_logo128.png
vendored
Normal file
BIN
deps/nostalgia/src/nostalgia/studio/ns_logo128.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.0 KiB |
Reference in New Issue
Block a user