-
Notifications
You must be signed in to change notification settings - Fork 163
/
Copy pathCMakeLists.txt
48 lines (37 loc) · 961 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# trade-frame/lib/TFInteractiveBrokers
cmake_minimum_required (VERSION 3.13)
PROJECT(TFInteractiveBrokers)
#set(CMAKE_EXE_LINKER_FLAGS "--trace --verbose")
#set(CMAKE_VERBOSE_MAKEFILE ON)
add_subdirectory(client)
set(
file_h
IBTWS.h
IBSymbol.h
)
set(
file_cpp
IBTWS.cpp
IBSymbol.cpp
)
add_library(
${PROJECT_NAME}
${file_h}
${file_cpp}
)
target_compile_definitions(${PROJECT_NAME} PUBLIC BOOST_LOG_DYN_LINK )
# need to figure out how to make this work
#add_compile_options(`/usr/local/bin/wx-config --cxxflags`)
# used in EventIBInstrument.cpp - redo this somehow?
target_compile_definitions(${PROJECT_NAME} PRIVATE -D_FILE_OFFSET_BITS=64 )
target_compile_definitions(${PROJECT_NAME} PRIVATE -DWXUSINGDLL )
target_compile_definitions(${PROJECT_NAME} PRIVATE -D__WXGTK__ )
target_include_directories(
${PROJECT_NAME} PRIVATE
".."
)
target_link_libraries(
${PROJECT_NAME} PRIVATE
ib_client
bidgcc000
)