Skip to content

Remove -DIGC_OPTION__ARCHITECTURE_TARGET build option #32

@dvrogozh

Description

@dvrogozh

Please, remove -DIGC_OPTION__ARCHITECTURE_TARGET build option. It is useless: cmake provides other ways to detect your architecture target. If you just need to check bitness:

if(CMAKE_SIZEOF_VOID_P EQUAL 8)
    message("architecture: 64-bit")
else()
    message("architecture: 32-bit")
endif()

If you need to check Linux/Windows/etc., review: https://cmake.org/Wiki/CMake_Cross_Compiling

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