Skip to content

Commit

Permalink
Objects
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Jul 28, 2023
1 parent 740db70 commit 57ba6b8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/libs/antares/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,7 @@ set(SRC_MEMORY
memory/memory.cpp)
source_group("memory" FILES ${SRC_MEMORY})

set(SRC_OBJECT
object/intrusive-reference.h
object/intrusive-reference.hxx
object/object.h
object/object.hxx
object/object.cpp
object/ref.h
)
source_group("object" FILES ${SRC_OBJECT})
add_subdirectory(object)

add_subdirectory(array)
add_subdirectory(correlation)
Expand Down Expand Up @@ -596,6 +588,7 @@ target_link_libraries(libantares-core
io
array
correlation
object
)

import_std_libs(libantares-core)
23 changes: 23 additions & 0 deletions src/libs/antares/object/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
set(SRC_OBJECT
intrusive-reference.h
intrusive-reference.hxx
object.h
object.hxx
object.cpp
ref.h
)
source_group("object" FILES ${SRC_OBJECT})

add_library(object
${SRC_OBJECT})

target_include_directories(object
PRIVATE
${CMAKE_SOURCE_DIR}/ext/yuni/src
)

target_link_libraries(object
PRIVATE
yuni-static-core
yuni-static-uuid
)

0 comments on commit 57ba6b8

Please sign in to comment.