Mercurial > projects > ldc
comparison runtime/CMakeLists.txt @ 1201:14a30bada44f
Remove unnecessary GCC_EXE CMake flag. Closes #208, thanks impulze.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Apr 2009 13:50:18 +0200 |
parents | ee8db0b7bb62 |
children | 7a693c367190 |
comparison
equal
deleted
inserted
replaced
1200:3171f67ad006 | 1201:14a30bada44f |
---|---|
1 project(runtime) | 1 project(runtime) |
2 | 2 |
3 cmake_minimum_required(VERSION 2.6) | 3 cmake_minimum_required(VERSION 2.6) |
4 | |
5 find_program(GCC_EXE gcc DOC "path to gcc binary") | |
6 if(NOT GCC_EXE) | |
7 message(STATUS "gcc needs to be on your path to build the runtime") | |
8 endif(NOT GCC_EXE) | |
9 | 4 |
10 option(BUILD_SHARED_LIBS "build the runtime as shared libraries (linux only)") | 5 option(BUILD_SHARED_LIBS "build the runtime as shared libraries (linux only)") |
11 option(BUILD_BC_LIBS "build the runtime as bytecode libraries") | 6 option(BUILD_BC_LIBS "build the runtime as bytecode libraries") |
12 option(BUILD_SINGLE_LIB "build single runtime library" ON) | 7 option(BUILD_SINGLE_LIB "build single runtime library" ON) |
13 set(D_FLAGS -g -w -d CACHE STRING "runtime build flags, separated by ;") | 8 set(D_FLAGS -g -w -d CACHE STRING "runtime build flags, separated by ;") |