created exportAnimation function
parent
99c93e861c
commit
37d32e79c9
|
@ -0,0 +1,238 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.6
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.6.2/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/local/Cellar/cmake/3.6.2/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /Users/angelo/coding/assimp
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /Users/angelo/coding/assimp
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: install/local
|
||||
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\" \"assimp-bin\" \"assimp-dev\" \"libassimp3.3.1-dev\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: install/strip
|
||||
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /Users/angelo/coding/assimp/CMakeFiles /Users/angelo/coding/assimp/CMakeFiles/progress.marks
|
||||
$(MAKE) -f CMakeFiles/Makefile2 all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /Users/angelo/coding/assimp/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
$(MAKE) -f CMakeFiles/Makefile2 clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named uninstall
|
||||
|
||||
# Build rule for target.
|
||||
uninstall: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 uninstall
|
||||
.PHONY : uninstall
|
||||
|
||||
# fast build rule for target.
|
||||
uninstall/fast:
|
||||
$(MAKE) -f CMakeFiles/uninstall.dir/build.make CMakeFiles/uninstall.dir/build
|
||||
.PHONY : uninstall/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named assimp
|
||||
|
||||
# Build rule for target.
|
||||
assimp: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 assimp
|
||||
.PHONY : assimp
|
||||
|
||||
# fast build rule for target.
|
||||
assimp/fast:
|
||||
$(MAKE) -f code/CMakeFiles/assimp.dir/build.make code/CMakeFiles/assimp.dir/build
|
||||
.PHONY : assimp/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named assimp_cmd
|
||||
|
||||
# Build rule for target.
|
||||
assimp_cmd: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 assimp_cmd
|
||||
.PHONY : assimp_cmd
|
||||
|
||||
# fast build rule for target.
|
||||
assimp_cmd/fast:
|
||||
$(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build
|
||||
.PHONY : assimp_cmd/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named unit
|
||||
|
||||
# Build rule for target.
|
||||
unit: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 unit
|
||||
.PHONY : unit
|
||||
|
||||
# fast build rule for target.
|
||||
unit/fast:
|
||||
$(MAKE) -f test/CMakeFiles/unit.dir/build.make test/CMakeFiles/unit.dir/build
|
||||
.PHONY : unit/fast
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... install/local"
|
||||
@echo "... list_install_components"
|
||||
@echo "... install"
|
||||
@echo "... install/strip"
|
||||
@echo "... uninstall"
|
||||
@echo "... assimp"
|
||||
@echo "... assimp_cmd"
|
||||
@echo "... unit"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -455,25 +455,6 @@ namespace glTF
|
|||
void Read(Value& obj, Asset& r);
|
||||
};
|
||||
|
||||
|
||||
struct Animation : public Object
|
||||
{
|
||||
struct Channel
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
struct Target
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
struct Sampler
|
||||
{
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
//! A buffer points to binary geometry, animation, or skins.
|
||||
struct Buffer : public Object
|
||||
{
|
||||
|
@ -934,6 +915,38 @@ namespace glTF
|
|||
void SetDefaults();
|
||||
};
|
||||
|
||||
|
||||
struct AnimSampler {
|
||||
std::string input; //!< The ID of a parameter in this animation to use as key-frame input.
|
||||
std::string interpolation; //!< Type of interpolation algorithm to use between key-frames.
|
||||
std::string output; //!< The ID of a parameter in this animation to use as key-frame output.
|
||||
};
|
||||
|
||||
struct AnimTarget {
|
||||
Ref<Node> id; //!< The ID of the node to animate.
|
||||
std::string path; //!< The name of property of the node to animate ("translation", "rotation", or "scale").
|
||||
};
|
||||
|
||||
struct AnimChannel {
|
||||
Ref<AnimSampler> sampler; //!< The ID of one of the samplers present in the containing animation's samplers property.
|
||||
AnimTarget target;
|
||||
};
|
||||
|
||||
struct AnimParameters {
|
||||
Ref<Accessor> TIME; //!< Accessor reference to a buffer storing a array of floating point scalar values.
|
||||
Ref<Accessor> rotation; //!< Accessor reference to a buffer storing a array of four-component floating-point vectors.
|
||||
Ref<Accessor> scale; //!< Accessor reference to a buffer storing a array of three-component floating-point vectors.
|
||||
Ref<Accessor> translation; //!< Accessor reference to a buffer storing a array of three-component floating-point vectors.
|
||||
};
|
||||
|
||||
struct Animation : public Object
|
||||
{
|
||||
AnimChannel Channels[3]; //!< Connect the output values of the key-frame animation to a specific node in the hierarchy.
|
||||
AnimParameters Parameters; //!< The samplers that interpolate between the key-frames.
|
||||
AnimSampler Samplers[3]; //!< The parameterized inputs representing the key-frame data.
|
||||
};
|
||||
|
||||
|
||||
//! Base class for LazyDict that acts as an interface
|
||||
class LazyDictBase
|
||||
{
|
||||
|
|
|
@ -623,6 +623,57 @@ void glTFExporter::ExportMetadata()
|
|||
}
|
||||
|
||||
|
||||
void glTFExporter::ExportAnimations()
|
||||
{
|
||||
// aiString aiName;
|
||||
for (unsigned int i = 0; i < mScene->mNumAnimations; ++i) {
|
||||
const aiAnimation* anim = mScene->mAnimations[i];
|
||||
|
||||
std::string name;
|
||||
if (anim->mName.length > 0) {
|
||||
name = anim->mName.C_Str();
|
||||
}
|
||||
name = mAsset->FindUniqueID(name, "animation");
|
||||
|
||||
Ref<Animation> animRef = mAsset->animations.Create(name);
|
||||
|
||||
animRef->Parameters.TIME;
|
||||
animRef->Parameters.rotation;
|
||||
animRef->Parameters.scale;
|
||||
animRef->Parameters.translation;
|
||||
|
||||
for (unsigned int channelIndex = 0; channelIndex < anim->mNumChannels; ++channelIndex) {
|
||||
const aiNodeAnim* nodeChannel = anim->mChannels[channelIndex];
|
||||
|
||||
for (unsigned int j = 0; j < 3; ++j) {
|
||||
switch (j) {
|
||||
case 0:
|
||||
animRef->Channels[j].target.path = "rotation";
|
||||
animRef->Samplers[j].output = "rotation";
|
||||
break;
|
||||
case 1:
|
||||
animRef->Channels[j].target.path = "scale";
|
||||
animRef->Samplers[j].output = "scale";
|
||||
break;
|
||||
case 2:
|
||||
animRef->Channels[j].target.path = "translation";
|
||||
animRef->Samplers[j].output = "translation";
|
||||
break;
|
||||
}
|
||||
|
||||
animRef->Channels[j].sampler;
|
||||
animRef->Channels[j].target.id = mAsset->FindUniqueID(nodeChannel->mNodeName.C_Str(), "node");
|
||||
|
||||
animRef->Samplers[j].input = "TIME";
|
||||
animRef->Samplers[j].interpolation = "LINEAR";
|
||||
}
|
||||
|
||||
for (unsigned int channelIndex = 0; channelIndex < anim->mNumMeshChannels; ++channelIndex) {
|
||||
const aiMeshAnim* meshChannel = anim->mMeshChannels[channelIndex];
|
||||
}
|
||||
}
|
||||
} // End: for-loop mNumAnimations
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,7 @@ namespace Assimp
|
|||
void ExportMeshes();
|
||||
unsigned int ExportNode(const aiNode* node);
|
||||
void ExportScene();
|
||||
void ExportAnimations();
|
||||
};
|
||||
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,182 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.6
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.6.2/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/local/Cellar/cmake/3.6.2/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /Users/angelo/coding/assimp
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /Users/angelo/coding/assimp
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\" \"assimp-bin\" \"assimp-dev\" \"libassimp3.3.1-dev\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: install/strip
|
||||
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: install/local
|
||||
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /Users/angelo/coding/assimp && $(CMAKE_COMMAND) -E cmake_progress_start /Users/angelo/coding/assimp/CMakeFiles /Users/angelo/coding/assimp/test/headercheck/CMakeFiles/progress.marks
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f CMakeFiles/Makefile2 test/headercheck/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /Users/angelo/coding/assimp/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f CMakeFiles/Makefile2 test/headercheck/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f CMakeFiles/Makefile2 test/headercheck/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f CMakeFiles/Makefile2 test/headercheck/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /Users/angelo/coding/assimp && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... list_install_components"
|
||||
@echo "... install"
|
||||
@echo "... install/strip"
|
||||
@echo "... install/local"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /Users/angelo/coding/assimp && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
|
@ -0,0 +1,378 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.6
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.6.2/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/local/Cellar/cmake/3.6.2/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /Users/angelo/coding/assimp
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /Users/angelo/coding/assimp
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\" \"assimp-bin\" \"assimp-dev\" \"libassimp3.3.1-dev\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: install/strip
|
||||
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: install/local
|
||||
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/local/Cellar/cmake/3.6.2/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /Users/angelo/coding/assimp && $(CMAKE_COMMAND) -E cmake_progress_start /Users/angelo/coding/assimp/CMakeFiles /Users/angelo/coding/assimp/tools/assimp_cmd/CMakeFiles/progress.marks
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f CMakeFiles/Makefile2 tools/assimp_cmd/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /Users/angelo/coding/assimp/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f CMakeFiles/Makefile2 tools/assimp_cmd/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f CMakeFiles/Makefile2 tools/assimp_cmd/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f CMakeFiles/Makefile2 tools/assimp_cmd/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /Users/angelo/coding/assimp && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/rule:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f CMakeFiles/Makefile2 tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/rule
|
||||
.PHONY : tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
assimp_cmd: tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/rule
|
||||
|
||||
.PHONY : assimp_cmd
|
||||
|
||||
# fast build rule for target.
|
||||
assimp_cmd/fast:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build
|
||||
.PHONY : assimp_cmd/fast
|
||||
|
||||
CompareDump.o: CompareDump.cpp.o
|
||||
|
||||
.PHONY : CompareDump.o
|
||||
|
||||
# target to build an object file
|
||||
CompareDump.cpp.o:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/CompareDump.cpp.o
|
||||
.PHONY : CompareDump.cpp.o
|
||||
|
||||
CompareDump.i: CompareDump.cpp.i
|
||||
|
||||
.PHONY : CompareDump.i
|
||||
|
||||
# target to preprocess a source file
|
||||
CompareDump.cpp.i:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/CompareDump.cpp.i
|
||||
.PHONY : CompareDump.cpp.i
|
||||
|
||||
CompareDump.s: CompareDump.cpp.s
|
||||
|
||||
.PHONY : CompareDump.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
CompareDump.cpp.s:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/CompareDump.cpp.s
|
||||
.PHONY : CompareDump.cpp.s
|
||||
|
||||
Export.o: Export.cpp.o
|
||||
|
||||
.PHONY : Export.o
|
||||
|
||||
# target to build an object file
|
||||
Export.cpp.o:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/Export.cpp.o
|
||||
.PHONY : Export.cpp.o
|
||||
|
||||
Export.i: Export.cpp.i
|
||||
|
||||
.PHONY : Export.i
|
||||
|
||||
# target to preprocess a source file
|
||||
Export.cpp.i:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/Export.cpp.i
|
||||
.PHONY : Export.cpp.i
|
||||
|
||||
Export.s: Export.cpp.s
|
||||
|
||||
.PHONY : Export.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
Export.cpp.s:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/Export.cpp.s
|
||||
.PHONY : Export.cpp.s
|
||||
|
||||
ImageExtractor.o: ImageExtractor.cpp.o
|
||||
|
||||
.PHONY : ImageExtractor.o
|
||||
|
||||
# target to build an object file
|
||||
ImageExtractor.cpp.o:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/ImageExtractor.cpp.o
|
||||
.PHONY : ImageExtractor.cpp.o
|
||||
|
||||
ImageExtractor.i: ImageExtractor.cpp.i
|
||||
|
||||
.PHONY : ImageExtractor.i
|
||||
|
||||
# target to preprocess a source file
|
||||
ImageExtractor.cpp.i:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/ImageExtractor.cpp.i
|
||||
.PHONY : ImageExtractor.cpp.i
|
||||
|
||||
ImageExtractor.s: ImageExtractor.cpp.s
|
||||
|
||||
.PHONY : ImageExtractor.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
ImageExtractor.cpp.s:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/ImageExtractor.cpp.s
|
||||
.PHONY : ImageExtractor.cpp.s
|
||||
|
||||
Info.o: Info.cpp.o
|
||||
|
||||
.PHONY : Info.o
|
||||
|
||||
# target to build an object file
|
||||
Info.cpp.o:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/Info.cpp.o
|
||||
.PHONY : Info.cpp.o
|
||||
|
||||
Info.i: Info.cpp.i
|
||||
|
||||
.PHONY : Info.i
|
||||
|
||||
# target to preprocess a source file
|
||||
Info.cpp.i:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/Info.cpp.i
|
||||
.PHONY : Info.cpp.i
|
||||
|
||||
Info.s: Info.cpp.s
|
||||
|
||||
.PHONY : Info.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
Info.cpp.s:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/Info.cpp.s
|
||||
.PHONY : Info.cpp.s
|
||||
|
||||
Main.o: Main.cpp.o
|
||||
|
||||
.PHONY : Main.o
|
||||
|
||||
# target to build an object file
|
||||
Main.cpp.o:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/Main.cpp.o
|
||||
.PHONY : Main.cpp.o
|
||||
|
||||
Main.i: Main.cpp.i
|
||||
|
||||
.PHONY : Main.i
|
||||
|
||||
# target to preprocess a source file
|
||||
Main.cpp.i:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/Main.cpp.i
|
||||
.PHONY : Main.cpp.i
|
||||
|
||||
Main.s: Main.cpp.s
|
||||
|
||||
.PHONY : Main.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
Main.cpp.s:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/Main.cpp.s
|
||||
.PHONY : Main.cpp.s
|
||||
|
||||
WriteDumb.o: WriteDumb.cpp.o
|
||||
|
||||
.PHONY : WriteDumb.o
|
||||
|
||||
# target to build an object file
|
||||
WriteDumb.cpp.o:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/WriteDumb.cpp.o
|
||||
.PHONY : WriteDumb.cpp.o
|
||||
|
||||
WriteDumb.i: WriteDumb.cpp.i
|
||||
|
||||
.PHONY : WriteDumb.i
|
||||
|
||||
# target to preprocess a source file
|
||||
WriteDumb.cpp.i:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/WriteDumb.cpp.i
|
||||
.PHONY : WriteDumb.cpp.i
|
||||
|
||||
WriteDumb.s: WriteDumb.cpp.s
|
||||
|
||||
.PHONY : WriteDumb.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
WriteDumb.cpp.s:
|
||||
cd /Users/angelo/coding/assimp && $(MAKE) -f tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/build.make tools/assimp_cmd/CMakeFiles/assimp_cmd.dir/WriteDumb.cpp.s
|
||||
.PHONY : WriteDumb.cpp.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... list_install_components"
|
||||
@echo "... install"
|
||||
@echo "... install/strip"
|
||||
@echo "... install/local"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... assimp_cmd"
|
||||
@echo "... CompareDump.o"
|
||||
@echo "... CompareDump.i"
|
||||
@echo "... CompareDump.s"
|
||||
@echo "... Export.o"
|
||||
@echo "... Export.i"
|
||||
@echo "... Export.s"
|
||||
@echo "... ImageExtractor.o"
|
||||
@echo "... ImageExtractor.i"
|
||||
@echo "... ImageExtractor.s"
|
||||
@echo "... Info.o"
|
||||
@echo "... Info.i"
|
||||
@echo "... Info.s"
|
||||
@echo "... Main.o"
|
||||
@echo "... Main.i"
|
||||
@echo "... Main.s"
|
||||
@echo "... WriteDumb.o"
|
||||
@echo "... WriteDumb.i"
|
||||
@echo "... WriteDumb.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /Users/angelo/coding/assimp && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
Loading…
Reference in New Issue