Skip to content

Commit 1ac8628

Browse files
committed
Revert to commit 04626f7
1 parent 96c7a17 commit 1ac8628

File tree

9 files changed

+388
-3288
lines changed

9 files changed

+388
-3288
lines changed

CMakeLists.txt

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,16 @@ cmake_minimum_required(VERSION 3.10)
22
project(HashStrings)
33

44
set( CMAKE_C_STANDARD 11 )
5-
set( CMAKE_C_FLAGS "-Wall -Wextra -Wpedantic" )
6-
set( CMAKE_INSTALL_PREFIX /usr )
5+
set( CMAKE_C_FLAGS "-Wall -Wextra" )
76

87
include_directories(.)
98

10-
119
add_executable( hashstrings
12-
hashstrings.c hashstrings.h
13-
btree/btree.c btree/btree.h
14-
libhashstrings.c libhashstrings.h )
10+
hashstrings.c hashstrings.h
11+
argtable3.c argtable3.h )
1512

16-
target_link_libraries( hashstrings argtable3 config m )
13+
target_link_libraries( hashstrings m config )
1714

15+
set( CMAKE_INSTALL_PREFIX /usr )
1816
install( TARGETS hashstrings
19-
RUNTIME DESTINATION /usr/bin )
20-
21-
22-
add_library( libhashstrings SHARED
23-
libhashstrings.h
24-
libhashstrings.c)
25-
26-
set_target_properties( libhashstrings
27-
PROPERTIES
28-
PUBLIC_HEADER libhashstrings.h
29-
LIBRARY_OUTPUT_NAME hashstrings)
30-
31-
install(TARGETS libhashstrings
32-
LIBRARY PUBLIC_HEADER)
17+
RUNTIME DESTINATION /usr/bin )

btree/.package

Lines changed: 0 additions & 2 deletions
This file was deleted.

btree/LICENSE

Lines changed: 0 additions & 20 deletions
This file was deleted.

btree/README.md

Lines changed: 0 additions & 157 deletions
This file was deleted.

0 commit comments

Comments
 (0)