Skip to content

Commit

Permalink
Moving src/main/jni to src/main/cpp to be consistent Android Studio
Browse files Browse the repository at this point in the history
practices.

Change-Id: I0919673cb2ac1cc85093e02432a029a0cede3f02
  • Loading branch information
claywilkinson committed Jan 11, 2018
1 parent f6bf9e6 commit 728ac8d
Show file tree
Hide file tree
Showing 20 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions samples-android/ButtonClicker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ add_library( # Sets the name of the library.
SHARED

# Provides a relative path to your source file(s).
src/main/jni/ButtonClickerNativeActivity.cpp
src/main/jni/ButtonClickerNativeActivity_Engine.cpp
src/main/cpp/ButtonClickerNativeActivity.cpp
src/main/cpp/ButtonClickerNativeActivity_Engine.cpp
${TEAPOT_RENDERER_PATH}/TeapotRenderer.cpp
)

Expand Down
4 changes: 2 additions & 2 deletions samples-android/CollectAllTheStarsNative/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ add_library( # Sets the name of the library.
# Sets the library as a shared library.
SHARED
# Provides a relative path to your source file(s).
src/main/jni/CollectAllTheStarsNativeActivity.cpp
src/main/jni/CollectAllTheStarsNativeActivity_Engine.cpp
src/main/cpp/CollectAllTheStarsNativeActivity.cpp
src/main/cpp/CollectAllTheStarsNativeActivity_Engine.cpp
${TEAPOT_RENDERER_PATH}/TeapotRenderer.cpp
)

Expand Down
4 changes: 2 additions & 2 deletions samples-android/Minimalist/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -u ANativeActivity_o

add_library(native-activity
SHARED
src/main/jni/main.cpp
src/main/jni/StateManager.cpp
src/main/cpp/main.cpp
src/main/cpp/StateManager.cpp
)

target_include_directories(native-activity PRIVATE
Expand Down
4 changes: 2 additions & 2 deletions samples-android/TbmpSkeletonNative/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -u ANativeActivity_o

add_library(TBMPSkeletonNativeActivity
SHARED
src/main/jni/TBMPSkeletonNativeActivity.cpp
src/main/jni/TBMPSkeletonNativeActivity_Engine.cpp
src/main/cpp/TBMPSkeletonNativeActivity.cpp
src/main/cpp/TBMPSkeletonNativeActivity_Engine.cpp
${TEAPOT_RENDERER_PATH}/TeapotRenderer.cpp
)

Expand Down
4 changes: 2 additions & 2 deletions samples-android/Teapot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -u ANativeActivity_o

add_library(teapot
SHARED
src/main/jni/NativeGameActivity.cpp
src/main/jni/StateManager.cpp
src/main/cpp/NativeGameActivity.cpp
src/main/cpp/StateManager.cpp
${TEAPOT_RENDERER_PATH}/TeapotRenderer.cpp
)

Expand Down

0 comments on commit 728ac8d

Please sign in to comment.