|
@@ -1,11 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
-include_directories(${CMAKE_SOURCE_DIR}/Source)
|
|
|
|
|
-include_directories ( ${CMAKE_SOURCE_DIR}/Source/ThirdParty
|
|
|
|
|
- ${CMAKE_SOURCE_DIR}/Source/ThirdParty/rapidjson/include
|
|
|
|
|
- ${CMAKE_SOURCE_DIR}/Source/ThirdParty/kNet/include
|
|
|
|
|
- ${CMAKE_SOURCE_DIR}/Source/ThirdParty/FreeType/include
|
|
|
|
|
- ${CMAKE_SOURCE_DIR}/Source/ThirdParty/Box2D )
|
|
|
|
|
|
|
+include_directories(${ATOMIC_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
# Define source files
|
|
# Define source files
|
|
|
file (GLOB SOURCE_FILES Source/*.cpp Source/*.h)
|
|
file (GLOB SOURCE_FILES Source/*.cpp Source/*.h)
|
|
@@ -21,9 +16,9 @@ target_link_libraries(FeatureExamples ${ATOMIC_LINK_LIBRARIES})
|
|
|
# Copy AtomicTool to Artifacts
|
|
# Copy AtomicTool to Artifacts
|
|
|
add_custom_command( TARGET FeatureExamples POST_BUILD
|
|
add_custom_command( TARGET FeatureExamples POST_BUILD
|
|
|
COMMAND "${CMAKE_COMMAND}"
|
|
COMMAND "${CMAKE_COMMAND}"
|
|
|
- ARGS -E make_directory \"${CMAKE_SOURCE_DIR}/Artifacts/Examples/CPlusPlus\"
|
|
|
|
|
|
|
+ ARGS -E make_directory \"${ATOMIC_SOURCE_DIR}/Artifacts/Examples/CPlusPlus\"
|
|
|
COMMAND "${CMAKE_COMMAND}"
|
|
COMMAND "${CMAKE_COMMAND}"
|
|
|
- ARGS -E copy_if_different \"$<TARGET_FILE:FeatureExamples>\" \"${CMAKE_SOURCE_DIR}/Artifacts/Examples/CPlusPlus/\"
|
|
|
|
|
|
|
+ ARGS -E copy_if_different \"$<TARGET_FILE:FeatureExamples>\" \"${ATOMIC_SOURCE_DIR}/Artifacts/Examples/CPlusPlus/\"
|
|
|
COMMENT "Copying FeatureExamples to Build Artifacts" )
|
|
COMMENT "Copying FeatureExamples to Build Artifacts" )
|
|
|
|
|
|
|
|
if (MSVC)
|
|
if (MSVC)
|
|
@@ -33,6 +28,6 @@ if (MSVC)
|
|
|
COMMAND ${CMAKE_COMMAND}
|
|
COMMAND ${CMAKE_COMMAND}
|
|
|
ARGS -E copy_if_different \"${D3DCOMPILER_47_DLL}\" \"$<TARGET_FILE_DIR:FeatureExamples>/D3DCompiler_47.dll\"
|
|
ARGS -E copy_if_different \"${D3DCOMPILER_47_DLL}\" \"$<TARGET_FILE_DIR:FeatureExamples>/D3DCompiler_47.dll\"
|
|
|
COMMAND ${CMAKE_COMMAND}
|
|
COMMAND ${CMAKE_COMMAND}
|
|
|
- ARGS -E copy_if_different \"${D3DCOMPILER_47_DLL}\" \"${CMAKE_SOURCE_DIR}/Artifacts/Examples/CPlusPlus/D3DCompiler_47.dll\" )
|
|
|
|
|
|
|
+ ARGS -E copy_if_different \"${D3DCOMPILER_47_DLL}\" \"${ATOMIC_SOURCE_DIR}/Artifacts/Examples/CPlusPlus/D3DCompiler_47.dll\" )
|
|
|
|
|
|
|
|
endif(MSVC)
|
|
endif(MSVC)
|