Giter Site home page Giter Site logo

Comments (3)

memsharded avatar memsharded commented on July 20, 2024

And the step to reproduce would be just to load a CMakeLists.txt using the cmake-conan, directly from the VS IDE, right, with the "open folder" feature, isn't it? Thanks for reporting.

from cmake-conan.

unjello avatar unjello commented on July 20, 2024

@memsharded correct. Sorry for missing that out.

I use plain straight-from-the-docs:

include(${CMAKE_BINARY_DIR/conan.cmake)
conan_cmake_run(CONANFILE conanfile.txt
                BASIC_SETUP CMAKE_TARGETS
                BUILD missing)

Full output is (in case you don't have access this version of VS):

1> Command line: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe  -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\XXXX\CMakeBuilds\316c7597-0638-b33f-a43a-f74b1dfab3d1\build\x86-Debug\install"  -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\test"
1> Working directory: C:\Users\XXXX\CMakeBuilds\316c7597-0638-b33f-a43a-f74b1dfab3d1\build\x86-Debug
1> -- Conan ** WARNING** : This detection of settings from cmake is experimental and incomplete. Please check 'conan.cmake' and contribute
1> CMake Error at C:/Users/XXXX/CMakeBuilds/316c7597-0638-b33f-a43a-f74b1dfab3d1/build/x86-Debug/conan.cmake:115 (if):
1>   if given arguments:
1> 
1>     "STREQUAL" "X64"
1> 
1>   Unknown arguments specified
1> Call Stack (most recent call first):
1>   C:/Users/XXXX/CMakeBuilds/316c7597-0638-b33f-a43a-f74b1dfab3d1/build/x86-Debug/conan.cmake(311): (conan_cmake_settings)
1>   D:\test\CMakeLists.txt(13): (conan_cmake_run)
1> 
1> 
1> -- Configuring incomplete, errors occurred!
1> See also "C:/Users/XXXX/CMakeBuilds/316c7597-0638-b33f-a43a-f74b1dfab3d1/build/x86-Debug/CMakeFiles/CMakeOutput.log".
1> C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe  -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\XXXX\CMakeBuilds\316c7597-0638-b33f-a43a-f74b1dfab3d1\build\x86-Debug\install"  -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\test" returned with exit code: 1

from cmake-conan.

memsharded avatar memsharded commented on July 20, 2024

Thanks for the feedback! Labeling it as bug. Unfortunately, won't be able to fix it quickly, so many things in the queue :(, lets see if someone else can help with it.

from cmake-conan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.