summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 926fed0..e2e63a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,15 +3,14 @@ cmake_minimum_required(VERSION 3.10)
 project(WEP)
 
 find_package(SDL2 REQUIRED)
-include_directories(${SDL2_INCLUDE_DIRS})
+
+add_subdirectory(cards)
+include_directories(cards)
 
 if(NOT MSVC)
 	add_compile_options(-Wall -Wextra -pedantic)
 endif()
 
-include_directories(cards)
-add_library(cards STATIC cards/cards.c)
-
 add_executable(sol sol.c)
 add_executable(freecell freecell.c)
 
olspan='3' class='logmsg'> 2019-05-20Add AuthorityJune McEnroe 2019-05-19Specify precedence of unary versions of operatorsJune McEnroe 2019-05-18Add compound assignment operators to orderJune McEnroe 2019-05-15Support simple assignment in orderJune McEnroe 2019-05-15Implement sizeof in orderJune McEnroe 2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe