Browse Source

+ fix cmake file

master
Alex 'AdUser' Z 9 years ago
parent
commit
281ab2f68b
  1. 19
      CMakeLists.txt

19
CMakeLists.txt

@ -1,11 +1,14 @@
SET(CNAME "f2b") set(CNAME "f2b")
SET(VERSION 0.07) set(VERSION 0.07)
PROJECT(${CNAME} C) project(${CNAME} C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) cmake_minimum_required(VERSION 2.6)
SET(CMAKE_INSTALL_PREFIX "/usr/local") set(CMAKE_INSTALL_PREFIX "/usr/local")
ADD_SUBDIRECTORY (src) include(CTest)
ADD_SUBDIRECTORY (t)
SET_PROPERTY(DIRECTORY "t" PROPERTY COMPILE_FLAGS "-g;-ggdb;-Wall;-Wextra;-pedantic;-O0") add_subdirectory(src)
add_subdirectory(t)
set_property(DIRECTORY "t" PROPERTY COMPILE_FLAGS "-g;-ggdb;-Wall;-Wextra;-pedantic;-O0")

Loading…
Cancel
Save