forked from Discriminator/PDW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
72 lines (63 loc) · 1.18 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# CMakeLists.txt
#
# Base build script for building with cmake (http://www.cmake.org)
cmake_minimum_required( VERSION 2.8 )
project( PDW )
# Project version number
set( PDW_VERSION_MAJOR 3 )
set( PDW_VERSION_MINOR 1 )
set( PDW_VERSION_MICRO 0 )
# Set base variables
set( PDW_GFXS )
set( PDW_INCLUDES )
set( PWD_SRCS )
# Subdirectories to go to
add_subdirectory( GFX )
add_subdirectory( Headers )
add_subdirectory( utils )
include_directories( openssl-0.9.8l/inc32 )
link_directories( ${CMAKE_CURRENT_SOURCE_DIR}/openssl-0.9.8l/out32 )
# Microsoft Visual Studio Specific definitions
if( MSVC )
add_definitions( "-D_CRT_SECURE_NO_WARNINGS" )
endif( MSVC )
# Include Files
set( PDW_INCLUDES
${PDW_INCLUDES}
resrc1.h
)
# Source Files
set( PDW_SRCS
${PDW_SRCS}
Flex.cpp
Gfx.cpp
Initapp.cpp
Misc.cpp
Rsrc.rc
PDW.cpp
Pocsag.cpp
acars.cpp
decode.cpp
ermes.cpp
helper_funcs.cpp
language.cpp
menu.cpp
mobitex.cpp
toolbar.cpp
printer.cpp
sigind.cpp
sound_in.cpp
)
# Create executable
add_executable( PDW WIN32
${PDW_INCLUDES}
${PDW_SRCS}
)
# Required libraries
target_link_libraries( PDW
Comctl32.lib
Winmm.lib
Ws2_32.lib
libeay32.lib
ssleay32.lib
)