cmake-d/cmaked/CMakeLists.txt
Volfram ef051c12d0 Finally started working on project.
1) Removed "-version=Posix" (auto added by compiler now)
2) Added CMAKE_SOURCE_DIR to dmd import paths
3) Added flag "-version=Phobos/Tango" for dmd (no auto-adding)
2010-03-24 21:00:17 +00:00

33 lines
884 B
CMake

#
# CMakeD - CMake module for D Language
#
# Copyright (c) 2007, Selman Ulug <selman.ulug@gmail.com>
# Tim Burrell <tim.burrell@gmail.com>
#
# All rights reserved.
#
# See Copyright.txt for details.
#
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT (cmaked NONE)
# note do not install FindGTK2.cmake. it is not required to install it
# to build the samples, and can break apps that use other FindGTK2 modules.
SET (MOD_SRCS
CMakeDCompiler.cmake.in
CMakeDInformation.cmake
CMakeTestDCompiler.cmake
CMakeDetermineDCompiler.cmake
FindGDCPath.cmake
UseDDoc.cmake
)
SET (PLAT_SRCS
Platform/Linux-dmd.cmake
Platform/Linux-gdc.cmake
Platform/Windows-dmd.cmake
Platform/Windows-gdc.cmake
)
INSTALL (FILES ${MOD_SRCS} DESTINATION ${CMAKE_ROOT}/Modules)
INSTALL (FILES ${PLAT_SRCS} DESTINATION ${CMAKE_ROOT}/Modules/Platform)