Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions Core/Libraries/Source/WWVegas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ target_include_directories(core_wwcommon INTERFACE
.
WWDebug
WWLib
WWMath
WWSaveLoad
)

# add_subdirectory(WWAudio)
add_subdirectory(WWDebug)
add_subdirectory(WWLib)
# add_subdirectory(WWMath)
add_subdirectory(WWMath)
# add_subdirectory(Wwutil)
# add_subdirectory(WWSaveLoad)
add_subdirectory(WWSaveLoad)
add_subdirectory(WWStub)
# add_subdirectory(WW3D2)
# add_subdirectory(WWDownload)
Expand All @@ -40,8 +42,8 @@ target_include_directories(core_wwvegas INTERFACE
WWDebug
#WWDownload
WWLib
#WWMath
#WWSaveLoad
WWMath
WWSaveLoad
#Wwutil
#wwshade
)
Expand All @@ -51,8 +53,8 @@ target_link_libraries(core_wwvegas INTERFACE
core_wwdebug
# core_wwdownload
core_wwlib
# core_wwmath
# core_wwsaveload
core_wwmath
core_wwsaveload
# core_wwshade
# core_wwutil
)
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ set(WWMATH_SRC
)

# Targets to build.
add_library(z_wwmath STATIC)
set_target_properties(z_wwmath PROPERTIES OUTPUT_NAME wwmath)
add_library(core_wwmath STATIC)
set_target_properties(core_wwmath PROPERTIES OUTPUT_NAME wwmath)

target_sources(z_wwmath PRIVATE ${WWMATH_SRC})
target_sources(core_wwmath PRIVATE ${WWMATH_SRC})

target_link_libraries(z_wwmath PRIVATE
z_wwcommon
target_link_libraries(core_wwmath PRIVATE
core_wwcommon
)

# @todo Test its impact and see what to do with the legacy functions.
#add_compile_definitions(z_wwmath PUBLIC ALLOW_TEMPORARIES) # Enables legacy math with "temporaries"
#add_compile_definitions(core_wwmath PUBLIC ALLOW_TEMPORARIES) # Enables legacy math with "temporaries"
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ set(WWSAVELOAD_SRC
)

# Targets to build.
add_library(g_wwsaveload STATIC)
set_target_properties(g_wwsaveload PROPERTIES OUTPUT_NAME wwsaveload)
add_library(core_wwsaveload STATIC)
set_target_properties(core_wwsaveload PROPERTIES OUTPUT_NAME wwsaveload)

target_sources(g_wwsaveload PRIVATE ${WWSAVELOAD_SRC})
target_sources(core_wwsaveload PRIVATE ${WWSAVELOAD_SRC})

target_link_libraries(g_wwsaveload PRIVATE
g_wwcommon
target_link_libraries(core_wwsaveload PRIVATE
core_wwcommon
)
8 changes: 0 additions & 8 deletions Generals/Code/Libraries/Source/WWVegas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,10 @@ target_include_directories(g_wwcommon INTERFACE
.
WW3D2
WWAudio
WWMath
WWSaveLoad
Wwutil
)

add_subdirectory(WWMath)
add_subdirectory(Wwutil)
add_subdirectory(WWSaveLoad)
add_subdirectory(WW3D2)
add_subdirectory(WWDownload)

Expand All @@ -32,16 +28,12 @@ target_include_directories(g_wwvegas INTERFACE
.
WW3D2
WWDownload
WWMath
WWSaveLoad
Wwutil
)

target_link_libraries(g_wwvegas INTERFACE
core_wwvegas
g_ww3d2
g_wwdownload
g_wwmath
g_wwsaveload
g_wwutil
)
93 changes: 0 additions & 93 deletions Generals/Code/Libraries/Source/WWVegas/WWMath/CMakeLists.txt

This file was deleted.

143 changes: 0 additions & 143 deletions Generals/Code/Libraries/Source/WWVegas/WWMath/Vector3i.h

This file was deleted.

Loading