Skip to content

Commit c4c189f

Browse files
committed
File structure
Signed-off-by: ahcorde <ahcorde@gmail.com>
1 parent b29b737 commit c4c189f

File tree

4 files changed

+31
-27
lines changed

4 files changed

+31
-27
lines changed

usd/src/CMakeLists.txt

+31-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,31 @@
1-
add_subdirectory(sdf_parser)
1+
set(sources
2+
sdf_parser/World.cc
3+
)
4+
5+
ign_add_component(usd SOURCES ${sources} GET_TARGET_NAME usd_target)
6+
7+
target_include_directories(${usd_target}
8+
PUBLIC
9+
${PXR_INCLUDE_DIRS}
10+
)
11+
12+
target_link_libraries(${usd_target}
13+
PUBLIC
14+
ignition-common${IGN_COMMON_VER}::ignition-common${IGN_COMMON_VER}
15+
${PXR_LIBRARIES}
16+
)
17+
18+
set(gtest_sources
19+
sdf_parser/sdf2usd_TEST.cc
20+
sdf_parser/World_Sdf2Usd_TEST.cc
21+
)
22+
23+
# Build the unit tests
24+
ign_build_tests(
25+
TYPE UNIT
26+
SOURCES ${gtest_sources}
27+
LIB_DEPS ${usd_target} ignition-cmake${IGN_CMAKE_VER}::utilities
28+
INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/test
29+
)
30+
31+
add_subdirectory(cmd)
File renamed without changes.
File renamed without changes.

usd/src/sdf_parser/CMakeLists.txt

-26
This file was deleted.

0 commit comments

Comments
 (0)