equal
deleted
inserted
replaced
42 set(HAVE_NETSERVER true) |
42 set(HAVE_NETSERVER true) |
43 add_subdirectory(gameServer) |
43 add_subdirectory(gameServer) |
44 else(WITH_SERVER) |
44 else(WITH_SERVER) |
45 set(HAVE_NETSERVER false) |
45 set(HAVE_NETSERVER false) |
46 endif(WITH_SERVER) |
46 endif(WITH_SERVER) |
|
47 |
|
48 #set default flags values for all the project |
|
49 set(CMAKE_C_FLAGS "-Wall -pipe") |
|
50 set(CMAKE_C_FLAGS_RELEASE "-w -O2 -fomit-frame-pointer") |
|
51 set(CMAKE_C_FLAGS_DEBUG "-O0 -g") |
|
52 set(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS}) |
|
53 set(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE}) |
|
54 set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) |
|
55 |
47 |
56 |
48 add_subdirectory(bin) |
57 add_subdirectory(bin) |
49 add_subdirectory(openalbridge) |
58 add_subdirectory(openalbridge) |
50 add_subdirectory(QTfrontend) |
59 add_subdirectory(QTfrontend) |
51 add_subdirectory(hedgewars) |
60 add_subdirectory(hedgewars) |