xo-object: nix build requires specific include paths
This commit is contained in:
parent
0c4e8639d7
commit
dedb0aaa1b
4 changed files with 16 additions and 9 deletions
|
|
@ -2,7 +2,10 @@
|
|||
|
||||
include(CMakeFindDependencyMacro)
|
||||
# reminder: deps here must also appear in xo-object/src/object/CMakeLists.txt
|
||||
find_dependency(xo_alloc)
|
||||
find_dependency(xo_reflectutil)
|
||||
find_dependency(xo_unit)
|
||||
find_dependency(callback)
|
||||
#find_dependency(xo_alloc)
|
||||
#find_dependency(xo_flatstring)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
||||
check_required_components("@PROJECT_NAME@")
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
*/
|
||||
|
||||
#include "Boolean.hpp"
|
||||
#include "TaggedPtr.hpp"
|
||||
#include "xo/reflect/Reflect.hpp"
|
||||
#include <xo/reflect/TaggedPtr.hpp>
|
||||
#include <xo/reflect/Reflect.hpp>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
#include "Float.hpp"
|
||||
#include "Boolean.hpp"
|
||||
#include "String.hpp"
|
||||
#include "TaggedPtr.hpp"
|
||||
#include "xo/alloc/Blob.hpp"
|
||||
#include <xo/reflect/TaggedPtr.hpp>
|
||||
#include <xo/alloc/Blob.hpp>
|
||||
|
||||
namespace xo {
|
||||
using xo::reflect::Reflect;
|
||||
|
|
@ -145,6 +145,8 @@ namespace xo {
|
|||
|
||||
// still don't have good solver for this yet
|
||||
assert(false);
|
||||
|
||||
return TaggedPtr::universal_null();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,12 @@
|
|||
|
||||
#include "String.hpp"
|
||||
#include "GC.hpp"
|
||||
#include "TaggedPtr.hpp"
|
||||
#include "xo/reflect/Reflect.hpp"
|
||||
#include "xo/indentlog/print/quoted.hpp"
|
||||
#include <xo/reflect/TaggedPtr.hpp>
|
||||
#include <xo/reflect/Reflect.hpp>
|
||||
#include <xo/indentlog/print/quoted.hpp>
|
||||
#ifdef __linux__
|
||||
# include <bsd/string.h>
|
||||
#endif
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <cassert>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue