Skip to content

Commit

Permalink
add impedence
Browse files Browse the repository at this point in the history
  • Loading branch information
Qihang Yang committed Mar 26, 2019
1 parent e3a1f9c commit 49c87e7
Show file tree
Hide file tree
Showing 16 changed files with 1,348 additions and 1,513 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CMakeLists.txt.user*
49 changes: 49 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
cmake_minimum_required(VERSION 3.5)
project(eegoSports
LANGUAGES CXX
VERSION 0.1.0)
add_compile_options(-std=c++17)
# set up LSL if not done already
if(NOT TARGET LSL::lsl)
# when building out of tree LSL_ROOT needs to be specified on the cmd line
file(TO_CMAKE_PATH "${LSL_INSTALL_ROOT}" LSL_INSTALL_ROOT)
list(APPEND LSL_INSTALL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../LSL/liblsl/build/install")
find_package(LSL HINTS ${LSL_INSTALL_ROOT}/share/LSL/ ${LSL_INSTALL_ROOT}/LSL/share/LSL QUIET)
if(NOT LSL_FOUND)
message(FATAL_ERROR "Precompiled LSL was not found. Set LSL_INSTALL_ROOT to the LSL installation path ( cmake -DLSL_INSTALL_ROOT=/path/to/installed/lsl)")
endif()
list(APPEND CMAKE_MODULE_PATH ${LSL_DIR})
message(STATUS "Looking for LSLCMake in ${LSL_DIR}")
include(LSLCMake)
endif()

find_package(Qt5 REQUIRED COMPONENTS Widgets Network Charts)
find_package(Boost REQUIRED)
include_directories(eemagine/sdk ${LSL_INSTALL_ROOT}/include)
link_directories(${EEMAGINE_SDK_DIR})

add_executable(${PROJECT_NAME} MACOSX_BUNDLE
#eemagine/sdk/wrapper.cc
main.cpp
mainwindow.cpp
mainwindow.h
mainwindow.ui

)
target_link_libraries(${PROJECT_NAME}
PRIVATE
Qt5::Widgets
Qt5::Network
Qt5::Charts
LSL::lsl
${Boost_LIBRARIES}
${CMAKE_DL_LIBS}
eego-SDK
)



installLSLApp(${PROJECT_NAME})

LSLGenerateCPackConfig()

26 changes: 0 additions & 26 deletions eegoSports.sln

This file was deleted.

319 changes: 0 additions & 319 deletions eegoSports.vcproj

This file was deleted.

Loading

0 comments on commit 49c87e7

Please sign in to comment.