Skip to content

Commit

Permalink
Merge branch 'feature-binary-data-io' of https://github.com/AsPJT/PAX…
Browse files Browse the repository at this point in the history
…_SAPIENTICA into feature-binary-data-io
  • Loading branch information
AsPJT committed Oct 31, 2023
2 parents ef79e93 + 72c2ad0 commit 367ae55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Project/IncludeTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../Library)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../../Library
${CMAKE_CURRENT_SOURCE_DIR}/../../ExternalLibrary
)

file(GLOB_RECURSE LIB_HEADERS RELATIVE "${CMAKE_SOURCE_DIR}/../Library" "${CMAKE_SOURCE_DIR}/../Library/*.hpp")

Expand Down
1 change: 1 addition & 0 deletions Project/MapViewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../../Library
${CMAKE_CURRENT_SOURCE_DIR}/../../ExternalLibrary
)

find_package(SFML 2.5 COMPONENTS graphics)
Expand Down
3 changes: 2 additions & 1 deletion Project/UnitTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../../Library
${CMAKE_CURRENT_SOURCE_DIR}/../../ExternalLibrary/googletest/googletest/include
${CMAKE_CURRENT_SOURCE_DIR}/../../ExternalLibrary
)

add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../ExternalLibrary/googletest ${CMAKE_BINARY_DIR}/googletest)
Expand All @@ -23,7 +24,7 @@ foreach(TEST_SOURCE ${TEST_SOURCES})
add_executable(${TARGET_NAME} ${TEST_SOURCE})
target_link_libraries(${TARGET_NAME} gtest_main)
add_test(
NAME ${TARGET_NAME}
NAME ${TARGET_NAME}
COMMAND ${TARGET_NAME}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin
)
Expand Down

0 comments on commit 367ae55

Please sign in to comment.