Skip to content

cmake did not defaults to any build type, what causes build error #35

@xiliumhq-personal

Description

@xiliumhq-personal

Hello!

Cmake scripts did not defaults to any build type, and no any compiler flags applied, what causes not very understandable build errors.
I.e. it will be good to have something like in CMakeLists.txt:

if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
  message(STATUS "No build type selected, default to Debug")
  set(CMAKE_BUILD_TYPE "Debug")
endif()

In this case no errors will be produces, what are more user friendly.

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