Browse Source

Write generated source files to the binary directory instead of the source

Signed-off-by: aneejit1 <aneejit1@gmail.com>
pull/13/head
aneejit1 5 months ago
parent
commit
25ac4bb89d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      kbruch/CMakeLists.txt
  2. +1
    -1
      kig/CMakeLists.txt

+ 1
- 1
kbruch/CMakeLists.txt View File

@@ -3,6 +3,6 @@ add_subdirectory( testcases )


file( STRINGS "VERSION" _KBRUCH_VERSION )
file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/src/version.h
file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/src/version.h
"#undef KBRUCH_VERSION\n#define KBRUCH_VERSION \"${_KBRUCH_VERSION}\""
)

+ 1
- 1
kig/CMakeLists.txt View File

@@ -28,7 +28,7 @@ link_directories(

##### libkigpart (kpart)

file( WRITE dummy.cpp "" )
file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "" )

tde_add_kpart( libkigpart AUTOMOC



Loading…
Cancel
Save