<commit_before># This file is part of the MinVR cmake build system.  
# See the main MinVR/CMakeLists.txt file for authors, copyright, and license info.
#
# Builds the MinVR_Photon plugin as a shared library.

# Note: This CMakeLists.txt is not intended to work on its own.  It inherits many settings 
# from the root CMakeLists.txt (build and install directories, compiling flags, #defines, etc.)

# Plugin names must begin with "MinVR_"
project(MinVR_Photon)


# Source:
set (SOURCEFILES
	src/VRPhotonDevice.cpp
	src/VRPhotonPlugin.cpp
	src/Photon_lib.cpp
	src/StdIO_UIListener.cpp
)
set (HEADERFILES
	src/VRPhotonDevice.h
	src/Photon_lib.h
	src/StdIO_UIListener.h
)


# Define the target
add_library(${PROJECT_NAME} SHARED ${HEADERFILES} ${SOURCEFILES})

target_include_directories(${PROJECT_NAME} PUBLIC
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>                  # for headers when building
    $<INSTALL_INTERFACE:${INSTALL_PLUGININCLUDE_DEST}/${PROJECT_NAME}>  # for client in install mode
)


# Setup dependency on libMinVR:
target_include_directories(${PROJECT_NAME} PUBLIC 
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../src>  # for headers when building
    $<INSTALL_INTERFACE:${INSTALL_INCLUDE_DEST}>              # for client in install mode
)
target_link_libraries(${PROJECT_NAME} PUBLIC MinVR)


# Setup dependency on PhotonEngine:
find_package(PhotonEngine REQUIRED)
target_link_libraries(${PROJECT_NAME} PUBLIC ${PHOTON_LIBRARIES})
target_include_directories(${PROJECT_NAME} PUBLIC	${PHOTON_INCLUDE_DIRS})<commit_msg>Add src/UIListener.h to CMakeLists.txt<commit_after># This file is part of the MinVR cmake build system.  
# See the main MinVR/CMakeLists.txt file for authors, copyright, and license info.
#
# Builds the MinVR_Photon plugin as a shared library.

# Note: This CMakeLists.txt is not intended to work on its own.  It inherits many settings 
# from the root CMakeLists.txt (build and install directories, compiling flags, #defines, etc.)

# Plugin names must begin with "MinVR_"
project(MinVR_Photon)


# Source:
set (SOURCEFILES
	src/VRPhotonDevice.cpp
	src/VRPhotonPlugin.cpp
	src/Photon_lib.cpp
	src/StdIO_UIListener.cpp
)
set (HEADERFILES
	src/VRPhotonDevice.h
	src/Photon_lib.h
	src/StdIO_UIListener.h
	src/UIListener.h
)


# Define the target
add_library(${PROJECT_NAME} SHARED ${HEADERFILES} ${SOURCEFILES})

target_include_directories(${PROJECT_NAME} PUBLIC
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>                  # for headers when building
    $<INSTALL_INTERFACE:${INSTALL_PLUGININCLUDE_DEST}/${PROJECT_NAME}>  # for client in install mode
)


# Setup dependency on libMinVR:
target_include_directories(${PROJECT_NAME} PUBLIC 
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../src>  # for headers when building
    $<INSTALL_INTERFACE:${INSTALL_INCLUDE_DEST}>              # for client in install mode
)
target_link_libraries(${PROJECT_NAME} PUBLIC MinVR)


# Setup dependency on PhotonEngine:
find_package(PhotonEngine REQUIRED)
target_link_libraries(${PROJECT_NAME} PUBLIC ${PHOTON_LIBRARIES})
target_include_directories(${PROJECT_NAME} PUBLIC	${PHOTON_INCLUDE_DIRS})
{'fraction_non_alphanumeric': 0.09350237717908082, 'fraction_numerical': 0.0, 'mean_word_length': 5.224852071005917, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6586952', 'n_tokens_mistral': 1110, 'n_tokens_neox': 1026, 'n_words': 259}