mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 12:10:52 -06:00
Added an icon to the OpenSpace executable
This commit is contained in:
@@ -25,7 +25,14 @@
|
||||
set(APPLICATION_NAME OpenSpace)
|
||||
set(APPLICATION_LINK_TO_OPENSPACE ON)
|
||||
|
||||
add_executable(${APPLICATION_NAME} ${OPENSPACE_APPS_DIR}/OpenSpace/main.cpp)
|
||||
if (WIN32)
|
||||
set(RESOURCE_FILE ${OPENSPACE_APPS_DIR}/OpenSpace/openspace.rc)
|
||||
endif ()
|
||||
|
||||
add_executable(${APPLICATION_NAME}
|
||||
${OPENSPACE_APPS_DIR}/OpenSpace/main.cpp
|
||||
${RESOURCE_FILE}
|
||||
)
|
||||
target_include_directories(${APPLICATION_NAME} PUBLIC ${OPENSPACE_BASE_DIR}/include)
|
||||
target_link_libraries(${APPLICATION_NAME} libOpenSpace)
|
||||
|
||||
|
||||
BIN
apps/OpenSpace/openspace.ico
Normal file
BIN
apps/OpenSpace/openspace.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
BIN
apps/OpenSpace/openspace.png
Normal file
BIN
apps/OpenSpace/openspace.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
1
apps/OpenSpace/openspace.rc
Normal file
1
apps/OpenSpace/openspace.rc
Normal file
@@ -0,0 +1 @@
|
||||
IDI_ICON1 ICON DISCARDABLE "openspace.ico"
|
||||
Reference in New Issue
Block a user