Skip to content

can't build without embedded nonstd-byte header #11

@barcharcraz

Description

@barcharcraz

after a fresh clone with nonstd-byte installed to CMAKE_INSTALL_PREFIX I can't configure quickcpplib, I get:

PS C:\Users\Charles Barto\Source\quickcpplib\builddir> cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX='C:\Users\Charles Barto\Source\install\' -DBUILD_TESTING=OFF ..
-- Using cached scan of project quickcpplib headers ...
-- Using cached scan of project quickcpplib tests ...
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Warning at cmakelib/QuickCppLibUtils.cmake:77 (message):
  WARNING: Doxygen not found, so disabling quickcpplib_docs target
Call Stack (most recent call first):
  cmakelib/QuickCppLibMakeDoxygen.cmake:4 (indented_message)
  CMakeLists.txt:32 (include)


-- Found OpenMP_C: -openmp
-- Found OpenMP_CXX: -openmp
-- Found OpenMP: TRUE
-- Configuring done
CMake Error at cmakelib/QuickCppLibMakeStandardTests.cmake:54 (add_executable):
  Cannot find source file:

    C:/Users/Charles Barto/Source/quickcpplib/include/quickcpplib/byte/include/nonstd/byte.hpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx
Call Stack (most recent call first):
  cmakelib/QuickCppLibMakeStandardTests.cmake:106 (do_add_test)
  cmakelib/QuickCppLibMakeStandardTests.cmake:179 (generate_tests)
  CMakeLists.txt:57 (include)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Deleting the headers.cmake interface.cmake and tests.cmake in /cmake/ does fix this problem but I hit another problem after that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions