You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some CMake script-only projects, one of which (cmake-bde-helpers) depends on another (cmake-module-test-helpers).
Right now in our CMakeLists.txt for cmake-bde-helpers we have:
project( cmake-bde-helpers NONE )
but when I tried to use Conan to build I got:
-- Conan: called by CMake conan helper
-- Conan: called inside local cache
CMake Error at conanbuildinfo.cmake:437 (message):
This project seems to be plain C, but no compiler defined
Call Stack (most recent call first):
conanbuildinfo.cmake:112 (conan_check_compiler)
CMakeLists.txt:11 (conan_basic_setup)
it would not work until I changed my CML.txt to:
project( cmake-bde-helpers CXX )
There is no code to compile. We're only using CMake to install, test, and package these helpers because it's convenient and CMake supports it with mechanisms like NONE.
Windows Server 2012R2
E:>conan --version
Conan version 1.10.1
but even after conan remove of the package I still get error:
cmake-bde-helpers/0.6.0@PORT/stable: WARN: Build folder E:\DevelopBp\mmaguir1\.conan\cmake-bde-helpers\0.6.0\PORT\stable\build\4bd22f8292fc808c556e2440c204491f154100b0
ERROR: Traceback (most recent call last):
File "conan\conans\errors.py", line 24, in conanfile_exception_formatter
File "conan\conans\client\installer.py", line 186, in _build_package
File "E:\DevelopBp\mmaguir1\.conan\cmake-bde-helpers\0.6.0\PORT\stable\export\conanfile.py", line 19, in build
cmake.configure()
File "conan\conans\client\build\cmake.py", line 188, in configure
File "conan\conans\client\build\cmake.py", line 149, in _run
File "conan\conans\model\conan_file.py", line 267, in run
We have some CMake script-only projects, one of which (
cmake-bde-helpers
) depends on another (cmake-module-test-helpers
).Right now in our
CMakeLists.txt
forcmake-bde-helpers
we have:but when I tried to use Conan to build I got:
it would not work until I changed my CML.txt to:
There is no code to compile. We're only using CMake to install, test, and package these helpers because it's convenient and CMake supports it with mechanisms like NONE.
Windows Server 2012R2
E:>conan --version
Conan version 1.10.1
To help us debug your issue please explain:
The text was updated successfully, but these errors were encountered: