CMAKE_CURRENT_BINARY_DIR 代码在git CMAKE_CURRENT_BINARY_DIR 就是当前build 目录 CMakeLists.txt如下 cmake_minimum_required(VERSION2.8)project(demo)message("当前目录如下...")message("hello")message(${CMAKE_CURRENT_BINARY_DIR})set(EXECUTABLE_OUTPUT_PATH${PROJECT_SOURCE_DIR}/bin)aux_source_direct...
代码在git CMAKE_CURRENT_BINARY_DIR 就是当前build 目录 CMakeLists.txt如下 AI检测代码解析 cmake_minimum_required (VERSION 2.8) project (demo) message("当前目录如下...") message("hello") message(${CMAKE_CURRENT_BINARY_DIR}) set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)...
CMAKE_BINARY_DIR might not be point to duckdb/build/release when DuckDB is built from an extension. I replaced it with CMAKE_CURRENT_BINARY_DIR so that duckdb_platform_out is found when DuckDB is a...
If a project is using cmake-conan in a CMakeLists.txt that is not the root-CMakeLists included usingadd_subdirectory(...)this might cause the build to fail on some plattforms (testted windows using msvc). The underlying problem is that a pure cmake build will put theconanbuildinfo.c...