Changeset 2526 for code/branches/buildsystem2
- Timestamp:
- Dec 22, 2008, 9:09:18 PM (16 years ago)
- Location:
- code/branches/buildsystem2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/CMakeLists.txt
r2521 r2526 32 32 ENDIF(NOT CMAKE_BUILD_TYPE) 33 33 #SET(CMAKE_C_FLAGS "$ENV{CFLAGS} -Wall -Wextra -Wno-unused-parameter") 34 SET(CMAKE_C_FLAGS "$ENV{CFLAGS} -Wall ")34 SET(CMAKE_C_FLAGS "$ENV{CFLAGS} -Wall ${ORXONOX_FPIC_FLAG}") 35 35 #SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -Wall -Wextra -Wno-unused-parameter") 36 SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -Wall ")36 SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -Wall ${ORXONOX_FPIC_FLAG}") 37 37 SET(CMAKE_C_FLAGS_DEBUG "-g -ggdb") 38 38 SET(CMAKE_CXX_FLAGS_DEBUG "-g -ggdb") -
code/branches/buildsystem2/cmake/CheckOrxonoxWinDeps.cmake
r2510 r2526 51 51 SET(ENV{DXSDK_DIR} "${MINGW_LIBRARY_DIR}/DXSDK") 52 52 ENDIF (NOT ENV{DXSDK_DIR}) 53 54 # MINGW doesn't like the -fPIC flag very much 55 SET(ORXONOX_FPIC_FLAG "") 56 ELSE (MINGW) 57 SET(ORXONOX_FPIC_FLAG "-fPIC") 53 58 ENDIF (MINGW) 54 59
Note: See TracChangeset
for help on using the changeset viewer.