Skip to content

VERSION file included in cpp build #14

@kyle-sylvestre

Description

@kyle-sylvestre

The VERSION file in the root directory is getting compiled in

In file included from /Users/ksylvestre/dev/PVZ/PopLib/PopLib/appbase.cpp:1:
In file included from /Users/ksylvestre/dev/PVZ/PopLib/PopLib/appbase.hpp:7:
In file included from /Users/ksylvestre/dev/PVZ/PopLib/PopLib/common.hpp:32:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/string:648:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/string_view:941:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/algorithm:1842:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__algorithm/for_each.h:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__ranges/movable_box.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/optional:1294:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/memory:972:
/Users/ksylvestre/dev/PVZ/PopLib/version:1:1: error: expected unqualified-id
    1 | 1.4.0

It's being included from this line in the CMakeLists.txt:

${POPLIB_ROOT_DIR}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions