Skip to content

Commit 8ef42a6

Browse files
authored
Only build config and packaging on Linux (#351)
* Only build config and packaging on Linux * skip src folder also to save build time on windows * Revert "skip src folder also to save build time on windows" This reverts commit 3a27df4.
1 parent 4cdde0c commit 8ef42a6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,11 @@ if (WERROR)
9797
add_compile_options(-Werror)
9898
endif()
9999

100-
add_subdirectory(config)
101-
add_subdirectory(packaging)
100+
if (BUILD_FOR_LINUX)
101+
add_subdirectory(config)
102+
add_subdirectory(packaging)
103+
endif()
104+
102105
add_subdirectory(src)
103106

104107
if (NOT NETREMOTE_EXCLUDE_API OR NOT NETREMOTE_EXCLUDE_API_BINDINGS)

0 commit comments

Comments
 (0)