mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-27 12:45:07 +00:00
21 lines
1.1 KiB
CMake
21 lines
1.1 KiB
CMake
cmake_minimum_required(VERSION 3.25.2.0)
|
|
project(CMAKE_TRY_COMPILE CXX)
|
|
set_property(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "")
|
|
set(CMAKE_VERBOSE_MAKEFILE 1)
|
|
set(CMAKE_CXX_FLAGS "")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMPILE_DEFINITIONS}")
|
|
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
|
set(CMAKE_EXE_LINKER_FLAGS "")
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${EXE_LINKER_FLAGS}")
|
|
include_directories(${INCLUDE_DIRECTORIES})
|
|
set(CMAKE_SUPPRESS_REGENERATION 1)
|
|
link_directories(${LINK_DIRECTORIES})
|
|
add_definitions([==[-v]==])
|
|
cmake_policy(SET CMP0065 NEW)
|
|
cmake_policy(SET CMP0083 NEW)
|
|
include("${CMAKE_ROOT}/Modules/Internal/HeaderpadWorkaround.cmake")
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "C:/Users/RUPC/Desktop/UV-K6/test/uv-k5-firmware-chinese/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-kqwa5a")
|
|
add_executable(cmTC_dcfdd "C:/Program Files/JetBrains/CLion 2023.1.1/bin/cmake/win/x64/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp")
|
|
file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/cmTC_dcfdd_loc"
|
|
CONTENT $<TARGET_FILE:cmTC_dcfdd>)
|
|
target_link_libraries(cmTC_dcfdd ${LINK_LIBRARIES})
|