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_directory(src SRC_LIST)include_directories(...
代码在git CMAKE_CURRENT_BINARY_DIR 就是当前build 目录 CMakeLists.txt如下 cmake_minimum_required (VERSION 2.8) project (demo) message("当前目录如下...") message("hello") message(${CMAKE_CURRENT_BINARY_DIR}) set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) aux_source_dir...
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...
The underlying problem is that a pure cmake build will put theconanbuildinfo.cmakeinto the relative path in the build folder while if the build is invoked usingconan createthe buildinfo file is in the root of the build folder. The problem might be with conan itself, but having multiple p...