1
0

CMakeLists.txt 800 B

12345678910111213141516171819202122
  1. # You may redistribute this program and/or modify it under the terms of
  2. # the GNU General Public License as published by the Free Software Foundation,
  3. # either version 3 of the License, or (at your option) any later version.
  4. #
  5. # This program is distributed in the hope that it will be useful,
  6. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. # GNU General Public License for more details.
  9. #
  10. # You should have received a copy of the GNU General Public License
  11. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. add_library(cjdmemory
  13. BufferAllocator.c
  14. MallocAllocator.c
  15. )
  16. target_link_libraries(cjdmemory
  17. cjdns-except
  18. )
  19. # Everything must be tested.
  20. enable_testing()
  21. add_subdirectory(test)