Skip to content

Commit

Permalink
update to new version of world. #7
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru committed Jul 10, 2021
1 parent 92e9e8f commit 89e3eba
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 680 deletions.
12 changes: 5 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,29 @@ else ()
set(flag "${flag} -g3 -Oz --bind")
endif ()

add_subdirectory(lib/WorldCMake)

include_directories(
lib/WorldCMake/src/
lib/WorldCMake/tools/
src/WorldJS/
src/Wav2World/Module/
src/Wav2World/
tools/
src/
)

file(GLOB sources src/*.cpp)
file(GLOB WorldJS src/WorldJS/*.cpp)
file(GLOB tools tools/*.cpp)
file(GLOB W2WModule src/Wav2World/Module/*.cpp)
file(GLOB World lib/WorldCMake/src/*.cpp)
file(GLOB Wav2World src/Wav2World/*.cpp)

add_library(tools ${tools})
add_library(World ${World})
add_library(Wav2World ${Wav2World} ${W2WModule})
target_link_libraries(Wav2World World)
target_link_libraries(Wav2World world::core)

# World.JS
add_executable(WorldJS ${sources} ${WorldJS} ${Module} src/Config.h)
set_target_properties(WorldJS PROPERTIES LINK_FLAGS ${flag} DEBUG_POSTFIX "d")
target_link_libraries(WorldJS tools World Wav2World)
target_link_libraries(WorldJS world::core world::tool Wav2World)


if (CMAKE_BUILD_TYPE STREQUAL Debug)
Expand Down
4 changes: 0 additions & 4 deletions tools/README.md

This file was deleted.

252 changes: 0 additions & 252 deletions tools/audioio.cpp

This file was deleted.

53 changes: 0 additions & 53 deletions tools/audioio.h

This file was deleted.

Empty file removed tools/audioio.js
Empty file.
Loading

0 comments on commit 89e3eba

Please sign in to comment.