diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-08-09 23:46:34 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-08-15 12:02:29 -0500 |
commit | a513ee42025af8bba22e6efb3e2fe268076fbd28 (patch) | |
tree | e1e14c5d39d65754f3047ab664e68cdeb04a30ff /cmake/Modules | |
parent | 0198bf929702b756214b5f509ffe677ca58bf650 (diff) | |
download | pki-a513ee42025af8bba22e6efb3e2fe268076fbd28.tar.gz pki-a513ee42025af8bba22e6efb3e2fe268076fbd28.tar.xz pki-a513ee42025af8bba22e6efb3e2fe268076fbd28.zip |
Updated test build scripts.
The build scripts for test, util test, and common test
components have been updated to automatically find the
source codes and not create unnecessary test jar files.
Ticket #62
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/Java.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Modules/Java.cmake b/cmake/Modules/Java.cmake index bd2855baf..78f14a22a 100644 --- a/cmake/Modules/Java.cmake +++ b/cmake/Modules/Java.cmake @@ -67,6 +67,8 @@ function(javac target) add_custom_target(${target} ALL DEPENDS ${depends}) + file(MAKE_DIRECTORY ${output_dir}) + add_custom_command( TARGET ${target} COMMAND ${CMAKE_COMMAND} @@ -77,6 +79,7 @@ function(javac target) -P ${CMAKE_MODULE_PATH}/JavaFileList.cmake COMMAND ${CMAKE_Java_COMPILER} ${CMAKE_JAVA_COMPILE_FLAGS} + -encoding UTF-8 -cp ${native_classpath} -d ${output_dir} @${file_list} |