Skip to content

Commit bdc88c4

Browse files
committed
pro: disable default build for examples
1 parent a417c8b commit bdc88c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ The project is written on ```C++14```
8080

8181
## Build configuration
8282

83-
By default the project builds with ``devlib`` library and ``examples``
83+
By default the project builds only ``devlib`` library
8484

8585
### Options
8686

87-
+ ``EXCLUDE_EXAMPLES_BUILD`` - skip ``examples`` build
87+
+ ``DEVLIB_INCLUDE_EXAMPLES`` - enable ``examples`` build
8888
+ ``ENABLE_HEADERS_COPY`` - ``devlib`` builds with public headers (will be located in ``include`` dir)
8989

9090
Example:

devlib.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SUBDIRS += \
44
devlib \
55

66

7-
!EXCLUDE_EXAMPLES_BUILD {
7+
DEVLIB_INCLUDE_EXAMPLES {
88
SUBDIRS += examples
99
examples.depends = devlib
1010
}

0 commit comments

Comments
 (0)