mirror of
https://gitlab.com/manzerbredes/uciadapter.git
synced 2025-04-19 03:59:43 +00:00
Debug Windows platform
This commit is contained in:
parent
db4d104ed9
commit
2f8aaf2046
3 changed files with 5 additions and 2 deletions
|
@ -7,6 +7,7 @@ SET(COMPILE_PLATFORM UNIX)
|
|||
if(WIN32)
|
||||
SET(process src/ProcessWindows.cpp)
|
||||
SET(COMPILE_PLATFORM WIN32)
|
||||
SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
endif()
|
||||
add_library(uciadapter SHARED src/UCI.cpp ${process})
|
||||
|
||||
|
@ -17,6 +18,7 @@ file(MAKE_DIRECTORY ${UCIADAPTER_INCLUDE_DIR})
|
|||
configure_file(src/UCI.hpp.in ${UCIADAPTER_INCLUDE_DIR}/UCI.hpp)
|
||||
configure_file(src/Process.hpp ${UCIADAPTER_INCLUDE_DIR} COPYONLY)
|
||||
configure_file(src/ProcessLinux.hpp ${UCIADAPTER_INCLUDE_DIR} COPYONLY)
|
||||
configure_file(src/ProcessWindows.hpp ${UCIADAPTER_INCLUDE_DIR} COPYONLY)
|
||||
include_directories(${UCIADAPTER_INCLUDE_DIR})
|
||||
|
||||
# Tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue