forked from Perfare/AssetStudio
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CMakeLists for cross platform FBXNative build
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Set the minimum version of CMake that can be used | ||
cmake_minimum_required (VERSION 3.8) | ||
|
||
# Set the project name | ||
project("AssetStudioFBXNative") | ||
|
||
# Set the C++ standard to C++ 14 | ||
set(CMAKE_CXX_STANDARD 14) | ||
|
||
# Generate the shared library from the library sources | ||
add_library(AssetStudioFBXNative SHARED | ||
asfbx_skin_context.cpp | ||
asfbx_morph_context.cpp | ||
api.cpp | ||
utils.cpp | ||
asfbx_context.cpp | ||
asfbx_anim_context.cpp) | ||
|
||
# Add the given directories to those the compiler uses to search for include files | ||
target_include_directories(AssetStudioFBXNative PRIVATE .) | ||
|
||
target_link_libraries(AssetStudioFBXNative PRIVATE fbxsdk xml2) |