codereport / jsource

J Language Source Code. Livestream links ⬇️
https://www.youtube.com/playlist?list=PLVFrD1dmDdvfVhYLU_iKkV67X9XqCJLWe
Other
38 stars 20 forks source link

Add EXCLUDE_FROM_ALL to add_subdirectory(An-Algorithm-Library) #202

Closed Sebanisu closed 3 years ago

Sebanisu commented 3 years ago

https://cmake.org/cmake/help/latest/command/add_subdirectory.html If the EXCLUDE_FROM_ALL argument is provided then targets in the subdirectory will not be included in the ALL target of the parent directory by default, and will be excluded from IDE project files

resolves: https://github.com/codereport/jsource/issues/199

Without EXCLUDE_FROM_ALL, anytime we add a target that compiles to An-Algorithm-Library it would compile them when you compile ALL in j.