-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Moved shaders to own target - Using cso target for shader precompilation (CMake 3.1 doesn't support multiple entry-points per shader yet) - Fixed some shader warnings
- Loading branch information
Tobias Alexander Franke
committed
May 22, 2015
1 parent
03ce3ec
commit c3da7ff
Showing
14 changed files
with
217 additions
and
152 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 |
---|---|---|
@@ -1,32 +1,29 @@ | ||
# - Find KinectSDK | ||
# Find the Microsoft Kinect SDK | ||
# | ||
# This module defines the following variables: | ||
# KINECTSDK_FOUND | ||
# KINECTSDK_INCLUDE_DIR | ||
# KINECTSDK_LIBRARY | ||
# | ||
# Find the Open Asset Import Library | ||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
find_path(Assimp_INCLUDE_DIR | ||
NAMES assimp.h) | ||
NAMES assimp.h) | ||
|
||
find_file(Assimp_BINARY_RELEASE | ||
NAMES assimp.dll | ||
PATHS ${Assimp_INCLUDE_DIR}/../bin) | ||
|
||
find_library(Assimp_LIBRARY_RELEASE | ||
NAMES assimp | ||
PATHS ${Assimp_INCLUDE_DIR}/../lib) | ||
NAMES assimp | ||
PATHS ${Assimp_INCLUDE_DIR}/../lib) | ||
find_library(Assimp_LIBRARY_DEBUG | ||
NAMES assimpD | ||
PATHS ${Assimp_INCLUDE_DIR}/../lib) | ||
NAMES assimpD | ||
PATHS ${Assimp_INCLUDE_DIR}/../lib) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Assimp | ||
DEFAULT_MSG | ||
Assimp_INCLUDE_DIR | ||
Assimp_LIBRARY_RELEASE | ||
Assimp_LIBRARY_DEBUG) | ||
DEFAULT_MSG | ||
Assimp_INCLUDE_DIR | ||
Assimp_LIBRARY_RELEASE | ||
Assimp_LIBRARY_DEBUG) | ||
if(ASSIMP_FOUND) | ||
set(Assimp_LIBRARY optimized ${Assimp_LIBRARY_RELEASE} debug ${Assimp_LIBRARY_DEBUG} CACHE STRING "") | ||
mark_as_advanced(Assimp_LIBRARY_RELEASE Assimp_LIBRARY_DEBUG) | ||
set(Assimp_LIBRARY optimized ${Assimp_LIBRARY_RELEASE} debug ${Assimp_LIBRARY_DEBUG} CACHE STRING "") | ||
mark_as_advanced(Assimp_LIBRARY_RELEASE Assimp_LIBRARY_DEBUG Assimp_BINARY_RELEASE) | ||
endif() |
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 |
---|---|---|
@@ -1,31 +1,24 @@ | ||
# - Find KinectSDK | ||
# Find the Microsoft Kinect SDK | ||
# | ||
# This module defines the following variables: | ||
# KINECTSDK_FOUND | ||
# KINECTSDK_INCLUDE_DIR | ||
# KINECTSDK_LIBRARY | ||
# | ||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
if (CMAKE_CL_64) | ||
set(LIBPATH "amd64;lib/amd64") | ||
set(LIBPATH "amd64;lib/amd64") | ||
else() | ||
set(LIBPATH "x86;lib/x86") | ||
set(LIBPATH "x86;lib/x86") | ||
endif() | ||
|
||
find_library(KinectSDK_LIBRARY | ||
NAMES Kinect10 | ||
PATHS $ENV{KINECTSDK10_DIR}/lib | ||
PATH_SUFFIXES ${LIBPATH}) | ||
PATH_SUFFIXES ${LIBPATH}) | ||
|
||
find_path(KinectSDK_INCLUDE_DIR | ||
NAMES NuiApi.h | ||
PATHS $ENV{KINECTSDK10_DIR}/inc | ||
PATH_SUFFIXES inc) | ||
PATH_SUFFIXES inc) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(KinectSDK | ||
DEFAULT_MSG | ||
KinectSDK_LIBRARY | ||
KinectSDK_INCLUDE_DIR) | ||
DEFAULT_MSG | ||
KinectSDK_LIBRARY | ||
KinectSDK_INCLUDE_DIR) |
Oops, something went wrong.