8000 Fix including of string_id dependencies · ChaiScript/ChaiScript_Extras@2011228 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2011228

Browse files
committed
Fix including of string_id dependencies
1 parent 18c1f01 commit 2011228

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

biicode.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
set(BII_LIB_DEPS "pthread -ldl ../../lib/libfoonathan_string_id.a")
1+
set(BII_LIB_DEPS "pthread -ldl")
22

33
ADD_BIICODE_TARGETS()
4-
TARGET_INCLUDE_DIRECTORIES(${BII_BLOCK_TARGET} INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/../foonathan_string_id")
4+
#TARGET_INCLUDE_DIRECTORIES(${BII_BLOCK_TARGET} INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/../foonathan_string_id/foonathan/string_id")
55

66

77
IF(APPLE)

biicode.conf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22

33
[requirements]
44
ChaiScript/ChaiScript: 1
5-
foonathan/string_id: 7
5+
foonathan/string_id: 8
66

7-
[parent]
8-
# The parent version of this block. Must match folder name. E.g.
9-
# user/block # No version number means not published yet
10-
# You can change it to publish to a different track, and change version, e.g.
11-
# user/block(track): 7
127

8+
[parent]
9+
ChaiScript/ChaiScript_extras: 0
1310
[paths]
1411
# Local directories to look for headers (within block)
1512
# /

include/chaiscript/extras/string_id.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#include <string_id/database.hpp>
88
#include <string_id/basic_database.hpp>
99

10+
11+
1012
namespace chaiscript {
1113
namespace extras {
1214
namespace string_id {

tests/string_id.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
#include <chaiscript/chaiscript_stdlib.hpp>
77
#include "../include/chaiscript/extras/string_id.hpp"
88

9+
#include <string_id/database.hpp> // for the databases
10+
#include <string_id/error.hpp> // for error handling
11+
#include <string_id/generator.hpp> // for the generator classes
12+
#include <string_id/string_id.hpp> // for the string_id
13+
914
#include <iostream>
1015

1116
TEST_CASE( "string_id functions work", "[string_id]" ) {

0 commit comments

Comments
 (0)
0