Skip to content

Commit

Permalink
Cleanup build files
Browse files Browse the repository at this point in the history
  • Loading branch information
detomon committed Sep 11, 2024
1 parent ef4cd70 commit 063a3ee
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
9 changes: 5 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cmake_minimum_required (VERSION 2.9)
project (BlipKit)
cmake_minimum_required(VERSION 3.10)
project(BlipKit)

set (CMAKE_C_FLAGS "-Wall -O2")
set(CMAKE_C_FLAGS "-Wall -O2 -Wno-shift-negative-value")

add_subdirectory (src)
add_subdirectory(src)
add_subdirectory(examples)
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
GENERATE_HTML = YES
HTML_OUTPUT = doc/html
HTML_OUTPUT = docs
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
Expand Down
16 changes: 12 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
doc: Doxyfile doc/html
doxygen

DOCS_DIR = docs
SUBDIRS = src examples test dev/step_phases dev/tone_periods
DIST_SUBDIRS = $(SUBDIRS)

Expand All @@ -9,4 +7,14 @@ EXTRA_DIST = \
LICENSE \
VERSION \
LOGO \
autogen.sh
autogen.sh \
Doxygen \
ChangeLog \
CMakeLists.txt \
docs

docs: Doxyfile
doxygen

clean-local:
-rm -rf $(DOCS_DIR)
10 changes: 5 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
file (GLOB blipkit_HDR "*.h")
file (GLOB blipkit_SRC "*.c")
file(GLOB blipkit_HDR "*.h")
file(GLOB blipkit_SRC "*.c")

add_library (blipkit ${blipkit_SRC})
add_library(blipkit ${blipkit_SRC})

install (TARGETS blipkit DESTINATION lib)
install (FILES ${blipkit_HDR} DESTINATION include/BlipKit)
install(TARGETS blipkit DESTINATION lib)
install(FILES ${blipkit_HDR} DESTINATION include/BlipKit)

0 comments on commit 063a3ee

Please sign in to comment.