Merge pull request #2500 from spvkgn/cmake
[far2l.git] / FARStdlib / CMakeLists.txt
blobd689a0a07db324f6f1d99d7b84ec4060b33a831f
2 project(FARStdlib)
4 find_package(PkgConfig REQUIRED)
6 set(SOURCES
7 src/fstd_scr.cpp
8 src/fstd_stdlibCS.cpp
9 src/fstd_asrt.cpp
10 src/fstd_Patt.cpp
11 src/fstd_OEM.cpp
12 src/fstd_SText.cpp
13 src/fstd_exSCHC.cpp
14 src/fstd_Reg.cpp
15 src/fstd_plg.cpp
16 src/fstd_Con.cpp
17 src/fstd_exSCPY.cpp
18 src/fstd_menu.cpp
19 src/fstd_exSCAT.cpp
20 src/fstd_log.cpp
21 src/fstd_mklog.cpp
22 src/fstd_String.cpp
23 src/fstd_err.cpp
24 src/fstd_mesg.cpp
25 src/fstd_SCol.cpp
26 src/fstd_Msg.cpp
27 src/fstd_exSCMP.cpp
28 src/fstd_exSPCH.cpp
29 src/fstd_crc32.cpp
30 src/fstd_exit.cpp
31 src/fstd_exSNCH.cpp
32 src/fstd_Dialog.cpp
33 src/fstd_per.cpp
34 src/fstd_Utils.cpp
35 src/fstd_ilist.cpp
36 src/fstd_Arg.cpp
37 src/fstd_FMsg.cpp
38 src/fstd_exSPS.cpp
39 src/fstd_FUtils.cpp
40 src/fstd_ClpS.cpp
43 add_library (FARStdlib ${SOURCES})
45 target_include_directories(FARStdlib PRIVATE include)
46 target_include_directories(FARStdlib PRIVATE ../WinPort)
47 target_include_directories(FARStdlib PRIVATE ../far2l/far2sdk)