Added list of files in CMakeLists_files.cmake

Do not use precompiled headers for ReservoirDataModel files
p4#: 20506
This commit is contained in:
Magne Sjaastad
2013-02-13 14:50:37 +01:00
parent 33a6157906
commit b8e663da03
14 changed files with 96 additions and 28 deletions

View File

@@ -24,7 +24,9 @@ include_directories(
${ResInsight_SOURCE_DIR}/CommonCode
)
file( GLOB CPP_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../*.cpp )
# Populate the filenames into variable lists
include ("${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists_files.cmake")
set( UNIT_TEST_CPP_SOURCES
main.cpp
@@ -36,7 +38,6 @@ set( UNIT_TEST_CPP_SOURCES
#############################################################################
# Adds folders for Visual Studio solution explorer (and for Xcode explorer)
#############################################################################
source_group( "ResInsight" FILES ${CPP_SOURCES} )
source_group( "UnitTests" FILES ${UNIT_TEST_CPP_SOURCES} )
@@ -58,8 +59,9 @@ set( LINK_LIBRARIES
add_executable( ${ProjectName}
${CPP_SOURCES}
${CODE_SOURCE_FILES}
${UNIT_TEST_CPP_SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists_files.cmake
${ResInsight_SOURCE_DIR}/ThirdParty/gtest/gtest-all.cc
)