projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix cleaning up interface state for reload
[project/netifd.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
adb2c07
..
74cb080
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-11,10
+11,12
@@
IF(APPLE)
ENDIF()
SET(SOURCES
ENDIF()
SET(SOURCES
- main.c utils.c
+ main.c utils.c
system.c tunnel.c
interface.c interface-ip.c interface-event.c
proto.c proto-static.c proto-shell.c
interface.c interface-ip.c interface-event.c
proto.c proto-static.c proto-shell.c
- config.c device.c bridge.c vlan.c ubus.c)
+ config.c device.c bridge.c vlan.c alias.c
+ ubus.c)
+
SET(LIBS
ubox ubus uci json blobmsg_json)
SET(LIBS
ubox ubus uci json blobmsg_json)
@@
-33,6
+35,9
@@
ENDIF()
IF(DEBUG)
ADD_DEFINITIONS(-DDEBUG -g3)
IF(DEBUG)
ADD_DEFINITIONS(-DDEBUG -g3)
+ IF(NO_OPTIMIZE)
+ ADD_DEFINITIONS(-O0)
+ ENDIF()
ENDIF()
ENDIF()