InsAsterix/InsAsterix/Library/PackageCache/com.unity.ide.visualstudio@2.0.17/Editor/COMIntegration/COMIntegration~/CMakeLists.txt
2023-03-02 20:21:33 +01:00

14 lines
426 B
CMake

cmake_minimum_required(VERSION 3.15)
project(com)
set(SOURCES
COMIntegration.cpp
BStrHolder.h
ComPtr.h
dte80a.tlh
)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -Wall")
add_executable(COMIntegration ${SOURCES})
set_property(TARGET COMIntegration PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded")
target_link_libraries(COMIntegration Shlwapi.lib)