Added an icon to the OpenSpace executable

This commit is contained in:
Alexander Bock
2015-07-17 14:03:38 +02:00
parent 359b66b2ed
commit 8a573a7cb8
4 changed files with 9 additions and 1 deletions

View File

@@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -0,0 +1 @@
IDI_ICON1 ICON DISCARDABLE "openspace.ico"