-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
38 lines (30 loc) · 1.37 KB
/
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
cmake_minimum_required( VERSION 3.21 )
project( fffb VERSION 0.0.3 )
set( CMAKE_CXX_STANDARD 23 )
set( CMAKE_CXX_STANDARD_REQUIRED True )
set( CMAKE_OSX_ARCHITECTURES "x86_64" )
add_compile_options( -Wall -Wextra -pedantic -Werror -fno-exceptions -fno-rtti -O3 -DUTI_RELEASE )
add_library( fffb SHARED plugin.cpp )
target_include_directories( fffb PUBLIC
include
include/uti
include/flt
include/scs/include
include/scs/include/common
include/scs/include/amtrucks
include/scs/include/eurotrucks2
)
target_link_libraries( fffb "-framework CoreFoundation" )
target_link_libraries( fffb "-framework IOKit" )
add_executable( flt flt.cpp )
target_include_directories( flt PUBLIC
include
include/uti
include/flt
include/scs/include
include/scs/include/common
include/scs/include/amtrucks
include/scs/include/eurotrucks2
)
target_link_libraries( flt "-framework CoreFoundation" )
target_link_libraries( flt "-framework IOKit" )