Skip to content

CMake Error with CPP-NETLIB_BUILD_SINGLE_LIB=ON #273

@hansmaad

Description

@hansmaad

Since 5cb8676 (350c215 is ok)

cpp-netlib/build$ cmake ../ -DCPP-NETLIB_BUILD_SINGLE_LIB=ON
-- Optional package ICU was not found
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   system
--   regex
--   date_time
--   filesystem
--   program_options
C++ Compiler ID: GNU
C++ Flags: -std=c++11 -Wall link flags: 
-- CPP-NETLIB options selected:
--   CPP-NETLIB_BUILD_SHARED_LIBS: OFF  (Build cpp-netlib as shared libraries: OFF, ON)
--   CPP-NETLIB_BUILD_SINGLE_LIB:  ON   (Build cpp-netlib into a single library: OFF, ON)
--   CPP-NETLIB_BUILD_TESTS:       ON   (Build the unit tests: ON, OFF)
--   CPP-NETLIB_BUILD_EXAMPLES:    ON   (Build the examples using cpp-netlib: ON, OFF)
--   CPP-NETLIB_ALWAYS_LOGGING:    OFF  (Allow cpp-netlib to log debug messages even in non-debug mode: ON, OFF)
--   CPP-NETLIB_DISABLE_LOGGING:   OFF  (Disable logging definitely, no logging code will be generated or compiled: ON, OFF)
--   CPP-NETLIB_DISABLE_LIBCXX:    OFF  (Disable using libc++ when building with clang: ON, OFF)
-- CMake build options selected:
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   system
--   filesystem
C++ Flags: -std=c++11 link flags: 
-- Configuring done
CMake Error at CMakeLists.txt:152 (add_library):
  Cannot find source file:

    message.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions