forked from stepcode/stepcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
48 lines (40 loc) · 857 Bytes
/
CMakeLists.txt
File metadata and controls
48 lines (40 loc) · 857 Bytes
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
set(LIBSTEPUTILS_SRCS
Str.cc
dirobj.cc
gennode.cc
gennodelist.cc
gennodearray.cc
scl_hash.cc
errordesc.cc
scl_char_str_list.cc
)
SET(LIBSTEPUTILS_PRIVATE_HDRS
dirobj.h
errordesc.h
gennodearray.h
gennode.h
gennodelist.h
scl_char_str_list.h
scldir.h
scl_hash.h
stat.h
Str.h
str_list.h
)
include_directories(
${SCL_BINARY_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}
)
if (MSVC OR BORLAND)
add_definitions( -DSCL_UTILS_DLL_EXPORTS )
endif()
SCL_ADDLIB(steputils "${LIBSTEPUTILS_SRCS}" "")
IF(MINGW)
TARGET_LINK_LIBRARIES(steputils shlwapi.lib)
ENDIF(MINGW)
IF(MSVC OR BORLAND)
TARGET_LINK_LIBRARIES(steputils shlwapi.lib)
ENDIF()
if(APPLE)
set_target_properties(steputils PROPERTIES LINK_FLAGS "-flat_namespace -undefined suppress")
endif(APPLE)