mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Windows build fixes.
- Include manifest. - Add icon. - Set subsystem to Windows.
This commit is contained in:
parent
2c4abf5f9f
commit
269c75103e
@ -154,7 +154,16 @@ endif()
|
|||||||
include_directories(${INCLUDES})
|
include_directories(${INCLUDES})
|
||||||
link_libraries(${LIBS})
|
link_libraries(${LIBS})
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
set(PROFILER_FILES ${PROFILER_FILES}
|
||||||
|
win32/Tracy.manifest
|
||||||
|
win32/Tracy.rc
|
||||||
|
)
|
||||||
|
add_executable(${PROJECT_NAME} WIN32 ${PROFILER_FILES} ${COMMON_FILES} ${SERVER_FILES})
|
||||||
|
else()
|
||||||
add_executable(${PROJECT_NAME} ${PROFILER_FILES} ${COMMON_FILES} ${SERVER_FILES})
|
add_executable(${PROJECT_NAME} ${PROFILER_FILES} ${COMMON_FILES} ${SERVER_FILES})
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME} PRIVATE TracyImGui TracyCapstone TracyZstd TracyNfd)
|
target_link_libraries(${PROJECT_NAME} PRIVATE TracyImGui TracyCapstone TracyZstd TracyNfd)
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
|
@ -1 +0,0 @@
|
|||||||
IDI_ICON1 ICON "../../../icon/icon.ico"
|
|
1
profiler/win32/Tracy.rc
Normal file
1
profiler/win32/Tracy.rc
Normal file
@ -0,0 +1 @@
|
|||||||
|
IDI_ICON1 ICON "../../icon/icon.ico"
|
Loading…
Reference in New Issue
Block a user