mirror of
https://github.com/st3fan/ewm.git
synced 2024-06-12 06:29:32 +00:00
Fixes #174 - Support CMake (Debug vs Release)
This commit is contained in:
parent
95dcce4bba
commit
cb783a3957
|
@ -1,8 +1,11 @@
|
||||||
cmake_minimum_required(VERSION 3.7)
|
cmake_minimum_required(VERSION 3.7)
|
||||||
project(EWM)
|
project(EWM)
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS "-O3 -flto")
|
set(CMAKE_C_FLAGS_RELEASE "-O3 -flto")
|
||||||
set(LINKER_FLAGS "-flto")
|
set(CMAKE_C_FLAGS_DEBUG "-g")
|
||||||
|
|
||||||
|
set(CMAKE_LINKER_FLAGS_RELEASE "-flto")
|
||||||
|
set(CMAKE_LINKER_FLAGS_DEBUG "-g")
|
||||||
|
|
||||||
include_directories(AFTER SYSTEM /usr/local/include)
|
include_directories(AFTER SYSTEM /usr/local/include)
|
||||||
link_directories(/usr/local/lib)
|
link_directories(/usr/local/lib)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user