Update README.

Update build script.
This commit is contained in:
Syoyo Fujita
2020-04-15 14:08:53 +09:00
parent 991245fcf0
commit 59730db074
3 changed files with 17 additions and 4 deletions

View File

@@ -68,6 +68,12 @@ See `examples` directory.
## TODO
* [ ] USDA(USD Ascii) support
* [ ] Write our own USDA parser with PEG.
* [ ] Animation
* [ ] Skinning(usdSkel)
* [ ] Blend shapes
* [ ] In-between blend shapes
* [ ] Audio play support
* [ ] Play audio using SoLoud or miniaudio(or Oboe for Android)
* [ ] wav(dr_wav)

View File

@@ -1,9 +1,10 @@
# Assume this project is a root project
cmake_minimum_required(VERSION 3.5.1)
set(BUILD_TARGET "openglviewer")
project(${BUILD_TARGET} C CXX)
set(BUILD_TARGET "openglviewer")
set(CMAKE_CXX_STANDARD 11)
find_package(OpenGL REQUIRED)
@@ -20,6 +21,12 @@ set(SOURCES
main.cc
#render.cc
#render-config.cc
# tinyusdz
../../src/tinyusdz.cc
../../src/integerCoding.cpp
../../src/pxrLZ4/lz4.cpp
../../src/lz4-compression.cc
)
set(GUI_SOURCES

View File

@@ -3,8 +3,8 @@
project('tinyusdz', 'cpp', default_options : ['cpp_std=c++11'])
incdirs = include_directories('src')
executable('tinyusdz',
'src/pxrLZ4/lz4.cpp', 'src/main.cc', 'src/tinyusdz.cc',
library('tinyusdz',
'src/pxrLZ4/lz4.cpp', 'src/tinyusdz.cc',
'src/lz4-compression.cc',
'src/integerCoding.cpp',
include_directories : incdirs )