aboutsummaryrefslogtreecommitdiff
path: root/include/Package.hpp
blob: 106a48d25c3f19c797b5798ba3290ddaf003ce01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef SIBS_PACKAGE_HPP
#define SIBS_PACKAGE_HPP

namespace sibs
{
    enum class PackageType : int
    {
        // Compile as executable when compiling project with this directly.
        // If used in dependency, then fail because you can't (currently) have dependency to executable.
        EXECUTABLE,

        // Compile as static library when compiling project with this directly.
        // If used in dependency, then this is the preferred library type, but the dependant project can override this.
        STATIC,

        // Compile as dynamic library when compiling project with this directly.
        // If used in dependency, then this is the preferred library type, but the dependant project can override this.
        DYNAMIC,

        // Identical to DYNAMIC
        LIBRARY
    };
}

#endif //SIBS_PACKAGE_HPP